Class: Google::Apis::CloudsearchV1::AbuseReportingConfig

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

Overview

Abuse reporting configuration outlining what is supported in this conference.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AbuseReportingConfig

Returns a new instance of AbuseReportingConfig.



42
43
44
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 42

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#recording_allowedBoolean Also known as: recording_allowed?

Whether the current call may include video recordings in its abuse reports. Corresponds to the JSON property recordingAllowed

Returns:

  • (Boolean)


32
33
34
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 32

def recording_allowed
  @recording_allowed
end

#written_ugc_allowedBoolean Also known as: written_ugc_allowed?

Whether the current call may include user generated content (chat, polls, Q&A.. .) in its abuse reports. Corresponds to the JSON property writtenUgcAllowed

Returns:

  • (Boolean)


39
40
41
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 39

def written_ugc_allowed
  @written_ugc_allowed
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



47
48
49
50
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 47

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