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.



6385
6386
6387
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 6385

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)


6383
6384
6385
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 6383

def user_justification
  @user_justification
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6390
6391
6392
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 6390

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