Google Cloud Storage C++ Client
1.42.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 114 of file object_access_control.h.
|
default |
|
inline |
Definition at line 118 of file object_access_control.h.
|
inline |
Definition at line 125 of file object_access_control.h.
|
inline |
Definition at line 135 of file object_access_control.h.
|
inline |
Definition at line 120 of file object_access_control.h.
|
inline |
Definition at line 130 of file object_access_control.h.