Class: Google::Apis::PaymentsresellersubscriptionV1::ProductPayload
- Inherits:
-
Object
- Object
- Google::Apis::PaymentsresellersubscriptionV1::ProductPayload
- 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
Specifies product specific payload.
Instance Attribute Summary collapse
-
#google_home_payload ⇒ Google::Apis::PaymentsresellersubscriptionV1::GoogleHomePayload
Payload specific for Google Home products.
-
#google_one_payload ⇒ Google::Apis::PaymentsresellersubscriptionV1::GoogleOnePayload
Payload specific to Google One products.
-
#youtube_payload ⇒ Google::Apis::PaymentsresellersubscriptionV1::YoutubePayload
Payload specific to Youtube products.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ProductPayload
constructor
A new instance of ProductPayload.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ProductPayload
Returns a new instance of ProductPayload.
877 878 879 |
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 877 def initialize(**args) update!(**args) end |
Instance Attribute Details
#google_home_payload ⇒ Google::Apis::PaymentsresellersubscriptionV1::GoogleHomePayload
Payload specific for Google Home products.
Corresponds to the JSON property googleHomePayload
865 866 867 |
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 865 def google_home_payload @google_home_payload end |
#google_one_payload ⇒ Google::Apis::PaymentsresellersubscriptionV1::GoogleOnePayload
Payload specific to Google One products.
Corresponds to the JSON property googleOnePayload
870 871 872 |
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 870 def google_one_payload @google_one_payload end |
#youtube_payload ⇒ Google::Apis::PaymentsresellersubscriptionV1::YoutubePayload
Payload specific to Youtube products.
Corresponds to the JSON property youtubePayload
875 876 877 |
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 875 def youtube_payload @youtube_payload end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
882 883 884 885 886 |
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 882 def update!(**args) @google_home_payload = args[:google_home_payload] if args.key?(:google_home_payload) @google_one_payload = args[:google_one_payload] if args.key?(:google_one_payload) @youtube_payload = args[:youtube_payload] if args.key?(:youtube_payload) end |