class Google::Apis::CloudcommerceprocurementV1::RejectAccountRequest
Request message for PartnerProcurementService.RejectAccount.
Attributes
approval_name[RW]
The name of the approval being rejected. If absent and there is only one approval possible, that approval will be rejected. If absent and there are many approvals possible, the request will fail with a 400 Bad Request. Optional. Corresponds to the JSON property `approvalName` @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 458 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 463 def update!(**args) @approval_name = args[:approval_name] if args.key?(:approval_name) @reason = args[:reason] if args.key?(:reason) end