class Google::Apis::CloudcommerceprocurementV1::RejectEntitlementPlanChangeRequest

Request message for PartnerProcurementService.RejectEntitlementPlanChange.

Attributes

pending_plan_name[RW]

Name of the pending plan that is being rejected. Required. Corresponds to the JSON property `pendingPlanName` @return [String]

reason[RW]

Free form text string explaining the rejection reason. Max allowed length: 256 bytes. Longer strings will be truncated. Corresponds to the JSON property `reason` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/cloudcommerceprocurement_v1/classes.rb, line 484
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# 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