Class: Google::Apis::CloudsearchV1::ContentReportJustification
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::ContentReportJustification
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/google/apis/cloudsearch_v1/representations.rb
Instance Attribute Summary collapse
-
#user_justification ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ContentReportJustification
constructor
A new instance of ContentReportJustification.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ContentReportJustification
Returns a new instance of ContentReportJustification.
6773 6774 6775 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 6773 def initialize(**args) update!(**args) end |
Instance Attribute Details
#user_justification ⇒ String
Optional. User-generated free-text justification for the content report.
Corresponds to the JSON property userJustification
6771 6772 6773 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 6771 def user_justification @user_justification end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6778 6779 6780 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 6778 def update!(**args) @user_justification = args[:user_justification] if args.key?(:user_justification) end |