---
title: "PATCH /v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}"
method: PATCH
path: "/v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}"
tags: ["projects"]
---

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

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

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.

## Path parameters

- `projectsId` string, required
- `locationsId` string, required
- `applicationsId` string, required

## Query parameters

- `updateMask` string

## Request body

- Application — An Application resource contains the top-level configuration of an App Engine application.
  - `name` string
  - `gcrDomain` string — Output only. The Google Container Registry domain used for storing managed build docker images for this application.
  - `codeBucket` string — 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
  - `defaultCookieExpiration` string, google-duration — Cookie expiration policy for this application.
  - `servingStatus` 'UNSPECIFIED' | 'SERVING' | 'USER_DISABLED' | 'SYSTEM_DISABLED' — Serving status of this application.
  - `id` string — 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.
  - `locationId` string — 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).
  - `featureSettings` FeatureSettings — The feature specific settings to be used in the application. These define behaviors that are user configurable.
    - `splitHealthChecks` boolean — Boolean value indicating if split health checks should be used instead of the legacy health checks. At an app.yaml level, this means defaulting to 'readiness_check' and 'liveness_check' values instead of 'health_check' ones. Once the legacy 'health_check' behavior is deprecated, and this value is always true, this setting can be removed.
    - `useContainerOptimizedOs` boolean — If true, use Container-Optimized OS (https://cloud.google.com/container-optimized-os/) base image for VMs, rather than a base Debian image.
  - `generatedCustomerMetadata` object — Additional Google Generated Customer Metadata, this field won't be provided by default and can be requested by setting the IncludeExtraData field in GetApplicationRequest
  - `dispatchRules` UrlDispatchRule[] — HTTP path dispatch rules for requests to the application that do not explicitly target a service or version. Rules are order-dependent. Up to 20 dispatch rules can be supported.
    - `domain` string — Domain name to match against. The wildcard "*" is supported if specified before a period: "*.".Defaults to matching all domains: "*".
    - `path` string — Pathname within the host. Must start with a "/". A single "*" can be included at the end of the path.The sum of the lengths of the domain and path may not exceed 100 characters.
    - `service` string — Resource ID of a service in this application that should serve the matched request. The service must already exist. Example: default.
  - `serviceAccount` string — 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.
  - `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
  - `authDomain` string — Google Apps authentication domain that controls which users can access this application.Defaults to open access for any Google Account.
  - `defaultBucket` string — Output only. Google Cloud Storage bucket that can be used by this application to store content.@OutputOnly
  - `iap` IdentityAwareProxy — Identity-Aware Proxy
    - `oauth2ClientId` string — OAuth2 client ID to use for the authentication flow.
    - `enabled` boolean — Whether the serving infrastructure will authenticate and authorize all incoming requests.If true, the oauth2_client_id and oauth2_client_secret fields must be non-empty.
    - `oauth2ClientSecret` string — OAuth2 client secret to use for the authentication flow.For security reasons, this value cannot be retrieved via the API. Instead, the SHA-256 hash of the value is returned in the oauth2_client_secret_sha256 field.@InputOnly
    - `oauth2ClientSecretSha256` string — Output only. Hex-encoded SHA-256 hash of the client secret.@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.
  - `defaultHostname` string — Output only. Hostname used to reach this application, as resolved by App Engine.@OutputOnly

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/appengine.md) · [All operations](https://skmtc.net/google/apis/appengine/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/appengine/versions/ee6b3d5f5200/schema)
