class Google::Apis::CloudresourcemanagerV1beta1::Organization

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

Attributes

creation_time[RW]

Timestamp when the Organization was created. Assigned by the server. @ OutputOnly Corresponds to the JSON property `creationTime` @return [String]

display_name[RW]

A friendly string to be used to refer to the Organization in the UI. This field is required. Corresponds to the JSON property `displayName` @return [String]

organization_id[RW]

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

owner[RW]

The entity that owns an Organization. The lifetime of the Organization and all of its descendants are bound to the `OrganizationOwner`. If the ` OrganizationOwner` is deleted, the Organization and all its descendants will be deleted. Corresponds to the JSON property `owner` @return [Google::Apis::CloudresourcemanagerV1beta1::OrganizationOwner]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/cloudresourcemanager_v1beta1/classes.rb, line 419
def update!(**args)
  @organization_id = args[:organization_id] if args.key?(:organization_id)
  @display_name = args[:display_name] if args.key?(:display_name)
  @owner = args[:owner] if args.key?(:owner)
  @creation_time = args[:creation_time] if args.key?(:creation_time)
end