projects

PATCH /v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}

Changed on

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.

Request

Path parameters

projectsIdstring required

Part of name. Required. Name of the Application resource to update. Example: apps/myapp.

locationsIdstring required

Part of name. See documentation of projectsId.

applicationsIdstring required

Part of name. See documentation of projectsId.

Query parameters

updateMaskstring google-fieldmask

Required. Standard field mask for the set of fields to be updated.

Request body

authDomainstring

Google Apps authentication domain that controls which users can access this application.Defaults to open access for any Google Account.

codeBucketstring

Output only. Google Cloud Storage bucket that can be used for storing files associated with this application. This bucket is associated with the application and can be used by the gcloud deployment commands.@OutputOnly

databaseType'DATABASE_TYPE_UNSPECIFIED' | 'CLOUD_DATASTORE' | 'CLOUD_FIRESTORE' | 'CLOUD_DATASTORE_COMPATIBILITY'

The type of the Cloud Firestore or Cloud Datastore database associated with this application.

defaultBucketstring

Output only. Google Cloud Storage bucket that can be used by this application to store content.@OutputOnly

defaultCookieExpirationstring google-duration

Cookie expiration policy for this application.

defaultHostnamestring

Output only. Hostname used to reach this application, as resolved by App Engine.@OutputOnly

gcrDomainstring

Output only. The Google Container Registry domain used for storing managed build docker images for this application.

generatedCustomerMetadataobject

Additional Google Generated Customer Metadata, this field won't be provided by default and can be requested by setting the IncludeExtraData field in GetApplicationRequest

idstring

Identifier of the Application resource. This identifier is equivalent to the project ID of the Google Cloud Platform project where you want to deploy your application. Example: myapp.

locationIdstring

Location from which this application runs. Application instances run out of the data centers in the specified location, which is also where all of the application's end user content is stored.Defaults to us-central.View the list of supported locations (https://cloud.google.com/appengine/docs/locations).

namestring
serviceAccountstring

The service account associated with the application. This is the app-level default identity. If no identity provided during create version, Admin API will fallback to this one.

servingStatus'UNSPECIFIED' | 'SERVING' | 'USER_DISABLED' | 'SYSTEM_DISABLED'

Serving status of this application.

sslPolicy'SSL_POLICY_UNSPECIFIED' | 'DEFAULT' | 'MODERN'

The SSL policy that will be applied to the application. If set to Modern it will restrict traffic with TLS < 1.2 and allow only Modern Ciphers suite

Response

Successful response

doneboolean

If the value is false, it means the operation is still in progress. If true, the operation is completed, and either error or response is available.

metadataobject

Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.

namestring

The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the name should be a resource name ending with operations/{unique_id}.

responseobject

The normal, successful response of the operation. If the original method returns no data on success, such as Delete, the response is google.protobuf.Empty. If the original method is standard Get/Create/Update, the response should be the resource. For other methods, the response should have the type XxxResponse, where Xxx is the original method name. For example, if the original method name is TakeSnapshot(), the inferred response type is TakeSnapshotResponse.

Changes

    • breaking

      removed the request body

    • breaking

      removed the media type */* for the response with the status