Class: Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionRequest

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

LINT.IfChange Partner request for entitling the previously provisioned subscription to an end user. The end user identity is inferred from the request OAuth context.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionRequest

Returns a new instance of GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionRequest.



146
147
148
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 146

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#line_item_entitlement_detailsArray<Google::Apis::PaymentsresellersubscriptionV1::GoogleCloudPaymentsResellerSubscriptionV1EntitleSubscriptionRequestLineItemEntitlementDetails>

Optional. The line items to be entitled. If unspecified, all line items will be entitled. Corresponds to the JSON property lineItemEntitlementDetails



144
145
146
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 144

def line_item_entitlement_details
  @line_item_entitlement_details
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



151
152
153
# File 'lib/google/apis/paymentsresellersubscription_v1/classes.rb', line 151

def update!(**args)
  @line_item_entitlement_details = args[:line_item_entitlement_details] if args.key?(:line_item_entitlement_details)
end