Class: Google::Apis::CloudresourcemanagerV1::OrganizationOwner

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/cloudresourcemanager_v1/classes.rb,
lib/google/apis/cloudresourcemanager_v1/representations.rb,
lib/google/apis/cloudresourcemanager_v1/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

Constructor Details

#initialize(**args) ⇒ OrganizationOwner

Returns a new instance of OrganizationOwner.



1523
1524
1525
# File 'lib/google/apis/cloudresourcemanager_v1/classes.rb', line 1523

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

Instance Attribute Details

#directory_customer_idString

The G Suite customer id used in the Directory API. Corresponds to the JSON property directoryCustomerId

Returns:

  • (String)


1521
1522
1523
# File 'lib/google/apis/cloudresourcemanager_v1/classes.rb', line 1521

def directory_customer_id
  @directory_customer_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1528
1529
1530
# File 'lib/google/apis/cloudresourcemanager_v1/classes.rb', line 1528

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