class Google::Apis::AccessapprovalV1::AccessReason

Attributes

detail[RW]

More detail about certain reason types. See comments for each type above. Corresponds to the JSON property `detail` @return [String]

type[RW]

Type of access justification. Corresponds to the JSON property `type` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/accessapproval_v1/classes.rb, line 129
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/accessapproval_v1/classes.rb, line 134
def update!(**args)
  @detail = args[:detail] if args.key?(:detail)
  @type = args[:type] if args.key?(:type)
end