class Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1Product
A Product resource that defines a subscription service that can be resold.
Attributes
Output only. Response only. Resource name of the subscription. It will have the format of “partners/`partner_id`/products/`product_id`” Corresponds to the JSON property `name` @return [String]
Output only. 2-letter ISO region code where the product is available in. Ex. “ US” Please refers to: en.wikipedia.org/wiki/ISO_3166-1 Corresponds to the JSON property `regionCodes` @return [Array<String>]
Describes the length of a period of a time. Corresponds to the JSON property `subscriptionBillingCycleDuration` @return [Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1Duration]
Output only. Localized human readable name of the product. Corresponds to the JSON property `titles` @return [Array<Google::Apis::PaymentsresellersubscriptionV1::GoogleTypeLocalizedText>]
Public Class Methods
# File lib/google/apis/paymentsresellersubscription_v1/classes.rb, line 318 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/paymentsresellersubscription_v1/classes.rb, line 323 def update!(**args) @name = args[:name] if args.key?(:name) @region_codes = args[:region_codes] if args.key?(:region_codes) @subscription_billing_cycle_duration = args[:subscription_billing_cycle_duration] if args.key?(:subscription_billing_cycle_duration) @titles = args[:titles] if args.key?(:titles) end