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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/accessapproval_v1/classes.rb,
generated/google/apis/accessapproval_v1/representations.rb,
generated/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.



287
288
289
# File 'generated/google/apis/accessapproval_v1/classes.rb', line 287

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)


277
278
279
# File 'generated/google/apis/accessapproval_v1/classes.rb', line 277

def dismiss_time
  @dismiss_time
end

#implicitBoolean Also known as: implicit?

This field will be true if the ApprovalRequest was implcitly 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)


284
285
286
# File 'generated/google/apis/accessapproval_v1/classes.rb', line 284

def implicit
  @implicit
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



292
293
294
295
# File 'generated/google/apis/accessapproval_v1/classes.rb', line 292

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