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

# PATCH /v1/projects/{projectsId}/locations/{locationsId}/saas/{saasId}

`PATCH /v1/projects/{projectsId}/locations/{locationsId}/saas/{saasId}`

## Request

- Base URL: `https://saasservicemgmt.googleapis.com`
- URL: `https://saasservicemgmt.googleapis.com/v1/projects/{projectsId}/locations/{locationsId}/saas/{saasId}`
- Auth: one of:
  - OAuth 2 and OAuth 2
    - Implicit: `https://accounts.google.com/o/oauth2/auth`
    - Scopes: `https://www.googleapis.com/auth/cloud-platform`
    - Authorization code: `https://accounts.google.com/o/oauth2/auth`
    - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/cloud-platform`
  - OAuth 2 and OAuth 2
    - Implicit: `https://accounts.google.com/o/oauth2/auth`
    - Scopes: `https://www.googleapis.com/auth/saasservicemgmt.read-write`
    - Authorization code: `https://accounts.google.com/o/oauth2/auth`
    - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/saasservicemgmt.read-write`

Update a single saas.

## Path parameters

- `projectsId` string, required
- `locationsId` string, required
- `saasId` string, required

## Query parameters

- `$.xgafv` '1' | '2'
- `access_token` string
- `alt` 'json' | 'media' | 'proto'
- `callback` string
- `fields` string
- `key` string
- `oauth_token` string
- `prettyPrint` boolean
- `quotaUser` string
- `uploadType` string
- `upload_protocol` string
- `requestId` string
- `updateMask` string, google-fieldmask
- `validateOnly` boolean

## Request body

- Saas: Saas is a representation of a SaaS service managed by the Producer.
  - `annotations` object: Optional. Annotations is an unstructured key-value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/user-guide/annotations
  - `applicationTemplate` CompositeRef: CompositeRef represents a reference to a composite resource.
    - `applicationTemplate` string: Required. Reference to the ApplicationTemplate resource.
    - `revision` string: Optional. Revision of the ApplicationTemplate to use. Changes to revision will trigger manual resynchronization. If empty, ApplicationTemplate will be ignored.
    - `syncOperation` string: Output only. Reference to on-going AppTemplate import and replication operation (i.e. the operation_id for the long-running operation). This field is opaque for external usage.
  - `blueprintRepo` string: Output only. Name of repository in Artifact Registry for system-generated Blueprints, eg. Blueprints of imported ApplicationTemplates.
  - `conditions` SaasCondition[]: Output only. A set of conditions which indicate the various conditions this resource can have.
    - `lastTransitionTime` string, google-datetime: Required. Last time the condition transited from one status to another.
    - `message` string: Required. Human readable message indicating details about the last transition.
    - `reason` string: Required. Brief reason for the condition's last transition.
    - `status` 'STATUS_UNSPECIFIED' | 'STATUS_UNKNOWN' | 'STATUS_TRUE' | 'STATUS_FALSE': Required. Status of the condition.
    - `type` 'TYPE_UNSPECIFIED' | 'TYPE_READY' | 'TYPE_SYNCHRONIZED': Required. Type of the condition.
  - `createTime` string, google-datetime: Output only. The timestamp when the resource was created.
  - `error` Status: The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).
    - `code` integer: The status code, which should be an enum value of google.rpc.Code.
    - `details` object[]: A list of messages that carry the error details. There is a common set of message types for APIs to use.
    - `message` string: A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
  - `etag` string: Output only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written.
  - `labels` object: Optional. The labels on the resource, which can be used for categorization. similar to Kubernetes resource labels.
  - `locations` Location[]: Optional. List of locations that the service is available in. Rollout refers to the list to generate a rollout plan.
    - `name` string: Optional. Name of location.
  - `name` string: Identifier. The resource name (full URI of the resource) following the standard naming scheme: "projects/{project}/locations/{location}/saas/{saas}"
  - `state` 'STATE_UNSPECIFIED' | 'STATE_TYPE_UNSPECIFIED' | 'STATE_ACTIVE' | 'STATE_RUNNING' | 'STATE_FAILED': Output only. State of the Saas. It is always in STATE_ACTIVE state if the application_template is empty.
  - `uid` string: Output only. The unique identifier of the resource. UID is unique in the time and space for this resource within the scope of the service. It is typically generated by the server on successful creation of a resource and must not be changed. UID is used to uniquely identify resources with resource name reuses. This should be a UUID4.
  - `updateTime` string, google-datetime: Output only. The timestamp when the resource was last updated. Any change to the resource made by users must refresh this value. Changes to a resource made by the service should refresh this value.

## Response `200`

Successful response

- Saas: Saas is a representation of a SaaS service managed by the Producer.
  - `annotations` object: Optional. Annotations is an unstructured key-value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/user-guide/annotations
  - `applicationTemplate` CompositeRef: CompositeRef represents a reference to a composite resource.
    - `applicationTemplate` string: Required. Reference to the ApplicationTemplate resource.
    - `revision` string: Optional. Revision of the ApplicationTemplate to use. Changes to revision will trigger manual resynchronization. If empty, ApplicationTemplate will be ignored.
    - `syncOperation` string: Output only. Reference to on-going AppTemplate import and replication operation (i.e. the operation_id for the long-running operation). This field is opaque for external usage.
  - `blueprintRepo` string: Output only. Name of repository in Artifact Registry for system-generated Blueprints, eg. Blueprints of imported ApplicationTemplates.
  - `conditions` SaasCondition[]: Output only. A set of conditions which indicate the various conditions this resource can have.
    - `lastTransitionTime` string, google-datetime: Required. Last time the condition transited from one status to another.
    - `message` string: Required. Human readable message indicating details about the last transition.
    - `reason` string: Required. Brief reason for the condition's last transition.
    - `status` 'STATUS_UNSPECIFIED' | 'STATUS_UNKNOWN' | 'STATUS_TRUE' | 'STATUS_FALSE': Required. Status of the condition.
    - `type` 'TYPE_UNSPECIFIED' | 'TYPE_READY' | 'TYPE_SYNCHRONIZED': Required. Type of the condition.
  - `createTime` string, google-datetime: Output only. The timestamp when the resource was created.
  - `error` Status: The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).
    - `code` integer: The status code, which should be an enum value of google.rpc.Code.
    - `details` object[]: A list of messages that carry the error details. There is a common set of message types for APIs to use.
    - `message` string: A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
  - `etag` string: Output only. An opaque value that uniquely identifies a version or generation of a resource. It can be used to confirm that the client and server agree on the ordering of a resource being written.
  - `labels` object: Optional. The labels on the resource, which can be used for categorization. similar to Kubernetes resource labels.
  - `locations` Location[]: Optional. List of locations that the service is available in. Rollout refers to the list to generate a rollout plan.
    - `name` string: Optional. Name of location.
  - `name` string: Identifier. The resource name (full URI of the resource) following the standard naming scheme: "projects/{project}/locations/{location}/saas/{saas}"
  - `state` 'STATE_UNSPECIFIED' | 'STATE_TYPE_UNSPECIFIED' | 'STATE_ACTIVE' | 'STATE_RUNNING' | 'STATE_FAILED': Output only. State of the Saas. It is always in STATE_ACTIVE state if the application_template is empty.
  - `uid` string: Output only. The unique identifier of the resource. UID is unique in the time and space for this resource within the scope of the service. It is typically generated by the server on successful creation of a resource and must not be changed. UID is used to uniquely identify resources with resource name reuses. This should be a UUID4.
  - `updateTime` string, google-datetime: Output only. The timestamp when the resource was last updated. Any change to the resource made by users must refresh this value. Changes to a resource made by the service should refresh this value.

## Changes

- **2026-11-19** `213a46d28139`: 4 info
  - the security scope `https://www.googleapis.com/auth/cloud-platform` was added to the endpoint's security scheme `Oauth2`
  - the security scope `https://www.googleapis.com/auth/cloud-platform` was added to the endpoint's security scheme `Oauth2c`
  - the security scope `https://www.googleapis.com/auth/saasservicemgmt.read-write` was removed from the endpoint's security scheme `Oauth2`
  - the security scope `https://www.googleapis.com/auth/saasservicemgmt.read-write` was removed from the endpoint's security scheme `Oauth2c`

[Operation history](https://skmtc.dev/google/apis/saasservicemgmt/changes/v1/projects/:projectsId/locations/:locationsId/saas/:saasId/patch.md)

---

[API](https://skmtc.dev/google/apis/saasservicemgmt.md) - [All operations](https://skmtc.dev/google/apis/saasservicemgmt/llms.txt) - [OpenAPI document](https://skmtc.dev/google/apis/saasservicemgmt/revisions/213a46d28139?raw)
