Class: Google::Apis::AccessapprovalV1::DismissDecision
- Inherits:
-
Object
- Object
- Google::Apis::AccessapprovalV1::DismissDecision
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/accessapproval_v1/classes.rb,
lib/google/apis/accessapproval_v1/representations.rb,
lib/google/apis/accessapproval_v1/representations.rb
Overview
A decision that has been made to dismiss an approval request.
Instance Attribute Summary collapse
-
#dismiss_time ⇒ String
The time at which the approval request was dismissed.
-
#implicit ⇒ Boolean
(also: #implicit?)
This field will be true if the ApprovalRequest was implicitly dismissed due to inaction by the access approval approvers (the request is not acted on by the approvers before the exiration time).
Instance Method Summary collapse
-
#initialize(**args) ⇒ DismissDecision
constructor
A new instance of DismissDecision.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DismissDecision
Returns a new instance of DismissDecision.
436 437 438 |
# File 'lib/google/apis/accessapproval_v1/classes.rb', line 436 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dismiss_time ⇒ String
The time at which the approval request was dismissed.
Corresponds to the JSON property dismissTime
426 427 428 |
# File 'lib/google/apis/accessapproval_v1/classes.rb', line 426 def dismiss_time @dismiss_time end |
#implicit ⇒ Boolean Also known as: implicit?
This field will be true if the ApprovalRequest was implicitly dismissed due to
inaction by the access approval approvers (the request is not acted on by the
approvers before the exiration time).
Corresponds to the JSON property implicit
433 434 435 |
# File 'lib/google/apis/accessapproval_v1/classes.rb', line 433 def implicit @implicit end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
441 442 443 444 |
# File 'lib/google/apis/accessapproval_v1/classes.rb', line 441 def update!(**args) @dismiss_time = args[:dismiss_time] if args.key?(:dismiss_time) @implicit = args[:implicit] if args.key?(:implicit) end |