Class: Google::Apis::CloudresourcemanagerV1beta1::OrganizationOwner

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/cloudresourcemanager_v1beta1/classes.rb,
generated/google/apis/cloudresourcemanager_v1beta1/representations.rb,
generated/google/apis/cloudresourcemanager_v1beta1/representations.rb

Overview

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.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ OrganizationOwner

Returns a new instance of OrganizationOwner.


512
513
514
# File 'generated/google/apis/cloudresourcemanager_v1beta1/classes.rb', line 512

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#directory_customer_idString

The Google for Work customer id used in the Directory API. Corresponds to the JSON property directoryCustomerId

Returns:

  • (String)

510
511
512
# File 'generated/google/apis/cloudresourcemanager_v1beta1/classes.rb', line 510

def directory_customer_id
  @directory_customer_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


517
518
519
# File 'generated/google/apis/cloudresourcemanager_v1beta1/classes.rb', line 517

def update!(**args)
  @directory_customer_id = args[:directory_customer_id] if args.key?(:directory_customer_id)
end