Class: Google::Apis::CloudsearchV1::ContentReportJustification

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_justificationString

Optional. User-generated free-text justification for the content report. Corresponds to the JSON property userJustification

Returns:

  • (String)


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