Class: Google::Apis::PaymentsresellersubscriptionV1::GoogleHomePayload
- Inherits:
-
Object
- Object
- Google::Apis::PaymentsresellersubscriptionV1::GoogleHomePayload
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/paymentsresellersubscription_v1/classes.rb,
lib/google/apis/paymentsresellersubscription_v1/representations.rb,
lib/google/apis/paymentsresellersubscription_v1/representations.rb
Overview
Payload specific for Google Home products.
Instance Attribute Summary collapse
-
#attached_to_google_structure ⇒ Boolean
(also: #attached_to_google_structure?)
Output only.
-
#google_structure_id ⇒ String
Optional.
-
#partner_structure_id ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleHomePayload
constructor
A new instance of GoogleHomePayload.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleHomePayload
Returns a new instance of GoogleHomePayload.
554 555 556 |
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 554 def initialize(**args) update!(**args) end |
Instance Attribute Details
#attached_to_google_structure ⇒ Boolean Also known as: attached_to_google_structure?
Output only. This identifies whether the subscription is attached to a Google
Home structure.
Corresponds to the JSON property attachedToGoogleStructure
539 540 541 |
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 539 def attached_to_google_structure @attached_to_google_structure end |
#google_structure_id ⇒ String
Optional. Structure identifier on Google side.
Corresponds to the JSON property googleStructureId
545 546 547 |
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 545 def google_structure_id @google_structure_id end |
#partner_structure_id ⇒ String
Optional. This identifies the structure ID on partner side that the
subscription should be applied to. Only required when the partner requires
structure mapping.
Corresponds to the JSON property partnerStructureId
552 553 554 |
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 552 def partner_structure_id @partner_structure_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
559 560 561 562 563 |
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 559 def update!(**args) @attached_to_google_structure = args[:attached_to_google_structure] if args.key?(:attached_to_google_structure) @google_structure_id = args[:google_structure_id] if args.key?(:google_structure_id) @partner_structure_id = args[:partner_structure_id] if args.key?(:partner_structure_id) end |