Reference documentation and code samples for the Google Cloud Resource Manager V3 Client class Organization.
The root node in the resource hierarchy to which a particular entity's (a company, for example) resources belong.
Generated from protobuf message google.cloud.resourcemanager.v3.Organization
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Output only. The resource name of the organization. This is the organization's relative path in the API. Its format is "organizations/[organization_id]". For example, "organizations/1234".
↳ display_name
string
Output only. 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 Google Workspace customer that owns the organization.
↳ directory_customer_id
string
Immutable. The G Suite / Workspace customer id used in the Directory API.
↳ state
int
Output only. The organization's current lifecycle state.
↳ create_time
↳ update_time
↳ delete_time
↳ etag
string
Output only. A checksum computed by the server based on the current value of the Organization resource. This may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
getName
Output only. The resource name of the organization. This is the organization's relative path in the API. Its format is "organizations/[organization_id]". For example, "organizations/1234".
string
setName
Output only. The resource name of the organization. This is the organization's relative path in the API. Its format is "organizations/[organization_id]". For example, "organizations/1234".
var
string
$this
getDisplayName
Output only. 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 Google Workspace customer that owns the organization.
string
setDisplayName
Output only. 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 Google Workspace customer that owns the organization.
var
string
$this
getDirectoryCustomerId
Immutable. The G Suite / Workspace customer id used in the Directory API.
string
hasDirectoryCustomerId
setDirectoryCustomerId
Immutable. The G Suite / Workspace customer id used in the Directory API.
var
string
$this
getState
Output only. The organization's current lifecycle state.
int
setState
Output only. The organization's current lifecycle state.
var
int
$this
getCreateTime
Output only. Timestamp when the Organization was created.
hasCreateTime
clearCreateTime
setCreateTime
Output only. Timestamp when the Organization was created.
$this
getUpdateTime
Output only. Timestamp when the Organization was last modified.
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. Timestamp when the Organization was last modified.
$this
getDeleteTime
Output only. Timestamp when the Organization was requested for deletion.
hasDeleteTime
clearDeleteTime
setDeleteTime
Output only. Timestamp when the Organization was requested for deletion.
$this
getEtag
Output only. A checksum computed by the server based on the current value of the Organization resource. This may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
string
setEtag
Output only. A checksum computed by the server based on the current value of the Organization resource. This may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
var
string
$this
getOwner
string