Class BucketAccessControlPatchBuilder (2.23.0)

Prepares a patch for a BucketAccessControl resource.

The BucketAccessControl 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

BucketAccessControlPatchBuilder()

Functions

BuildPatch() const

Returns
Type Description
std::string

set_entity(std::string const &)

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

delete_entity()

Returns
Type Description
BucketAccessControlPatchBuilder &

set_role(std::string const &)

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

delete_role()

Returns
Type Description
BucketAccessControlPatchBuilder &