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
Required.
-
#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.
640 641 642 |
# File 'lib/google/apis/cloudcommerceprocurement_v1/classes.rb', line 640 def initialize(**args) update!(**args) end |
Instance Attribute Details
#pending_plan_name ⇒ String
Required. Name of the pending plan that is being rejected.
Corresponds to the JSON property pendingPlanName
632 633 634 |
# File 'lib/google/apis/cloudcommerceprocurement_v1/classes.rb', line 632 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
638 639 640 |
# File 'lib/google/apis/cloudcommerceprocurement_v1/classes.rb', line 638 def reason @reason end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
645 646 647 648 |
# File 'lib/google/apis/cloudcommerceprocurement_v1/classes.rb', line 645 def update!(**args) @pending_plan_name = args[:pending_plan_name] if args.key?(:pending_plan_name) @reason = args[:reason] if args.key?(:reason) end |