Class: Google::Apis::CloudsearchV1::AppsDynamiteSharedOrganizationInfo

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

Overview

Contains info about the entity that something is, or is owned by.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AppsDynamiteSharedOrganizationInfo

Returns a new instance of AppsDynamiteSharedOrganizationInfo.



1856
1857
1858
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1856

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

Instance Attribute Details

#consumer_infoGoogle::Apis::CloudsearchV1::AppsDynamiteSharedOrganizationInfoConsumerInfo

Intentionally empty. Used to disambiguate consumer and customer use cases in oneof below. Corresponds to the JSON property consumerInfo



1849
1850
1851
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1849

def consumer_info
  @consumer_info
end

#customer_infoGoogle::Apis::CloudsearchV1::AppsDynamiteSharedOrganizationInfoCustomerInfo

Corresponds to the JSON property customerInfo



1854
1855
1856
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1854

def customer_info
  @customer_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1861
1862
1863
1864
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1861

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