Class: Google::Apis::AccessapprovalV1::DismissDecision

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DismissDecision

Returns a new instance of DismissDecision.



410
411
412
# File 'lib/google/apis/accessapproval_v1/classes.rb', line 410

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#dismiss_timeString

The time at which the approval request was dismissed. Corresponds to the JSON property dismissTime

Returns:

  • (String)


400
401
402
# File 'lib/google/apis/accessapproval_v1/classes.rb', line 400

def dismiss_time
  @dismiss_time
end

#implicitBoolean 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

Returns:

  • (Boolean)


407
408
409
# File 'lib/google/apis/accessapproval_v1/classes.rb', line 407

def implicit
  @implicit
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



415
416
417
418
# File 'lib/google/apis/accessapproval_v1/classes.rb', line 415

def update!(**args)
  @dismiss_time = args[:dismiss_time] if args.key?(:dismiss_time)
  @implicit = args[:implicit] if args.key?(:implicit)
end