#include <access_policy.h>
Rights management policy for YouTube resources.
◆ AccessPolicy() [1/2]
| google_youtube_api::AccessPolicy::AccessPolicy |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ AccessPolicy() [2/2]
| google_youtube_api::AccessPolicy::AccessPolicy |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ ~AccessPolicy()
| google_youtube_api::AccessPolicy::~AccessPolicy |
( |
| ) |
|
|
virtual |
◆ clear_allowed()
| void google_youtube_api::AccessPolicy::clear_allowed |
( |
| ) |
|
|
inline |
Clears the 'allowed' attribute.
◆ clear_exception()
| void google_youtube_api::AccessPolicy::clear_exception |
( |
| ) |
|
|
inline |
Clears the 'exception' attribute.
◆ get_allowed()
| bool google_youtube_api::AccessPolicy::get_allowed |
( |
| ) |
const |
|
inline |
Get the value of the 'allowed' attribute.
◆ get_exception()
| const client::JsonCppArray<string > google_youtube_api::AccessPolicy::get_exception |
( |
| ) |
const |
|
inline |
Get a reference to the value of the 'exception' attribute.
◆ GetTypeName()
| const StringPiece google_youtube_api::AccessPolicy::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_allowed()
| bool google_youtube_api::AccessPolicy::has_allowed |
( |
| ) |
const |
|
inline |
Determine if the 'allowed' attribute was set.
- Returns
- true if the '
allowed' attribute was set.
◆ has_exception()
| bool google_youtube_api::AccessPolicy::has_exception |
( |
| ) |
const |
|
inline |
Determine if the 'exception' attribute was set.
- Returns
- true if the '
exception' attribute was set.
◆ mutable_exception()
| client::JsonCppArray<string > google_youtube_api::AccessPolicy::mutable_exception |
( |
| ) |
|
|
inline |
Gets a reference to a mutable value of the 'exception' property.
A list of region codes that identify countries where the default policy do not apply.
- Returns
- The result can be modified to change the attribute value.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_allowed()
| void google_youtube_api::AccessPolicy::set_allowed |
( |
bool |
value | ) |
|
|
inline |
Change the 'allowed' attribute.
The value of allowed indicates whether the access to the policy is allowed or denied by default.
- Parameters
-
The documentation for this class was generated from the following files: