Class: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionIntent

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#nameString

Required. The name of the subscription resource that is entitled to the current end user. Corresponds to the JSON property name

Returns:

  • (String)


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