The Quotas Adjuster Settings API is an infrastructure service for Google Cloud that lets service consumers view and update their quota adjuster settings.
- Update quota adjuster settings.
- Get the name of the configurations.
Equality
Instances of this class created via copy-construction or copy-assignment always compare equal. Instances created with equal std::shared_ptr<*Connection> objects compare equal. Objects that compare equal share the same underlying resources.
Performance
Creating a new instance of this class is a relatively expensive operation, new objects establish new connections to the service. In contrast, copy-construction, move-construction, and the corresponding assignment operations are relatively efficient as the copies share all underlying resources.
Thread Safety
Concurrent access to different instances of this class, even if they compare equal, is guaranteed to work. Two or more threads operating on the same instance of this class is not guaranteed to work. Since copy-construction and move-construction is a relatively efficient operation, consider using such a copy when using this class from multiple threads.
Constructors
QuotaAdjusterSettingsManagerClient(QuotaAdjusterSettingsManagerClient const &)
Copy and move support
| Parameter | |
|---|---|
| Name | Description |
|
QuotaAdjusterSettingsManagerClient const &
|
QuotaAdjusterSettingsManagerClient(QuotaAdjusterSettingsManagerClient &&)
Copy and move support
| Parameter | |
|---|---|
| Name | Description |
|
QuotaAdjusterSettingsManagerClient &&
|
QuotaAdjusterSettingsManagerClient(std::shared_ptr< QuotaAdjusterSettingsManagerConnection >, Options)
| Parameters | |
|---|---|
| Name | Description |
connection |
std::shared_ptr< QuotaAdjusterSettingsManagerConnection >
|
opts |
Options
|
Operators
operator=(QuotaAdjusterSettingsManagerClient const &)
Copy and move support
| Parameter | |
|---|---|
| Name | Description |
|
QuotaAdjusterSettingsManagerClient const &
|
| Returns | |
|---|---|
| Type | Description |
QuotaAdjusterSettingsManagerClient & |
|
operator=(QuotaAdjusterSettingsManagerClient &&)
Copy and move support
| Parameter | |
|---|---|
| Name | Description |
|
QuotaAdjusterSettingsManagerClient &&
|
| Returns | |
|---|---|
| Type | Description |
QuotaAdjusterSettingsManagerClient & |
|
Functions
UpdateQuotaAdjusterSettings(google::api::cloudquotas::v1::QuotaAdjusterSettings const &, google::protobuf::FieldMask const &, Options)
Updates the QuotaAdjusterSettings for the specified resource.
| Parameters | |
|---|---|
| Name | Description |
quota_adjuster_settings |
google::api::cloudquotas::v1::QuotaAdjusterSettings const &
Required. The QuotaAdjusterSettings to update. |
update_mask |
google::protobuf::FieldMask const &
Optional. The list of fields to update. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
| Returns | |
|---|---|
| Type | Description |
StatusOr< google::api::cloudquotas::v1::QuotaAdjusterSettings > |
the result of the RPC. The response message type (google.api.cloudquotas.v1.QuotaAdjusterSettings) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
UpdateQuotaAdjusterSettings(google::api::cloudquotas::v1::UpdateQuotaAdjusterSettingsRequest const &, Options)
Updates the QuotaAdjusterSettings for the specified resource.
| Parameters | |
|---|---|
| Name | Description |
request |
google::api::cloudquotas::v1::UpdateQuotaAdjusterSettingsRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
| Returns | |
|---|---|
| Type | Description |
StatusOr< google::api::cloudquotas::v1::QuotaAdjusterSettings > |
the result of the RPC. The response message type (google.api.cloudquotas.v1.QuotaAdjusterSettings) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetQuotaAdjusterSettings(std::string const &, Options)
Gets the QuotaAdjusterSettings for the specified resource.
| Parameters | |
|---|---|
| Name | Description |
name |
std::string const &
Required. Identifier. Name of the |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
| Returns | |
|---|---|
| Type | Description |
StatusOr< google::api::cloudquotas::v1::QuotaAdjusterSettings > |
the result of the RPC. The response message type (google.api.cloudquotas.v1.QuotaAdjusterSettings) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetQuotaAdjusterSettings(google::api::cloudquotas::v1::GetQuotaAdjusterSettingsRequest const &, Options)
Gets the QuotaAdjusterSettings for the specified resource.
| Parameters | |
|---|---|
| Name | Description |
request |
google::api::cloudquotas::v1::GetQuotaAdjusterSettingsRequest const &
Unary RPCs, such as the one wrapped by this function, receive a single |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
| Returns | |
|---|---|
| Type | Description |
StatusOr< google::api::cloudquotas::v1::QuotaAdjusterSettings > |
the result of the RPC. The response message type (google.api.cloudquotas.v1.QuotaAdjusterSettings) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |