UpdateInstanceRequestBuilder is a builder class for google::spanner::admin::instance::v1::UpdateInstanceRequest
More...
#include <google/cloud/spanner/update_instance_request_builder.h>
UpdateInstanceRequestBuilder is a builder class for google::spanner::admin::instance::v1::UpdateInstanceRequest
This is useful when calling google::cloud::spanner::InstanceAdminClient::UpdateInstance()
function.
- Example
std::string const& project_id,
std::string const& instance_id,
std::string const& new_display_name) {
auto instance = f.get();
if (!instance) throw std::runtime_error(instance.status().message());
std::cout << "Updated instance [" << in << "]\n";
}
This class identifies a Cloud Spanner Instance.
UpdateInstanceRequestBuilder is a builder class for google::spanner::admin::instance::v1::UpdateInsta...
google::spanner::admin::instance::v1::UpdateInstanceRequest & Build() &
UpdateInstanceRequestBuilder & SetDisplayName(std::string display_name) &
Cloud Spanner Instance Admin API.
future< StatusOr< google::spanner::admin::instance::v1::Instance > > UpdateInstance(google::spanner::admin::instance::v1::Instance const &instance, google::protobuf::FieldMask const &field_mask)
Updates an instance, and begins allocating or releasing resources as requested.
Definition at line 40 of file update_instance_request_builder.h.
◆ UpdateInstanceRequestBuilder() [1/6]
google::cloud::spanner::v1::UpdateInstanceRequestBuilder::UpdateInstanceRequestBuilder |
( |
| ) |
|
|
default |
◆ UpdateInstanceRequestBuilder() [2/6]
◆ UpdateInstanceRequestBuilder() [3/6]
◆ UpdateInstanceRequestBuilder() [4/6]
google::cloud::spanner::v1::UpdateInstanceRequestBuilder::UpdateInstanceRequestBuilder |
( |
std::string |
instance_name | ) |
|
|
inlineexplicit |
◆ UpdateInstanceRequestBuilder() [5/6]
google::cloud::spanner::v1::UpdateInstanceRequestBuilder::UpdateInstanceRequestBuilder |
( |
Instance const & |
in | ) |
|
|
inlineexplicit |
◆ UpdateInstanceRequestBuilder() [6/6]
google::cloud::spanner::v1::UpdateInstanceRequestBuilder::UpdateInstanceRequestBuilder |
( |
google::spanner::admin::instance::v1::Instance |
in | ) |
|
|
inlineexplicit |
◆ AddLabels() [1/2]
UpdateInstanceRequestBuilder& google::cloud::spanner::v1::UpdateInstanceRequestBuilder::AddLabels |
( |
std::map< std::string, std::string > const & |
labels | ) |
& |
|
inline |
◆ AddLabels() [2/2]
UpdateInstanceRequestBuilder&& google::cloud::spanner::v1::UpdateInstanceRequestBuilder::AddLabels |
( |
std::map< std::string, std::string > const & |
labels | ) |
&& |
|
inline |
◆ Build() [1/2]
google::spanner::admin::instance::v1::UpdateInstanceRequest& google::cloud::spanner::v1::UpdateInstanceRequestBuilder::Build |
( |
| ) |
& |
|
inline |
◆ Build() [2/2]
google::spanner::admin::instance::v1::UpdateInstanceRequest&& google::cloud::spanner::v1::UpdateInstanceRequestBuilder::Build |
( |
| ) |
&& |
|
inline |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ SetDisplayName() [1/2]
◆ SetDisplayName() [2/2]
◆ SetLabels() [1/2]
UpdateInstanceRequestBuilder& google::cloud::spanner::v1::UpdateInstanceRequestBuilder::SetLabels |
( |
std::map< std::string, std::string > const & |
labels | ) |
& |
|
inline |
◆ SetLabels() [2/2]
UpdateInstanceRequestBuilder&& google::cloud::spanner::v1::UpdateInstanceRequestBuilder::SetLabels |
( |
std::map< std::string, std::string > const & |
labels | ) |
&& |
|
inline |
◆ SetName() [1/2]
◆ SetName() [2/2]
◆ SetNodeCount() [1/2]
◆ SetNodeCount() [2/2]
◆ SetProcessingUnits() [1/2]
◆ SetProcessingUnits() [2/2]