|
storage
v1
|
#include <policy.h>
Classes | |
| class | PolicyBindings |
Public Member Functions | |
| Policy (const Json::Value &storage) | |
| Policy (Json::Value *storage) | |
| virtual | ~Policy () |
| const StringPiece | GetTypeName () const |
| bool | has_bindings () const |
| void | clear_bindings () |
| const client::JsonCppArray< PolicyBindings > | get_bindings () const |
| client::JsonCppArray< PolicyBindings > | mutable_bindings () |
| bool | has_etag () const |
| void | clear_etag () |
| const StringPiece | get_etag () const |
| void | set_etag (const StringPiece &value) |
| bool | has_kind () const |
| void | clear_kind () |
| const StringPiece | get_kind () const |
| void | set_kind (const StringPiece &value) |
| bool | has_resource_id () const |
| void | clear_resource_id () |
| const StringPiece | get_resource_id () const |
| void | set_resource_id (const StringPiece &value) |
| bool | has_version () const |
| void | clear_version () |
| int32 | get_version () const |
| void | set_version (int32 value) |
Static Public Member Functions | |
| static Policy * | New () |
A bucket/object IAM policy.
|
explicit |
Standard constructor for an immutable data object instance.
| [in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
| [in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'bindings' attribute.
|
inline |
Clears the 'etag' attribute.
|
inline |
Clears the 'kind' attribute.
|
inline |
Clears the 'resourceId' attribute.
|
inline |
Clears the 'version' attribute.
|
inline |
Get a reference to the value of the 'bindings' attribute.
|
inline |
Get the value of the 'etag' attribute.
|
inline |
Get the value of the 'kind' attribute.
|
inline |
Get the value of the 'resourceId' attribute.
|
inline |
Get the value of the 'version' attribute.
|
inline |
Returns a string denoting the type of this data object.
google_storage_api::Policy
|
inline |
Determine if the 'bindings' attribute was set.
bindings' attribute was set.
|
inline |
Determine if the 'etag' attribute was set.
etag' attribute was set.
|
inline |
Determine if the 'kind' attribute was set.
kind' attribute was set.
|
inline |
Determine if the 'resourceId' attribute was set.
resourceId' attribute was set.
|
inline |
Determine if the 'version' attribute was set.
version' attribute was set.
|
inline |
Gets a reference to a mutable value of the 'bindings' property.
An association between a role, which comes with a set of permissions, and members who may assume that role.
|
static |
Creates a new default instance.
|
inline |
Change the 'etag' attribute.
HTTP 1.1 Entity tag for the policy.
| [in] | value | The new value. |
|
inline |
Change the 'kind' attribute.
The kind of item this is. For policies, this is always storage::policy. This field is ignored on input.
| [in] | value | The new value. |
|
inline |
Change the 'resourceId' attribute.
The ID of the resource to which this policy belongs. Will be of the form projects/_/buckets/bucket for buckets, and projects/_/buckets/bucket/objects/object for objects. A specific generation may be specified by appending #generationNumber to the end of the object name, e.g. projects/_/buckets/my-bucket/objects/data.txt#17. The current generation can be denoted with #0. This field is ignored on input.
| [in] | value | The new value. |
|
inline |
Change the 'version' attribute.
The IAM policy format version.
| [in] | value | The new value. |