Class: Google::Apis::CloudsearchV1::AbuseReportingConfig
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::AbuseReportingConfig
- 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
-
#recording_allowed ⇒ Boolean
(also: #recording_allowed?)
Whether the current call may include video recordings in its abuse reports.
-
#written_ugc_allowed ⇒ Boolean
(also: #written_ugc_allowed?)
Whether the current call may include user generated content (chat, polls, Q&A.. .) in its abuse reports.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AbuseReportingConfig
constructor
A new instance of AbuseReportingConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_allowed ⇒ Boolean Also known as: recording_allowed?
Whether the current call may include video recordings in its abuse reports.
Corresponds to the JSON property recordingAllowed
32 33 34 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 32 def recording_allowed @recording_allowed end |
#written_ugc_allowed ⇒ Boolean 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
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 |