Class ObjectAccessControlPatchBuilder (2.29.0-rc)

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.

See Also

https://cloud.google.com/storage/docs/json_api/v1/how-tos/performance#patch for general information on PATCH requests for the Google Cloud Storage JSON API.

Constructors

ObjectAccessControlPatchBuilder()

Functions

BuildPatch() const

Returns
Type Description
std::string

set_entity(std::string const &)

Parameter
Name Description
v std::string const &
Returns
Type Description
ObjectAccessControlPatchBuilder &

delete_entity()

Returns
Type Description
ObjectAccessControlPatchBuilder &

set_role(std::string const &)

Parameter
Name Description
v std::string const &
Returns
Type Description
ObjectAccessControlPatchBuilder &

delete_role()

Returns
Type Description
ObjectAccessControlPatchBuilder &