Google Cloud Storage C++ Client
1.24.0
A C++ Client Library for Google Cloud Storage
|
Prepares a patch for an ObjectAccessControl resource. More...
#include <google/cloud/storage/object_access_control.h>
Public Member Functions | |
ObjectAccessControlPatchBuilder ()=default | |
std::string | BuildPatch () const |
ObjectAccessControlPatchBuilder & | set_entity (std::string const &v) |
ObjectAccessControlPatchBuilder & | delete_entity () |
ObjectAccessControlPatchBuilder & | set_role (std::string const &v) |
ObjectAccessControlPatchBuilder & | delete_role () |
Prepares a patch for an ObjectAccessControl resource.
The ObjectAccessControl resource only has two modifiable fields: entity and role. This class allows application developers to setup a PATCH message, note that some of the possible PATCH messages may result in errors from the server, for example: while it is possible to express "change the value of the entity field" with a PATCH request, the server rejects such changes.
Definition at line 113 of file object_access_control.h.
|
default |
|
inline |
Definition at line 117 of file object_access_control.h.
|
inline |
Definition at line 124 of file object_access_control.h.
|
inline |
Definition at line 134 of file object_access_control.h.
|
inline |
Definition at line 119 of file object_access_control.h.
|
inline |
Definition at line 129 of file object_access_control.h.