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.



2053
2054
2055
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2053

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



2046
2047
2048
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2046

def consumer_info
  @consumer_info
end

#customer_infoGoogle::Apis::CloudsearchV1::AppsDynamiteSharedOrganizationInfoCustomerInfo

Corresponds to the JSON property customerInfo



2051
2052
2053
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2051

def customer_info
  @customer_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2058
2059
2060
2061
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2058

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