class Google::Apis::CloudcommerceprocurementV1::Approval
An approval for some action on an account.
Attributes
name[RW]
Output only. The name of the approval. Corresponds to the JSON property `name` @return [String]
reason[RW]
Output only. An explanation for the state of the approval. Corresponds to the JSON property `reason` @return [String]
state[RW]
Output only. The state of the approval. Corresponds to the JSON property `state` @return [String]
update_time[RW]
Optional. The last update timestamp of the approval. Corresponds to the JSON property `updateTime` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/cloudcommerceprocurement_v1/classes.rb, line 115 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 120 def update!(**args) @name = args[:name] if args.key?(:name) @reason = args[:reason] if args.key?(:reason) @state = args[:state] if args.key?(:state) @update_time = args[:update_time] if args.key?(:update_time) end