Class: Google::Apis::AccessapprovalV1beta1::DismissDecision

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

A decision that has been made to dismiss an approval request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ DismissDecision

Returns a new instance of DismissDecision



289
290
291
# File 'generated/google/apis/accessapproval_v1beta1/classes.rb', line 289

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)


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

def dismiss_time
  @dismiss_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



294
295
296
# File 'generated/google/apis/accessapproval_v1beta1/classes.rb', line 294

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