Class: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1ProductPayload
- Inherits:
-
Object
- Object
- Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1ProductPayload
- 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_one_payload ⇒ Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload
Payload specific to Google One products.
-
#youtube_payload ⇒ Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload
Payload specific to Youtube products.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudPaymentsResellerSubscriptionV1ProductPayload
constructor
A new instance of GoogleCloudPaymentsResellerSubscriptionV1ProductPayload.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudPaymentsResellerSubscriptionV1ProductPayload
Returns a new instance of GoogleCloudPaymentsResellerSubscriptionV1ProductPayload.
607 608 609 |
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 607 def initialize(**args) update!(**args) end |
Instance Attribute Details
#google_one_payload ⇒ Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1GoogleOnePayload
Payload specific to Google One products.
Corresponds to the JSON property googleOnePayload
600 601 602 |
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 600 def google_one_payload @google_one_payload end |
#youtube_payload ⇒ Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload
Payload specific to Youtube products.
Corresponds to the JSON property youtubePayload
605 606 607 |
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 605 def youtube_payload @youtube_payload end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
612 613 614 615 |
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 612 def update!(**args) @google_one_payload = args[:google_one_payload] if args.key?(:google_one_payload) @youtube_payload = args[:youtube_payload] if args.key?(:youtube_payload) end |