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.



1995
1996
1997
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1995

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



1988
1989
1990
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1988

def consumer_info
  @consumer_info
end

#customer_infoGoogle::Apis::CloudsearchV1::AppsDynamiteSharedOrganizationInfoCustomerInfo

Corresponds to the JSON property customerInfo



1993
1994
1995
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1993

def customer_info
  @customer_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2000
2001
2002
2003
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2000

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