Class: Google::Apis::AdminReportsV1::Reason

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/admin_reports_v1/classes.rb,
lib/google/apis/admin_reports_v1/representations.rb,
lib/google/apis/admin_reports_v1/representations.rb

Overview

The reason why the label/field was applied.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Reason

Returns a new instance of Reason.



1249
1250
1251
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 1249

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#reason_typeString

The type of the reason. Corresponds to the JSON property reasonType

Returns:

  • (String)


1247
1248
1249
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 1247

def reason_type
  @reason_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1254
1255
1256
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 1254

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