Class: Google::Apis::CloudcommerceprocurementV1::ApproveEntitlementPlanChangeRequest
- Inherits:
-
Object
- Object
- Google::Apis::CloudcommerceprocurementV1::ApproveEntitlementPlanChangeRequest
- 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
-
#pending_plan_name ⇒ String
Name of the pending plan that is being approved.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ApproveEntitlementPlanChangeRequest
constructor
A new instance of ApproveEntitlementPlanChangeRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_name ⇒ String
Name of the pending plan that is being approved. Required.
Corresponds to the JSON property pendingPlanName
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 |