public class ApplicationsClient : ClientBase<Applications.ApplicationsClient>
Client for Applications
Inheritance
Object > ClientBase > ClientBase<Applications.ApplicationsClient> > Applications.ApplicationsClientNamespace
Google.Cloud.AppEngine.V1Assembly
Google.Cloud.AppEngine.V1.dll
Constructors
ApplicationsClient()
protected ApplicationsClient()
Protected parameterless constructor to allow creation of test doubles.
ApplicationsClient(CallInvoker)
public ApplicationsClient(CallInvoker callInvoker)
Creates a new client for Applications that uses a custom CallInvoker
.
Parameter | |
---|---|
Name | Description |
callInvoker | CallInvoker The callInvoker to use to make remote calls. |
ApplicationsClient(ChannelBase)
public ApplicationsClient(ChannelBase channel)
Creates a new client for Applications
Parameter | |
---|---|
Name | Description |
channel | ChannelBase The channel to use to make remote calls. |
ApplicationsClient(ClientBase.ClientBaseConfiguration)
protected ApplicationsClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration The client configuration. |
Methods
CreateApplication(CreateApplicationRequest, CallOptions)
public virtual Operation CreateApplication(CreateApplicationRequest request, CallOptions options)
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 | |
---|---|
Name | Description |
request | CreateApplicationRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
CreateApplication(CreateApplicationRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation CreateApplication(CreateApplicationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | |
---|---|
Name | Description |
request | CreateApplicationRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
CreateApplicationAsync(CreateApplicationRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> CreateApplicationAsync(CreateApplicationRequest request, CallOptions options)
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 | |
---|---|
Name | Description |
request | CreateApplicationRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
CreateApplicationAsync(CreateApplicationRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> CreateApplicationAsync(CreateApplicationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | |
---|---|
Name | Description |
request | CreateApplicationRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
CreateOperationsClient()
public virtual Operations.OperationsClient CreateOperationsClient()
Creates a new instance of Operations.OperationsClient using the same call invoker as this client.
Returns | |
---|---|
Type | Description |
Operations.OperationsClient | A new Operations client for the same target as this client. |
GetApplication(GetApplicationRequest, CallOptions)
public virtual Application GetApplication(GetApplicationRequest request, CallOptions options)
Gets information about an application.
Parameters | |
---|---|
Name | Description |
request | GetApplicationRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Application | The response received from the server. |
GetApplication(GetApplicationRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Application GetApplication(GetApplicationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Gets information about an application.
Parameters | |
---|---|
Name | Description |
request | GetApplicationRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Application | The response received from the server. |
GetApplicationAsync(GetApplicationRequest, CallOptions)
public virtual AsyncUnaryCall<Application> GetApplicationAsync(GetApplicationRequest request, CallOptions options)
Gets information about an application.
Parameters | |
---|---|
Name | Description |
request | GetApplicationRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Application> | The call object. |
GetApplicationAsync(GetApplicationRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Application> GetApplicationAsync(GetApplicationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Gets information about an application.
Parameters | |
---|---|
Name | Description |
request | GetApplicationRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Application> | The call object. |
NewInstance(ClientBase.ClientBaseConfiguration)
protected override Applications.ApplicationsClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
Applications.ApplicationsClient |
RepairApplication(RepairApplicationRequest, CallOptions)
public virtual Operation RepairApplication(RepairApplicationRequest request, CallOptions options)
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 | |
---|---|
Name | Description |
request | RepairApplicationRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
RepairApplication(RepairApplicationRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation RepairApplication(RepairApplicationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | |
---|---|
Name | Description |
request | RepairApplicationRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
RepairApplicationAsync(RepairApplicationRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> RepairApplicationAsync(RepairApplicationRequest request, CallOptions options)
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 | |
---|---|
Name | Description |
request | RepairApplicationRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
RepairApplicationAsync(RepairApplicationRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> RepairApplicationAsync(RepairApplicationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | |
---|---|
Name | Description |
request | RepairApplicationRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
UpdateApplication(UpdateApplicationRequest, CallOptions)
public virtual Operation UpdateApplication(UpdateApplicationRequest request, CallOptions options)
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 | |
---|---|
Name | Description |
request | UpdateApplicationRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
UpdateApplication(UpdateApplicationRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation UpdateApplication(UpdateApplicationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | |
---|---|
Name | Description |
request | UpdateApplicationRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
UpdateApplicationAsync(UpdateApplicationRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> UpdateApplicationAsync(UpdateApplicationRequest request, CallOptions options)
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 | |
---|---|
Name | Description |
request | UpdateApplicationRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
UpdateApplicationAsync(UpdateApplicationRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> UpdateApplicationAsync(UpdateApplicationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 | |
---|---|
Name | Description |
request | UpdateApplicationRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |