Class: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionIntent
- Inherits:
-
Object
- Object
- Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionIntent
- 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
Intent for entitling the previously provisioned subscription to an end user.
Instance Attribute Summary collapse
-
#name ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionIntent
constructor
A new instance of GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionIntent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionIntent
Returns a new instance of GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionIntent.
186 187 188 |
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 186 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
Required. The name of the subscription resource that is entitled to the
current end user.
Corresponds to the JSON property name
184 185 186 |
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 184 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
191 192 193 |
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 191 def update!(**args) @name = args[:name] if args.key?(:name) end |