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.
6709 6710 6711 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 6709 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
6707 6708 6709 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 6707 def user_justification @user_justification end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6714 6715 6716 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 6714 def update!(**args) @user_justification = args[:user_justification] if args.key?(:user_justification) end |