Class: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload
- Inherits:
-
Object
- Object
- Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload
- 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 to Youtube products.
Instance Attribute Summary collapse
-
#access_end_time ⇒ String
Output only.
-
#partner_eligibility_ids ⇒ Array<String>
The list of eligibility_ids which are applicable for the line item.
-
#partner_plan_type ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload
constructor
A new instance of GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload
Returns a new instance of GoogleCloudPaymentsResellerSubscriptionV1YoutubePayload.
1423 1424 1425 |
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 1423 def initialize(**args) update!(**args) end |
Instance Attribute Details
#access_end_time ⇒ String
Output only. The access expiration time for this line item.
Corresponds to the JSON property accessEndTime
1411 1412 1413 |
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 1411 def access_end_time @access_end_time end |
#partner_eligibility_ids ⇒ Array<String>
The list of eligibility_ids which are applicable for the line item.
Corresponds to the JSON property partnerEligibilityIds
1416 1417 1418 |
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 1416 def partner_eligibility_ids @partner_eligibility_ids end |
#partner_plan_type ⇒ String
Optional. Specifies the plan type offered to the end user by the partner.
Corresponds to the JSON property partnerPlanType
1421 1422 1423 |
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 1421 def partner_plan_type @partner_plan_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1428 1429 1430 1431 1432 |
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 1428 def update!(**args) @access_end_time = args[:access_end_time] if args.key?(:access_end_time) @partner_eligibility_ids = args[:partner_eligibility_ids] if args.key?(:partner_eligibility_ids) @partner_plan_type = args[:partner_plan_type] if args.key?(:partner_plan_type) end |