Represent bucket names.
Bucket names must be properly formatted before using the storage gRPC API.
Constructors
BucketName(BucketName const &)
Returns the name.
Parameter | |
---|---|
Name | Description |
|
BucketName const &
|
BucketName(BucketName &&)
Returns the name.
Parameter | |
---|---|
Name | Description |
|
BucketName &&
|
BucketName(std::string)
Constructs a bucket name using name
.
Parameter | |
---|---|
Name | Description |
name |
std::string
|
Operators
operator=(BucketName const &)
Returns the name.
Parameter | |
---|---|
Name | Description |
|
BucketName const &
|
Returns | |
---|---|
Type | Description |
BucketName & |
operator=(BucketName &&)
Returns the name.
Parameter | |
---|---|
Name | Description |
|
BucketName &&
|
Returns | |
---|---|
Type | Description |
BucketName & |
Functions
name() const
Returns the name.
Returns | |
---|---|
Type | Description |
std::string const & |
FullName() const
Returns the fully qualified bucket name as a string of the form: "projects/_/buckets/{name}".
Returns | |
---|---|
Type | Description |
std::string |