class Google::Apis::CloudresourcemanagerV3::Organization

The root node in the resource hierarchy to which a particular entity's (a company, for example) resources belong.

Attributes

create_time[RW]

Output only. Timestamp when the Organization was created. Corresponds to the JSON property `createTime` @return [String]

delete_time[RW]

Output only. Timestamp when the Organization was requested for deletion. Corresponds to the JSON property `deleteTime` @return [String]

directory_customer_id[RW]

Immutable. The G Suite / Workspace customer id used in the Directory API. Corresponds to the JSON property `directoryCustomerId` @return [String]

display_name[RW]

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. Corresponds to the JSON property `displayName` @return [String]

etag[RW]

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. Corresponds to the JSON property `etag` @return [String]

name[RW]

Output only. The resource name of the organization. This is the organization's relative path in the API. Its format is “organizations/”. For example, “organizations/1234”. Corresponds to the JSON property `name` @return [String]

state[RW]

Output only. The organization's current lifecycle state. Corresponds to the JSON property `state` @return [String]

update_time[RW]

Output only. Timestamp when the Organization was last modified. Corresponds to the JSON property `updateTime` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/cloudresourcemanager_v3/classes.rb, line 1100
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/cloudresourcemanager_v3/classes.rb, line 1105
def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @delete_time = args[:delete_time] if args.key?(:delete_time)
  @directory_customer_id = args[:directory_customer_id] if args.key?(:directory_customer_id)
  @display_name = args[:display_name] if args.key?(:display_name)
  @etag = args[:etag] if args.key?(:etag)
  @name = args[:name] if args.key?(:name)
  @state = args[:state] if args.key?(:state)
  @update_time = args[:update_time] if args.key?(:update_time)
end