Class: Google::Apis::AccessapprovalV1beta1::ApproveApprovalRequestMessage
- Inherits:
-
Object
- Object
- Google::Apis::AccessapprovalV1beta1::ApproveApprovalRequestMessage
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/accessapproval_v1beta1/classes.rb,
generated/google/apis/accessapproval_v1beta1/representations.rb,
generated/google/apis/accessapproval_v1beta1/representations.rb
Overview
Request to approve an ApprovalRequest.
Instance Attribute Summary collapse
-
#expire_time ⇒ String
The expiration time of this approval.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ApproveApprovalRequestMessage
constructor
A new instance of ApproveApprovalRequestMessage.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ApproveApprovalRequestMessage
Returns a new instance of ApproveApprovalRequestMessage
232 233 234 |
# File 'generated/google/apis/accessapproval_v1beta1/classes.rb', line 232 def initialize(**args) update!(**args) end |
Instance Attribute Details
#expire_time ⇒ String
The expiration time of this approval.
Corresponds to the JSON property expireTime
230 231 232 |
# File 'generated/google/apis/accessapproval_v1beta1/classes.rb', line 230 def expire_time @expire_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
237 238 239 |
# File 'generated/google/apis/accessapproval_v1beta1/classes.rb', line 237 def update!(**args) @expire_time = args[:expire_time] if args.key?(:expire_time) end |