class Google::Apis::AccessapprovalV1::ApproveDecision
A decision that has been made to approve access to a resource.
Attributes
approve_time[RW]
The time at which approval was granted. Corresponds to the JSON property `approveTime` @return [String]
expire_time[RW]
The time at which the approval expires. Corresponds to the JSON property `expireTime` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/accessapproval_v1/classes.rb, line 246 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/accessapproval_v1/classes.rb, line 251 def update!(**args) @approve_time = args[:approve_time] if args.key?(:approve_time) @expire_time = args[:expire_time] if args.key?(:expire_time) end