Service describing handlers for resources.
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
DepServiceClient(DepServiceClient const &)
Copy and move support
Parameter | |
---|---|
Name | Description |
|
DepServiceClient const &
|
DepServiceClient(DepServiceClient &&)
Copy and move support
Parameter | |
---|---|
Name | Description |
|
DepServiceClient &&
|
DepServiceClient(std::shared_ptr< DepServiceConnection >, Options)
Parameters | |
---|---|
Name | Description |
connection |
std::shared_ptr< DepServiceConnection >
|
opts |
Options
|
Operators
operator=(DepServiceClient const &)
Copy and move support
Parameter | |
---|---|
Name | Description |
|
DepServiceClient const &
|
Returns | |
---|---|
Type | Description |
DepServiceClient & |
operator=(DepServiceClient &&)
Copy and move support
Parameter | |
---|---|
Name | Description |
|
DepServiceClient &&
|
Returns | |
---|---|
Type | Description |
DepServiceClient & |
Functions
ListLbTrafficExtensions(std::string const &, Options)
Lists LbTrafficExtension
resources in a given project and location.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. The project and location from which the |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::networkservices::v1::LbTrafficExtension > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
ListLbTrafficExtensions(google::cloud::networkservices::v1::ListLbTrafficExtensionsRequest, Options)
Lists LbTrafficExtension
resources in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::networkservices::v1::ListLbTrafficExtensionsRequest
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 |
StreamRange< google::cloud::networkservices::v1::LbTrafficExtension > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
GetLbTrafficExtension(std::string const &, Options)
Gets details of the specified LbTrafficExtension
resource.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. A name of the |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::networkservices::v1::LbTrafficExtension > |
the result of the RPC. The response message type (google.cloud.networkservices.v1.LbTrafficExtension) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetLbTrafficExtension(google::cloud::networkservices::v1::GetLbTrafficExtensionRequest const &, Options)
Gets details of the specified LbTrafficExtension
resource.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::networkservices::v1::GetLbTrafficExtensionRequest 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::cloud::networkservices::v1::LbTrafficExtension > |
the result of the RPC. The response message type (google.cloud.networkservices.v1.LbTrafficExtension) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
CreateLbTrafficExtension(std::string const &, google::cloud::networkservices::v1::LbTrafficExtension const &, std::string const &, Options)
Creates a new LbTrafficExtension
resource in a given project and location.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. The parent resource of the |
lb_traffic_extension |
google::cloud::networkservices::v1::LbTrafficExtension const &
Required. |
lb_traffic_extension_id |
std::string const &
Required. User-provided ID of the |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::networkservices::v1::LbTrafficExtension > > |
A |
CreateLbTrafficExtension(NoAwaitTag, std::string const &, google::cloud::networkservices::v1::LbTrafficExtension const &, std::string const &, Options)
Creates a new LbTrafficExtension
resource in a given project and location.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
parent |
std::string const &
|
lb_traffic_extension |
google::cloud::networkservices::v1::LbTrafficExtension const &
|
lb_traffic_extension_id |
std::string const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
CreateLbTrafficExtension(google::cloud::networkservices::v1::CreateLbTrafficExtensionRequest const &, Options)
Creates a new LbTrafficExtension
resource in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::networkservices::v1::CreateLbTrafficExtensionRequest 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 |
future< StatusOr< google::cloud::networkservices::v1::LbTrafficExtension > > |
A |
CreateLbTrafficExtension(NoAwaitTag, google::cloud::networkservices::v1::CreateLbTrafficExtensionRequest const &, Options)
Creates a new LbTrafficExtension
resource in a given project and location.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
request |
google::cloud::networkservices::v1::CreateLbTrafficExtensionRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
CreateLbTrafficExtension(google::longrunning::Operation const &, Options)
Creates a new LbTrafficExtension
resource in a given project and location.
This method accepts a google::longrunning::Operation
that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.
Parameters | |
---|---|
Name | Description |
operation |
google::longrunning::Operation const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::networkservices::v1::LbTrafficExtension > > |
UpdateLbTrafficExtension(google::cloud::networkservices::v1::LbTrafficExtension const &, google::protobuf::FieldMask const &, Options)
Updates the parameters of the specified LbTrafficExtension
resource.
Parameters | |
---|---|
Name | Description |
lb_traffic_extension |
google::cloud::networkservices::v1::LbTrafficExtension const &
Required. |
update_mask |
google::protobuf::FieldMask const &
Optional. Used to specify the fields to be overwritten in the |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::networkservices::v1::LbTrafficExtension > > |
A |
UpdateLbTrafficExtension(NoAwaitTag, google::cloud::networkservices::v1::LbTrafficExtension const &, google::protobuf::FieldMask const &, Options)
Updates the parameters of the specified LbTrafficExtension
resource.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
lb_traffic_extension |
google::cloud::networkservices::v1::LbTrafficExtension const &
|
update_mask |
google::protobuf::FieldMask const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
UpdateLbTrafficExtension(google::cloud::networkservices::v1::UpdateLbTrafficExtensionRequest const &, Options)
Updates the parameters of the specified LbTrafficExtension
resource.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::networkservices::v1::UpdateLbTrafficExtensionRequest 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 |
future< StatusOr< google::cloud::networkservices::v1::LbTrafficExtension > > |
A |
UpdateLbTrafficExtension(NoAwaitTag, google::cloud::networkservices::v1::UpdateLbTrafficExtensionRequest const &, Options)
Updates the parameters of the specified LbTrafficExtension
resource.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
request |
google::cloud::networkservices::v1::UpdateLbTrafficExtensionRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
UpdateLbTrafficExtension(google::longrunning::Operation const &, Options)
Updates the parameters of the specified LbTrafficExtension
resource.
This method accepts a google::longrunning::Operation
that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.
Parameters | |
---|---|
Name | Description |
operation |
google::longrunning::Operation const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::networkservices::v1::LbTrafficExtension > > |
DeleteLbTrafficExtension(std::string const &, Options)
Deletes the specified LbTrafficExtension
resource.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. The name of the |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::networkservices::v1::OperationMetadata > > |
A |
DeleteLbTrafficExtension(NoAwaitTag, std::string const &, Options)
Deletes the specified LbTrafficExtension
resource.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
name |
std::string const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
DeleteLbTrafficExtension(google::cloud::networkservices::v1::DeleteLbTrafficExtensionRequest const &, Options)
Deletes the specified LbTrafficExtension
resource.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::networkservices::v1::DeleteLbTrafficExtensionRequest 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 |
future< StatusOr< google::cloud::networkservices::v1::OperationMetadata > > |
A |
DeleteLbTrafficExtension(NoAwaitTag, google::cloud::networkservices::v1::DeleteLbTrafficExtensionRequest const &, Options)
Deletes the specified LbTrafficExtension
resource.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
request |
google::cloud::networkservices::v1::DeleteLbTrafficExtensionRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
DeleteLbTrafficExtension(google::longrunning::Operation const &, Options)
Deletes the specified LbTrafficExtension
resource.
This method accepts a google::longrunning::Operation
that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.
Parameters | |
---|---|
Name | Description |
operation |
google::longrunning::Operation const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::networkservices::v1::OperationMetadata > > |
ListLbRouteExtensions(std::string const &, Options)
Lists LbRouteExtension
resources in a given project and location.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. The project and location from which the |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::networkservices::v1::LbRouteExtension > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
ListLbRouteExtensions(google::cloud::networkservices::v1::ListLbRouteExtensionsRequest, Options)
Lists LbRouteExtension
resources in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::networkservices::v1::ListLbRouteExtensionsRequest
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 |
StreamRange< google::cloud::networkservices::v1::LbRouteExtension > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
GetLbRouteExtension(std::string const &, Options)
Gets details of the specified LbRouteExtension
resource.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. A name of the |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::networkservices::v1::LbRouteExtension > |
the result of the RPC. The response message type (google.cloud.networkservices.v1.LbRouteExtension) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetLbRouteExtension(google::cloud::networkservices::v1::GetLbRouteExtensionRequest const &, Options)
Gets details of the specified LbRouteExtension
resource.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::networkservices::v1::GetLbRouteExtensionRequest 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::cloud::networkservices::v1::LbRouteExtension > |
the result of the RPC. The response message type (google.cloud.networkservices.v1.LbRouteExtension) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
CreateLbRouteExtension(std::string const &, google::cloud::networkservices::v1::LbRouteExtension const &, std::string const &, Options)
Creates a new LbRouteExtension
resource in a given project and location.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. The parent resource of the |
lb_route_extension |
google::cloud::networkservices::v1::LbRouteExtension const &
Required. |
lb_route_extension_id |
std::string const &
Required. User-provided ID of the |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::networkservices::v1::LbRouteExtension > > |
A |
CreateLbRouteExtension(NoAwaitTag, std::string const &, google::cloud::networkservices::v1::LbRouteExtension const &, std::string const &, Options)
Creates a new LbRouteExtension
resource in a given project and location.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
parent |
std::string const &
|
lb_route_extension |
google::cloud::networkservices::v1::LbRouteExtension const &
|
lb_route_extension_id |
std::string const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
CreateLbRouteExtension(google::cloud::networkservices::v1::CreateLbRouteExtensionRequest const &, Options)
Creates a new LbRouteExtension
resource in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::networkservices::v1::CreateLbRouteExtensionRequest 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 |
future< StatusOr< google::cloud::networkservices::v1::LbRouteExtension > > |
A |
CreateLbRouteExtension(NoAwaitTag, google::cloud::networkservices::v1::CreateLbRouteExtensionRequest const &, Options)
Creates a new LbRouteExtension
resource in a given project and location.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
request |
google::cloud::networkservices::v1::CreateLbRouteExtensionRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
CreateLbRouteExtension(google::longrunning::Operation const &, Options)
Creates a new LbRouteExtension
resource in a given project and location.
This method accepts a google::longrunning::Operation
that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.
Parameters | |
---|---|
Name | Description |
operation |
google::longrunning::Operation const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::networkservices::v1::LbRouteExtension > > |
UpdateLbRouteExtension(google::cloud::networkservices::v1::LbRouteExtension const &, google::protobuf::FieldMask const &, Options)
Updates the parameters of the specified LbRouteExtension
resource.
Parameters | |
---|---|
Name | Description |
lb_route_extension |
google::cloud::networkservices::v1::LbRouteExtension const &
Required. |
update_mask |
google::protobuf::FieldMask const &
Optional. Used to specify the fields to be overwritten in the |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::networkservices::v1::LbRouteExtension > > |
A |
UpdateLbRouteExtension(NoAwaitTag, google::cloud::networkservices::v1::LbRouteExtension const &, google::protobuf::FieldMask const &, Options)
Updates the parameters of the specified LbRouteExtension
resource.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
lb_route_extension |
google::cloud::networkservices::v1::LbRouteExtension const &
|
update_mask |
google::protobuf::FieldMask const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
UpdateLbRouteExtension(google::cloud::networkservices::v1::UpdateLbRouteExtensionRequest const &, Options)
Updates the parameters of the specified LbRouteExtension
resource.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::networkservices::v1::UpdateLbRouteExtensionRequest 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 |
future< StatusOr< google::cloud::networkservices::v1::LbRouteExtension > > |
A |
UpdateLbRouteExtension(NoAwaitTag, google::cloud::networkservices::v1::UpdateLbRouteExtensionRequest const &, Options)
Updates the parameters of the specified LbRouteExtension
resource.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
request |
google::cloud::networkservices::v1::UpdateLbRouteExtensionRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
UpdateLbRouteExtension(google::longrunning::Operation const &, Options)
Updates the parameters of the specified LbRouteExtension
resource.
This method accepts a google::longrunning::Operation
that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.
Parameters | |
---|---|
Name | Description |
operation |
google::longrunning::Operation const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::networkservices::v1::LbRouteExtension > > |
DeleteLbRouteExtension(std::string const &, Options)
Deletes the specified LbRouteExtension
resource.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. The name of the |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::networkservices::v1::OperationMetadata > > |
A |
DeleteLbRouteExtension(NoAwaitTag, std::string const &, Options)
Deletes the specified LbRouteExtension
resource.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
name |
std::string const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
DeleteLbRouteExtension(google::cloud::networkservices::v1::DeleteLbRouteExtensionRequest const &, Options)
Deletes the specified LbRouteExtension
resource.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::networkservices::v1::DeleteLbRouteExtensionRequest 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 |
future< StatusOr< google::cloud::networkservices::v1::OperationMetadata > > |
A |
DeleteLbRouteExtension(NoAwaitTag, google::cloud::networkservices::v1::DeleteLbRouteExtensionRequest const &, Options)
Deletes the specified LbRouteExtension
resource.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
request |
google::cloud::networkservices::v1::DeleteLbRouteExtensionRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
DeleteLbRouteExtension(google::longrunning::Operation const &, Options)
Deletes the specified LbRouteExtension
resource.
This method accepts a google::longrunning::Operation
that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.
Parameters | |
---|---|
Name | Description |
operation |
google::longrunning::Operation const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::networkservices::v1::OperationMetadata > > |