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.
743 744 745 |
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 743 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
736 737 738 |
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 736 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
741 742 743 |
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 741 def youtube_payload @youtube_payload end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
748 749 750 751 |
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 748 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 |