Class: Google::Apis::CloudcommerceprocurementV1::ApproveEntitlementPlanChangeRequest

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/cloudcommerceprocurement_v1/classes.rb,
lib/google/apis/cloudcommerceprocurement_v1/representations.rb,
lib/google/apis/cloudcommerceprocurement_v1/representations.rb

Overview

Request message for [PartnerProcurementService.ApproveEntitlementPlanChange[].

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ApproveEntitlementPlanChangeRequest

Returns a new instance of ApproveEntitlementPlanChangeRequest.



171
172
173
# File 'lib/google/apis/cloudcommerceprocurement_v1/classes.rb', line 171

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

Instance Attribute Details

#pending_plan_nameString

Name of the pending plan that is being approved. Required. Corresponds to the JSON property pendingPlanName

Returns:

  • (String)


169
170
171
# File 'lib/google/apis/cloudcommerceprocurement_v1/classes.rb', line 169

def pending_plan_name
  @pending_plan_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



176
177
178
# File 'lib/google/apis/cloudcommerceprocurement_v1/classes.rb', line 176

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