Updates an Organization resource identified by the specified resource name.
HTTP request
PUT https://cloudresourcemanager.googleapis.com/v1beta1/{name=organizations/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
Output only. The resource name of the organization. This is the organization's relative path in the API. Its format is "organizations/[organizationId]". For example, "organizations/1234". |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ "organizationId": string, "displayName": string, "owner": { object ( |
Fields | |
---|---|
organizationId |
An immutable id for the Organization that is assigned on creation. This should be omitted when creating a new Organization. This field is read-only. |
displayName |
A human-readable string that refers to the Organization in the Google Cloud console. This string is set by the server and cannot be changed. The string will be set to the primary domain (for example, "google.com") of the G Suite customer that owns the organization. |
owner |
The owner of this Organization. The owner should be specified on creation. Once set, it cannot be changed. This field is required. |
creationTime |
Timestamp when the Organization was created. Assigned by the server. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
lifecycleState |
The organization's current lifecycle state. Assigned by the server. |
Response body
If successful, the response body contains an instance of Organization
.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platform
https://www.googleapis.com/auth/cloudplatformorganizations
For more information, see the Authentication Overview.