Class Applications.ApplicationsBase (1.3.0)

[BindServiceMethod(typeof(Applications), "BindService")]
public abstract class ApplicationsBase

Base class for server-side implementations of Applications

Inheritance

Object > Applications.ApplicationsBase

Namespace

Google.Cloud.AppEngine.V1

Assembly

Google.Cloud.AppEngine.V1.dll

Methods

CreateApplication(CreateApplicationRequest, ServerCallContext)

public virtual Task<Operation> CreateApplication(CreateApplicationRequest request, ServerCallContext context)

Creates an App Engine application for a Google Cloud Platform project. Required fields:

  • id - The ID of the target Cloud Platform project.
  • location - The region where you want the App Engine application located.

For more information about App Engine applications, see Managing Projects, Applications, and Billing.

Parameters
NameDescription
requestCreateApplicationRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

GetApplication(GetApplicationRequest, ServerCallContext)

public virtual Task<Application> GetApplication(GetApplicationRequest request, ServerCallContext context)

Gets information about an application.

Parameters
NameDescription
requestGetApplicationRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Application>

The response to send back to the client (wrapped by a task).

RepairApplication(RepairApplicationRequest, ServerCallContext)

public virtual Task<Operation> RepairApplication(RepairApplicationRequest request, ServerCallContext context)

Recreates the required App Engine features for the specified App Engine application, for example a Cloud Storage bucket or App Engine service account. Use this method if you receive an error message about a missing feature, for example, Error retrieving the App Engine service account. If you have deleted your App Engine service account, this will not be able to recreate it. Instead, you should attempt to use the IAM undelete API if possible at https://cloud.google.com/iam/reference/rest/v1/projects.serviceAccounts/undelete?apix_params=%7B"name"%3A"projects%2F-%2FserviceAccounts%2Funique_id"%2C"resource"%3A%7B%7D%7D . If the deletion was recent, the numeric ID can be found in the Cloud Console Activity Log.

Parameters
NameDescription
requestRepairApplicationRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).

UpdateApplication(UpdateApplicationRequest, ServerCallContext)

public virtual Task<Operation> UpdateApplication(UpdateApplicationRequest request, ServerCallContext context)

Updates the specified Application resource. You can update the following fields:

  • auth_domain - Google authentication domain for controlling user access to the application.
  • default_cookie_expiration - Cookie expiration policy for the application.
Parameters
NameDescription
requestUpdateApplicationRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Operation>

The response to send back to the client (wrapped by a task).