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.



5715
5716
5717
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5715

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)


5713
5714
5715
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5713

def user_justification
  @user_justification
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5720
5721
5722
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5720

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