Class: Google::Apis::AdminReportsV1::Reason
- Inherits:
-
Object
- Object
- Google::Apis::AdminReportsV1::Reason
- 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
-
#reason_type ⇒ String
The type of the reason.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Reason
constructor
A new instance of Reason.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Reason
Returns a new instance of Reason.
1137 1138 1139 |
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 1137 def initialize(**args) update!(**args) end |
Instance Attribute Details
#reason_type ⇒ String
The type of the reason.
Corresponds to the JSON property reasonType
1135 1136 1137 |
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 1135 def reason_type @reason_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1142 1143 1144 |
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 1142 def update!(**args) @reason_type = args[:reason_type] if args.key?(:reason_type) end |