Class: Google::Apis::CloudcommerceprocurementV1::RejectEntitlementPlanChangeRequest
- Inherits:
-
Object
- Object
- Google::Apis::CloudcommerceprocurementV1::RejectEntitlementPlanChangeRequest
- 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.RejectEntitlementPlanChange.
Instance Attribute Summary collapse
-
#pending_plan_name ⇒ String
Name of the pending plan that is being rejected.
-
#reason ⇒ String
Free form text string explaining the rejection reason.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RejectEntitlementPlanChangeRequest
constructor
A new instance of RejectEntitlementPlanChangeRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RejectEntitlementPlanChangeRequest
Returns a new instance of RejectEntitlementPlanChangeRequest.
484 485 486 |
# File 'lib/google/apis/cloudcommerceprocurement_v1/classes.rb', line 484 def initialize(**args) update!(**args) end |
Instance Attribute Details
#pending_plan_name ⇒ String
Name of the pending plan that is being rejected. Required.
Corresponds to the JSON property pendingPlanName
476 477 478 |
# File 'lib/google/apis/cloudcommerceprocurement_v1/classes.rb', line 476 def pending_plan_name @pending_plan_name end |
#reason ⇒ String
Free form text string explaining the rejection reason. Max allowed length: 256
bytes. Longer strings will be truncated.
Corresponds to the JSON property reason
482 483 484 |
# File 'lib/google/apis/cloudcommerceprocurement_v1/classes.rb', line 482 def reason @reason end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
489 490 491 492 |
# File 'lib/google/apis/cloudcommerceprocurement_v1/classes.rb', line 489 def update!(**args) @pending_plan_name = args[:pending_plan_name] if args.key?(:pending_plan_name) @reason = args[:reason] if args.key?(:reason) end |