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

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.



303
304
305
# File 'generated/google/apis/accessapproval_v1/classes.rb', line 303

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)


301
302
303
# File 'generated/google/apis/accessapproval_v1/classes.rb', line 301

def dismiss_time
  @dismiss_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



308
309
310
# File 'generated/google/apis/accessapproval_v1/classes.rb', line 308

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