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



276
277
278
# File 'generated/google/apis/accessapproval_v1beta1/classes.rb', line 276

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)


274
275
276
# File 'generated/google/apis/accessapproval_v1beta1/classes.rb', line 274

def dismiss_time
  @dismiss_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



281
282
283
# File 'generated/google/apis/accessapproval_v1beta1/classes.rb', line 281

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