Patch
|
|||||
|
|
Patches a ServiceAccount.
Currently, only the following fields are updatable:
display_name
and description
.
Only fields specified in the request are guaranteed to be returned in the response. Other fields in the response may be empty.
Note: The field mask is required
Authorization
To use this building block you will have to grant access to at least one of the following scopes:
- View and manage your data across Google Cloud Platform services
Input
This building block consumes 12 input parameters
Name | Format | Description |
---|---|---|
name Required |
STRING |
The resource name of the service account in the following format:
Requests using In responses the resource name will always be in the format
|
serviceAccount |
OBJECT |
A service account in the Identity and Access Management API. To create a service account, specify the If the account already exists, the account's resource name is returned in the format of projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}. The caller can use the name in other methods to access the account. All other methods can identify the service account using the format
|
serviceAccount.oauth2ClientId |
STRING |
@OutputOnly The OAuth2 client id for the service account. This is used in conjunction with the OAuth2 clientconfig API to make three legged OAuth2 (3LO) flows to access the data of Google users |
serviceAccount.uniqueId |
STRING |
@OutputOnly The unique and stable id of the service account |
serviceAccount.displayName |
STRING |
Optional. A user-specified name for the service account. Must be less than or equal to 100 UTF-8 bytes |
serviceAccount.description |
STRING |
Optional. A user-specified opaque description of the service account. Must be less than or equal to 256 UTF-8 bytes |
serviceAccount.etag |
BINARY |
Optional. Note: |
serviceAccount.disabled |
BOOLEAN |
@OutputOnly A bool indicate if the service account is disabled. The field is currently in alpha phase |
serviceAccount.name |
STRING |
The resource name of the service account in the following format:
Requests using In responses the resource name will always be in the format
|
serviceAccount.email |
STRING |
@OutputOnly The email address of the service account |
serviceAccount.projectId |
STRING |
@OutputOnly The id of the project that owns the service account |
updateMask |
ANY |
= Parameter name
= Format
name STRING Required The resource name of the service account in the following format:
Requests using In responses the resource name will always be in the format
|
serviceAccount OBJECT A service account in the Identity and Access Management API. To create a service account, specify the If the account already exists, the account's resource name is returned in the format of projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}. The caller can use the name in other methods to access the account. All other methods can identify the service account using the format
|
serviceAccount.oauth2ClientId STRING @OutputOnly The OAuth2 client id for the service account. This is used in conjunction with the OAuth2 clientconfig API to make three legged OAuth2 (3LO) flows to access the data of Google users |
serviceAccount.uniqueId STRING @OutputOnly The unique and stable id of the service account |
serviceAccount.displayName STRING Optional. A user-specified name for the service account. Must be less than or equal to 100 UTF-8 bytes |
serviceAccount.description STRING Optional. A user-specified opaque description of the service account. Must be less than or equal to 256 UTF-8 bytes |
serviceAccount.etag BINARY Optional. Note: |
serviceAccount.disabled BOOLEAN @OutputOnly A bool indicate if the service account is disabled. The field is currently in alpha phase |
serviceAccount.name STRING The resource name of the service account in the following format:
Requests using In responses the resource name will always be in the format
|
serviceAccount.email STRING @OutputOnly The email address of the service account |
serviceAccount.projectId STRING @OutputOnly The id of the project that owns the service account |
updateMask ANY |
Output
This building block provides 9 output parameters
Name | Format | Description |
---|---|---|
oauth2ClientId |
STRING |
@OutputOnly The OAuth2 client id for the service account. This is used in conjunction with the OAuth2 clientconfig API to make three legged OAuth2 (3LO) flows to access the data of Google users |
uniqueId |
STRING |
@OutputOnly The unique and stable id of the service account |
displayName |
STRING |
Optional. A user-specified name for the service account. Must be less than or equal to 100 UTF-8 bytes |
description |
STRING |
Optional. A user-specified opaque description of the service account. Must be less than or equal to 256 UTF-8 bytes |
etag |
BINARY |
Optional. Note: |
disabled |
BOOLEAN |
@OutputOnly A bool indicate if the service account is disabled. The field is currently in alpha phase |
name |
STRING |
The resource name of the service account in the following format:
Requests using In responses the resource name will always be in the format
|
email |
STRING |
@OutputOnly The email address of the service account |
projectId |
STRING |
@OutputOnly The id of the project that owns the service account |
= Parameter name
= Format
oauth2ClientId STRING @OutputOnly The OAuth2 client id for the service account. This is used in conjunction with the OAuth2 clientconfig API to make three legged OAuth2 (3LO) flows to access the data of Google users |
uniqueId STRING @OutputOnly The unique and stable id of the service account |
displayName STRING Optional. A user-specified name for the service account. Must be less than or equal to 100 UTF-8 bytes |
description STRING Optional. A user-specified opaque description of the service account. Must be less than or equal to 256 UTF-8 bytes |
etag BINARY Optional. Note: |
disabled BOOLEAN @OutputOnly A bool indicate if the service account is disabled. The field is currently in alpha phase |
name STRING The resource name of the service account in the following format:
Requests using In responses the resource name will always be in the format
|
email STRING @OutputOnly The email address of the service account |
projectId STRING @OutputOnly The id of the project that owns the service account |