class Google::Apis::CloudcommerceprocurementV1::ApproveAccountRequest
Request message for PartnerProcurementService.ApproveAccount.
Attributes
approval_name[RW]
The name of the approval being approved. If absent and there is only one approval possible, that approval will be granted. 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]
properties[RW]
Set of properties that should be associated with the account. Optional. Corresponds to the JSON property `properties` @return [Hash<String,String>]
reason[RW]
Free form text string explaining the approval reason. Optional. 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 150 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 155 def update!(**args) @approval_name = args[:approval_name] if args.key?(:approval_name) @properties = args[:properties] if args.key?(:properties) @reason = args[:reason] if args.key?(:reason) end