Class ApplicationsGrpc.ApplicationsBlockingStub (2.21.0)

public static final class ApplicationsGrpc.ApplicationsBlockingStub extends AbstractBlockingStub<ApplicationsGrpc.ApplicationsBlockingStub>

A stub to allow clients to do synchronous rpc calls to service Applications.

Manages App Engine applications.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > ApplicationsGrpc.ApplicationsBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

protected ApplicationsGrpc.ApplicationsBlockingStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
ApplicationsGrpc.ApplicationsBlockingStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createApplication(CreateApplicationRequest request)

public Operation createApplication(CreateApplicationRequest request)

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

Parameter
NameDescription
requestCreateApplicationRequest
Returns
TypeDescription
Operation

getApplication(GetApplicationRequest request)

public Application getApplication(GetApplicationRequest request)

Gets information about an application.

Parameter
NameDescription
requestGetApplicationRequest
Returns
TypeDescription
Application

repairApplication(RepairApplicationRequest request)

public Operation repairApplication(RepairApplicationRequest request)

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.

Parameter
NameDescription
requestRepairApplicationRequest
Returns
TypeDescription
Operation

updateApplication(UpdateApplicationRequest request)

public Operation updateApplication(UpdateApplicationRequest request)

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.
Parameter
NameDescription
requestUpdateApplicationRequest
Returns
TypeDescription
Operation