App Engine v1 API - Class ApplicationsClientImpl (2.1.0)

public sealed class ApplicationsClientImpl : ApplicationsClient

Reference documentation and code samples for the App Engine v1 API class ApplicationsClientImpl.

Applications client wrapper implementation, for convenient use.

Inheritance

Object > ApplicationsClient > ApplicationsClientImpl

Namespace

Google.Cloud.AppEngine.V1

Assembly

Google.Cloud.AppEngine.V1.dll

Remarks

Manages App Engine applications.

Constructors

ApplicationsClientImpl(Applications.ApplicationsClient, ApplicationsSettings, ILogger)

public ApplicationsClientImpl(Applications.ApplicationsClient grpcClient, ApplicationsSettings settings, ILogger logger)

Constructs a client wrapper for the Applications service, with the specified gRPC client and settings.

Parameters
NameDescription
grpcClientApplications.ApplicationsClient

The underlying gRPC client.

settingsApplicationsSettings

The base ApplicationsSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

CreateApplicationOperationsClient

public override OperationsClient CreateApplicationOperationsClient { get; }

The long-running operations client for CreateApplication.

Property Value
TypeDescription
OperationsClient
Overrides

GrpcClient

public override Applications.ApplicationsClient GrpcClient { get; }

The underlying gRPC Applications client

Property Value
TypeDescription
Applications.ApplicationsClient
Overrides

RepairApplicationOperationsClient

public override OperationsClient RepairApplicationOperationsClient { get; }

The long-running operations client for RepairApplication.

Property Value
TypeDescription
OperationsClient
Overrides

UpdateApplicationOperationsClient

public override OperationsClient UpdateApplicationOperationsClient { get; }

The long-running operations client for UpdateApplication.

Property Value
TypeDescription
OperationsClient
Overrides

Methods

CreateApplication(CreateApplicationRequest, CallSettings)

public override Operation<Application, OperationMetadataV1> CreateApplication(CreateApplicationRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Application, OperationMetadataV1>

The RPC response.

Overrides

CreateApplicationAsync(CreateApplicationRequest, CallSettings)

public override async Task<Operation<Application, OperationMetadataV1>> CreateApplicationAsync(CreateApplicationRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Application, OperationMetadataV1>>

A Task containing the RPC response.

Overrides

GetApplication(GetApplicationRequest, CallSettings)

public override Application GetApplication(GetApplicationRequest request, CallSettings callSettings = null)

Gets information about an application.

Parameters
NameDescription
requestGetApplicationRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Application

The RPC response.

Overrides

GetApplicationAsync(GetApplicationRequest, CallSettings)

public override Task<Application> GetApplicationAsync(GetApplicationRequest request, CallSettings callSettings = null)

Gets information about an application.

Parameters
NameDescription
requestGetApplicationRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Application>

A Task containing the RPC response.

Overrides

RepairApplication(RepairApplicationRequest, CallSettings)

public override Operation<Application, OperationMetadataV1> RepairApplication(RepairApplicationRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Application, OperationMetadataV1>

The RPC response.

Overrides

RepairApplicationAsync(RepairApplicationRequest, CallSettings)

public override async Task<Operation<Application, OperationMetadataV1>> RepairApplicationAsync(RepairApplicationRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Application, OperationMetadataV1>>

A Task containing the RPC response.

Overrides

UpdateApplication(UpdateApplicationRequest, CallSettings)

public override Operation<Application, OperationMetadataV1> UpdateApplication(UpdateApplicationRequest request, CallSettings callSettings = null)

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.
  • iap - Identity-Aware Proxy properties for the application.
Parameters
NameDescription
requestUpdateApplicationRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Operation<Application, OperationMetadataV1>

The RPC response.

Overrides

UpdateApplicationAsync(UpdateApplicationRequest, CallSettings)

public override async Task<Operation<Application, OperationMetadataV1>> UpdateApplicationAsync(UpdateApplicationRequest request, CallSettings callSettings = null)

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.
  • iap - Identity-Aware Proxy properties for the application.
Parameters
NameDescription
requestUpdateApplicationRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Operation<Application, OperationMetadataV1>>

A Task containing the RPC response.

Overrides