View Source GoogleApi.ContentWarehouse.V1.Model.SocialStanzaStanzaRestriction (google_api_content_warehouse v0.3.0)
Contains various restriction information about a stanza, derived from properties of the stanza, the viewer and the creator. Restrictions stored in this message are not related to direct/indirect relationship between the viewer and the creator of stanza. Some examples are: - Abusive - Legal - Racy - Content not suitable for age - Porn - Blocked by country/geo of viewer. - Restricted by stanza creator (not the user specific block). - etc... Please see go/stanza-abuse-flow for more details.
Attributes
-
abuseTypes
(type:list(GoogleApi.ContentWarehouse.V1.Model.AbuseiamAbuseType.t)
, default:nil
) - The abuses. -
appealState
(type:String.t
, default:nil
) - The appeal state. -
contentRestriction
(type:GoogleApi.ContentWarehouse.V1.Model.AbuseiamContentRestriction.t
, default:nil
) - Field to explain various restrictions of the Stanza. Some examples of restrictions are: - Not permitted because of legal restrictions of geography/country of viewer or creator. - Content not suitable for current viewer i.e. porn, abusive, racy. - Creator restricted the content to an age group. - etc... -
deleteReason
(type:list(String.t)
, default:nil
) - Delete reasons. This is a repeated field because an stanza can be deleted multiple times due to different reasons such as user_delete, admin_delete. -
deliveryRestriction
(type:GoogleApi.ContentWarehouse.V1.Model.SocialStanzaDeliveryRestriction.t
, default:nil
) - Delivery restrictions, if present. -
destinationStream
(type:GoogleApi.ContentWarehouse.V1.Model.AppsPeopleActivityBackendDestinationStream.t
, default:nil
) - -
moderationInfo
(type:GoogleApi.ContentWarehouse.V1.Model.SocialStanzaModerationInfo.t
, default:nil
) - The moderation info. At write time, this field is only allowed to be set when moderator_type is AUTO_MODERATOR. For other moderator types, moderation_reason is the only field that can be set by clients. -
moderationState
(type:String.t
, default:nil
) - The moderation state.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.ContentWarehouse.V1.Model.SocialStanzaStanzaRestriction{ abuseTypes: [GoogleApi.ContentWarehouse.V1.Model.AbuseiamAbuseType.t()] | nil, appealState: String.t() | nil, contentRestriction: GoogleApi.ContentWarehouse.V1.Model.AbuseiamContentRestriction.t() | nil, deleteReason: [String.t()] | nil, deliveryRestriction: GoogleApi.ContentWarehouse.V1.Model.SocialStanzaDeliveryRestriction.t() | nil, destinationStream: GoogleApi.ContentWarehouse.V1.Model.AppsPeopleActivityBackendDestinationStream.t() | nil, moderationInfo: GoogleApi.ContentWarehouse.V1.Model.SocialStanzaModerationInfo.t() | nil, moderationState: String.t() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.