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
NetworkServicesClient(NetworkServicesClient const &)
Copy and move support
Parameter | |
---|---|
Name | Description |
|
NetworkServicesClient const &
|
NetworkServicesClient(NetworkServicesClient &&)
Copy and move support
Parameter | |
---|---|
Name | Description |
|
NetworkServicesClient &&
|
NetworkServicesClient(std::shared_ptr< NetworkServicesConnection >, Options)
Parameters | |
---|---|
Name | Description |
connection |
std::shared_ptr< NetworkServicesConnection >
|
opts |
Options
|
Operators
operator=(NetworkServicesClient const &)
Copy and move support
Parameter | |
---|---|
Name | Description |
|
NetworkServicesClient const &
|
Returns | |
---|---|
Type | Description |
NetworkServicesClient & |
operator=(NetworkServicesClient &&)
Copy and move support
Parameter | |
---|---|
Name | Description |
|
NetworkServicesClient &&
|
Returns | |
---|---|
Type | Description |
NetworkServicesClient & |
Functions
ListEndpointPolicies(std::string const &, Options)
Lists EndpointPolicies in a given project and location.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. The project and location from which the EndpointPolicies should be listed, specified in the format |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::networkservices::v1::EndpointPolicy > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
ListEndpointPolicies(google::cloud::networkservices::v1::ListEndpointPoliciesRequest, Options)
Lists EndpointPolicies in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::networkservices::v1::ListEndpointPoliciesRequest
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::EndpointPolicy > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
GetEndpointPolicy(std::string const &, Options)
Gets details of a single EndpointPolicy.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. A name of the EndpointPolicy to get. Must be in the format |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::networkservices::v1::EndpointPolicy > |
the result of the RPC. The response message type (google.cloud.networkservices.v1.EndpointPolicy) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetEndpointPolicy(google::cloud::networkservices::v1::GetEndpointPolicyRequest const &, Options)
Gets details of a single EndpointPolicy.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::networkservices::v1::GetEndpointPolicyRequest 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::EndpointPolicy > |
the result of the RPC. The response message type (google.cloud.networkservices.v1.EndpointPolicy) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
CreateEndpointPolicy(std::string const &, google::cloud::networkservices::v1::EndpointPolicy const &, std::string const &, Options)
Creates a new EndpointPolicy in a given project and location.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. The parent resource of the EndpointPolicy. Must be in the format |
endpoint_policy |
google::cloud::networkservices::v1::EndpointPolicy const &
Required. EndpointPolicy resource to be created. |
endpoint_policy_id |
std::string const &
Required. Short name of the EndpointPolicy resource to be created. E.g. "CustomECS". |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::networkservices::v1::EndpointPolicy > > |
A |
CreateEndpointPolicy(NoAwaitTag, std::string const &, google::cloud::networkservices::v1::EndpointPolicy const &, std::string const &, Options)
Creates a new EndpointPolicy 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 &
|
endpoint_policy |
google::cloud::networkservices::v1::EndpointPolicy const &
|
endpoint_policy_id |
std::string const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
CreateEndpointPolicy(google::cloud::networkservices::v1::CreateEndpointPolicyRequest const &, Options)
Creates a new EndpointPolicy in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::networkservices::v1::CreateEndpointPolicyRequest 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::EndpointPolicy > > |
A |
CreateEndpointPolicy(NoAwaitTag, google::cloud::networkservices::v1::CreateEndpointPolicyRequest const &, Options)
Creates a new EndpointPolicy 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::CreateEndpointPolicyRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
CreateEndpointPolicy(google::longrunning::Operation const &, Options)
Creates a new EndpointPolicy 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::EndpointPolicy > > |
UpdateEndpointPolicy(google::cloud::networkservices::v1::EndpointPolicy const &, google::protobuf::FieldMask const &, Options)
Updates the parameters of a single EndpointPolicy.
Parameters | |
---|---|
Name | Description |
endpoint_policy |
google::cloud::networkservices::v1::EndpointPolicy const &
Required. Updated EndpointPolicy resource. |
update_mask |
google::protobuf::FieldMask const &
Optional. Field mask is used to specify the fields to be overwritten in the EndpointPolicy resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::networkservices::v1::EndpointPolicy > > |
A |
UpdateEndpointPolicy(NoAwaitTag, google::cloud::networkservices::v1::EndpointPolicy const &, google::protobuf::FieldMask const &, Options)
Updates the parameters of a single EndpointPolicy.
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
|
endpoint_policy |
google::cloud::networkservices::v1::EndpointPolicy const &
|
update_mask |
google::protobuf::FieldMask const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
UpdateEndpointPolicy(google::cloud::networkservices::v1::UpdateEndpointPolicyRequest const &, Options)
Updates the parameters of a single EndpointPolicy.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::networkservices::v1::UpdateEndpointPolicyRequest 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::EndpointPolicy > > |
A |
UpdateEndpointPolicy(NoAwaitTag, google::cloud::networkservices::v1::UpdateEndpointPolicyRequest const &, Options)
Updates the parameters of a single EndpointPolicy.
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::UpdateEndpointPolicyRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
UpdateEndpointPolicy(google::longrunning::Operation const &, Options)
Updates the parameters of a single EndpointPolicy.
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::EndpointPolicy > > |
DeleteEndpointPolicy(std::string const &, Options)
Deletes a single EndpointPolicy.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. A name of the EndpointPolicy to delete. Must be in the format |
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 |
DeleteEndpointPolicy(NoAwaitTag, std::string const &, Options)
Deletes a single EndpointPolicy.
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 > |
DeleteEndpointPolicy(google::cloud::networkservices::v1::DeleteEndpointPolicyRequest const &, Options)
Deletes a single EndpointPolicy.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::networkservices::v1::DeleteEndpointPolicyRequest 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 |
DeleteEndpointPolicy(NoAwaitTag, google::cloud::networkservices::v1::DeleteEndpointPolicyRequest const &, Options)
Deletes a single EndpointPolicy.
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::DeleteEndpointPolicyRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
DeleteEndpointPolicy(google::longrunning::Operation const &, Options)
Deletes a single EndpointPolicy.
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 > > |
ListGateways(std::string const &, Options)
Lists Gateways in a given project and location.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. The project and location from which the Gateways should be listed, specified in the format |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::networkservices::v1::Gateway > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
ListGateways(google::cloud::networkservices::v1::ListGatewaysRequest, Options)
Lists Gateways in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::networkservices::v1::ListGatewaysRequest
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::Gateway > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
GetGateway(std::string const &, Options)
Gets details of a single Gateway.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. A name of the Gateway to get. Must be in the format |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::networkservices::v1::Gateway > |
the result of the RPC. The response message type (google.cloud.networkservices.v1.Gateway) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetGateway(google::cloud::networkservices::v1::GetGatewayRequest const &, Options)
Gets details of a single Gateway.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::networkservices::v1::GetGatewayRequest 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::Gateway > |
the result of the RPC. The response message type (google.cloud.networkservices.v1.Gateway) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
CreateGateway(std::string const &, google::cloud::networkservices::v1::Gateway const &, std::string const &, Options)
Creates a new Gateway in a given project and location.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. The parent resource of the Gateway. Must be in the format |
gateway |
google::cloud::networkservices::v1::Gateway const &
Required. Gateway resource to be created. |
gateway_id |
std::string const &
Required. Short name of the Gateway resource to be created. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::networkservices::v1::Gateway > > |
A |
CreateGateway(NoAwaitTag, std::string const &, google::cloud::networkservices::v1::Gateway const &, std::string const &, Options)
Creates a new Gateway 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 &
|
gateway |
google::cloud::networkservices::v1::Gateway const &
|
gateway_id |
std::string const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
CreateGateway(google::cloud::networkservices::v1::CreateGatewayRequest const &, Options)
Creates a new Gateway in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::networkservices::v1::CreateGatewayRequest 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::Gateway > > |
A |
CreateGateway(NoAwaitTag, google::cloud::networkservices::v1::CreateGatewayRequest const &, Options)
Creates a new Gateway 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::CreateGatewayRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
CreateGateway(google::longrunning::Operation const &, Options)
Creates a new Gateway 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::Gateway > > |
UpdateGateway(google::cloud::networkservices::v1::Gateway const &, google::protobuf::FieldMask const &, Options)
Updates the parameters of a single Gateway.
Parameters | |
---|---|
Name | Description |
gateway |
google::cloud::networkservices::v1::Gateway const &
Required. Updated Gateway resource. |
update_mask |
google::protobuf::FieldMask const &
Optional. Field mask is used to specify the fields to be overwritten in the Gateway resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::networkservices::v1::Gateway > > |
A |
UpdateGateway(NoAwaitTag, google::cloud::networkservices::v1::Gateway const &, google::protobuf::FieldMask const &, Options)
Updates the parameters of a single Gateway.
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
|
gateway |
google::cloud::networkservices::v1::Gateway const &
|
update_mask |
google::protobuf::FieldMask const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
UpdateGateway(google::cloud::networkservices::v1::UpdateGatewayRequest const &, Options)
Updates the parameters of a single Gateway.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::networkservices::v1::UpdateGatewayRequest 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::Gateway > > |
A |
UpdateGateway(NoAwaitTag, google::cloud::networkservices::v1::UpdateGatewayRequest const &, Options)
Updates the parameters of a single Gateway.
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::UpdateGatewayRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
UpdateGateway(google::longrunning::Operation const &, Options)
Updates the parameters of a single Gateway.
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::Gateway > > |
DeleteGateway(std::string const &, Options)
Deletes a single Gateway.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. A name of the Gateway to delete. Must be in the format |
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 |
DeleteGateway(NoAwaitTag, std::string const &, Options)
Deletes a single Gateway.
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 > |
DeleteGateway(google::cloud::networkservices::v1::DeleteGatewayRequest const &, Options)
Deletes a single Gateway.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::networkservices::v1::DeleteGatewayRequest 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 |
DeleteGateway(NoAwaitTag, google::cloud::networkservices::v1::DeleteGatewayRequest const &, Options)
Deletes a single Gateway.
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::DeleteGatewayRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
DeleteGateway(google::longrunning::Operation const &, Options)
Deletes a single Gateway.
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 > > |
ListGrpcRoutes(std::string const &, Options)
Lists GrpcRoutes in a given project and location.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. The project and location from which the GrpcRoutes should be listed, specified in the format |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::networkservices::v1::GrpcRoute > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
ListGrpcRoutes(google::cloud::networkservices::v1::ListGrpcRoutesRequest, Options)
Lists GrpcRoutes in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::networkservices::v1::ListGrpcRoutesRequest
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::GrpcRoute > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
GetGrpcRoute(std::string const &, Options)
Gets details of a single GrpcRoute.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. A name of the GrpcRoute to get. Must be in the format |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::networkservices::v1::GrpcRoute > |
the result of the RPC. The response message type (google.cloud.networkservices.v1.GrpcRoute) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetGrpcRoute(google::cloud::networkservices::v1::GetGrpcRouteRequest const &, Options)
Gets details of a single GrpcRoute.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::networkservices::v1::GetGrpcRouteRequest 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::GrpcRoute > |
the result of the RPC. The response message type (google.cloud.networkservices.v1.GrpcRoute) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
CreateGrpcRoute(std::string const &, google::cloud::networkservices::v1::GrpcRoute const &, std::string const &, Options)
Creates a new GrpcRoute in a given project and location.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. The parent resource of the GrpcRoute. Must be in the format |
grpc_route |
google::cloud::networkservices::v1::GrpcRoute const &
Required. GrpcRoute resource to be created. |
grpc_route_id |
std::string const &
Required. Short name of the GrpcRoute resource to be created. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::networkservices::v1::GrpcRoute > > |
A |
CreateGrpcRoute(NoAwaitTag, std::string const &, google::cloud::networkservices::v1::GrpcRoute const &, std::string const &, Options)
Creates a new GrpcRoute 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 &
|
grpc_route |
google::cloud::networkservices::v1::GrpcRoute const &
|
grpc_route_id |
std::string const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
CreateGrpcRoute(google::cloud::networkservices::v1::CreateGrpcRouteRequest const &, Options)
Creates a new GrpcRoute in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::networkservices::v1::CreateGrpcRouteRequest 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::GrpcRoute > > |
A |
CreateGrpcRoute(NoAwaitTag, google::cloud::networkservices::v1::CreateGrpcRouteRequest const &, Options)
Creates a new GrpcRoute 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::CreateGrpcRouteRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
CreateGrpcRoute(google::longrunning::Operation const &, Options)
Creates a new GrpcRoute 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::GrpcRoute > > |
UpdateGrpcRoute(google::cloud::networkservices::v1::GrpcRoute const &, google::protobuf::FieldMask const &, Options)
Updates the parameters of a single GrpcRoute.
Parameters | |
---|---|
Name | Description |
grpc_route |
google::cloud::networkservices::v1::GrpcRoute const &
Required. Updated GrpcRoute resource. |
update_mask |
google::protobuf::FieldMask const &
Optional. Field mask is used to specify the fields to be overwritten in the GrpcRoute resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::networkservices::v1::GrpcRoute > > |
A |
UpdateGrpcRoute(NoAwaitTag, google::cloud::networkservices::v1::GrpcRoute const &, google::protobuf::FieldMask const &, Options)
Updates the parameters of a single GrpcRoute.
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
|
grpc_route |
google::cloud::networkservices::v1::GrpcRoute const &
|
update_mask |
google::protobuf::FieldMask const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
UpdateGrpcRoute(google::cloud::networkservices::v1::UpdateGrpcRouteRequest const &, Options)
Updates the parameters of a single GrpcRoute.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::networkservices::v1::UpdateGrpcRouteRequest 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::GrpcRoute > > |
A |
UpdateGrpcRoute(NoAwaitTag, google::cloud::networkservices::v1::UpdateGrpcRouteRequest const &, Options)
Updates the parameters of a single GrpcRoute.
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::UpdateGrpcRouteRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
UpdateGrpcRoute(google::longrunning::Operation const &, Options)
Updates the parameters of a single GrpcRoute.
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::GrpcRoute > > |
DeleteGrpcRoute(std::string const &, Options)
Deletes a single GrpcRoute.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. A name of the GrpcRoute to delete. Must be in the format |
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 |
DeleteGrpcRoute(NoAwaitTag, std::string const &, Options)
Deletes a single GrpcRoute.
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 > |
DeleteGrpcRoute(google::cloud::networkservices::v1::DeleteGrpcRouteRequest const &, Options)
Deletes a single GrpcRoute.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::networkservices::v1::DeleteGrpcRouteRequest 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 |
DeleteGrpcRoute(NoAwaitTag, google::cloud::networkservices::v1::DeleteGrpcRouteRequest const &, Options)
Deletes a single GrpcRoute.
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::DeleteGrpcRouteRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
DeleteGrpcRoute(google::longrunning::Operation const &, Options)
Deletes a single GrpcRoute.
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 > > |
ListHttpRoutes(std::string const &, Options)
Lists HttpRoute in a given project and location.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. The project and location from which the HttpRoutes should be listed, specified in the format |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::networkservices::v1::HttpRoute > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
ListHttpRoutes(google::cloud::networkservices::v1::ListHttpRoutesRequest, Options)
Lists HttpRoute in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::networkservices::v1::ListHttpRoutesRequest
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::HttpRoute > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
GetHttpRoute(std::string const &, Options)
Gets details of a single HttpRoute.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. A name of the HttpRoute to get. Must be in the format |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::networkservices::v1::HttpRoute > |
the result of the RPC. The response message type (google.cloud.networkservices.v1.HttpRoute) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetHttpRoute(google::cloud::networkservices::v1::GetHttpRouteRequest const &, Options)
Gets details of a single HttpRoute.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::networkservices::v1::GetHttpRouteRequest 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::HttpRoute > |
the result of the RPC. The response message type (google.cloud.networkservices.v1.HttpRoute) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
CreateHttpRoute(std::string const &, google::cloud::networkservices::v1::HttpRoute const &, std::string const &, Options)
Creates a new HttpRoute in a given project and location.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. The parent resource of the HttpRoute. Must be in the format |
http_route |
google::cloud::networkservices::v1::HttpRoute const &
Required. HttpRoute resource to be created. |
http_route_id |
std::string const &
Required. Short name of the HttpRoute resource to be created. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::networkservices::v1::HttpRoute > > |
A |
CreateHttpRoute(NoAwaitTag, std::string const &, google::cloud::networkservices::v1::HttpRoute const &, std::string const &, Options)
Creates a new HttpRoute 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 &
|
http_route |
google::cloud::networkservices::v1::HttpRoute const &
|
http_route_id |
std::string const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
CreateHttpRoute(google::cloud::networkservices::v1::CreateHttpRouteRequest const &, Options)
Creates a new HttpRoute in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::networkservices::v1::CreateHttpRouteRequest 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::HttpRoute > > |
A |
CreateHttpRoute(NoAwaitTag, google::cloud::networkservices::v1::CreateHttpRouteRequest const &, Options)
Creates a new HttpRoute 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::CreateHttpRouteRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
CreateHttpRoute(google::longrunning::Operation const &, Options)
Creates a new HttpRoute 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::HttpRoute > > |
UpdateHttpRoute(google::cloud::networkservices::v1::HttpRoute const &, google::protobuf::FieldMask const &, Options)
Updates the parameters of a single HttpRoute.
Parameters | |
---|---|
Name | Description |
http_route |
google::cloud::networkservices::v1::HttpRoute const &
Required. Updated HttpRoute resource. |
update_mask |
google::protobuf::FieldMask const &
Optional. Field mask is used to specify the fields to be overwritten in the HttpRoute resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::networkservices::v1::HttpRoute > > |
A |
UpdateHttpRoute(NoAwaitTag, google::cloud::networkservices::v1::HttpRoute const &, google::protobuf::FieldMask const &, Options)
Updates the parameters of a single HttpRoute.
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
|
http_route |
google::cloud::networkservices::v1::HttpRoute const &
|
update_mask |
google::protobuf::FieldMask const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
UpdateHttpRoute(google::cloud::networkservices::v1::UpdateHttpRouteRequest const &, Options)
Updates the parameters of a single HttpRoute.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::networkservices::v1::UpdateHttpRouteRequest 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::HttpRoute > > |
A |
UpdateHttpRoute(NoAwaitTag, google::cloud::networkservices::v1::UpdateHttpRouteRequest const &, Options)
Updates the parameters of a single HttpRoute.
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::UpdateHttpRouteRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
UpdateHttpRoute(google::longrunning::Operation const &, Options)
Updates the parameters of a single HttpRoute.
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::HttpRoute > > |
DeleteHttpRoute(std::string const &, Options)
Deletes a single HttpRoute.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. A name of the HttpRoute to delete. Must be in the format |
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 |
DeleteHttpRoute(NoAwaitTag, std::string const &, Options)
Deletes a single HttpRoute.
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 > |
DeleteHttpRoute(google::cloud::networkservices::v1::DeleteHttpRouteRequest const &, Options)
Deletes a single HttpRoute.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::networkservices::v1::DeleteHttpRouteRequest 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 |
DeleteHttpRoute(NoAwaitTag, google::cloud::networkservices::v1::DeleteHttpRouteRequest const &, Options)
Deletes a single HttpRoute.
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::DeleteHttpRouteRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
DeleteHttpRoute(google::longrunning::Operation const &, Options)
Deletes a single HttpRoute.
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 > > |
ListTcpRoutes(std::string const &, Options)
Lists TcpRoute in a given project and location.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. The project and location from which the TcpRoutes should be listed, specified in the format |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::networkservices::v1::TcpRoute > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
ListTcpRoutes(google::cloud::networkservices::v1::ListTcpRoutesRequest, Options)
Lists TcpRoute in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::networkservices::v1::ListTcpRoutesRequest
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::TcpRoute > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
GetTcpRoute(std::string const &, Options)
Gets details of a single TcpRoute.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. A name of the TcpRoute to get. Must be in the format |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::networkservices::v1::TcpRoute > |
the result of the RPC. The response message type (google.cloud.networkservices.v1.TcpRoute) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetTcpRoute(google::cloud::networkservices::v1::GetTcpRouteRequest const &, Options)
Gets details of a single TcpRoute.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::networkservices::v1::GetTcpRouteRequest 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::TcpRoute > |
the result of the RPC. The response message type (google.cloud.networkservices.v1.TcpRoute) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
CreateTcpRoute(std::string const &, google::cloud::networkservices::v1::TcpRoute const &, std::string const &, Options)
Creates a new TcpRoute in a given project and location.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. The parent resource of the TcpRoute. Must be in the format |
tcp_route |
google::cloud::networkservices::v1::TcpRoute const &
Required. TcpRoute resource to be created. |
tcp_route_id |
std::string const &
Required. Short name of the TcpRoute resource to be created. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::networkservices::v1::TcpRoute > > |
A |
CreateTcpRoute(NoAwaitTag, std::string const &, google::cloud::networkservices::v1::TcpRoute const &, std::string const &, Options)
Creates a new TcpRoute 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 &
|
tcp_route |
google::cloud::networkservices::v1::TcpRoute const &
|
tcp_route_id |
std::string const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
CreateTcpRoute(google::cloud::networkservices::v1::CreateTcpRouteRequest const &, Options)
Creates a new TcpRoute in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::networkservices::v1::CreateTcpRouteRequest 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::TcpRoute > > |
A |
CreateTcpRoute(NoAwaitTag, google::cloud::networkservices::v1::CreateTcpRouteRequest const &, Options)
Creates a new TcpRoute 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::CreateTcpRouteRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
CreateTcpRoute(google::longrunning::Operation const &, Options)
Creates a new TcpRoute 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::TcpRoute > > |
UpdateTcpRoute(google::cloud::networkservices::v1::TcpRoute const &, google::protobuf::FieldMask const &, Options)
Updates the parameters of a single TcpRoute.
Parameters | |
---|---|
Name | Description |
tcp_route |
google::cloud::networkservices::v1::TcpRoute const &
Required. Updated TcpRoute resource. |
update_mask |
google::protobuf::FieldMask const &
Optional. Field mask is used to specify the fields to be overwritten in the TcpRoute resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::networkservices::v1::TcpRoute > > |
A |
UpdateTcpRoute(NoAwaitTag, google::cloud::networkservices::v1::TcpRoute const &, google::protobuf::FieldMask const &, Options)
Updates the parameters of a single TcpRoute.
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
|
tcp_route |
google::cloud::networkservices::v1::TcpRoute const &
|
update_mask |
google::protobuf::FieldMask const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
UpdateTcpRoute(google::cloud::networkservices::v1::UpdateTcpRouteRequest const &, Options)
Updates the parameters of a single TcpRoute.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::networkservices::v1::UpdateTcpRouteRequest 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::TcpRoute > > |
A |
UpdateTcpRoute(NoAwaitTag, google::cloud::networkservices::v1::UpdateTcpRouteRequest const &, Options)
Updates the parameters of a single TcpRoute.
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::UpdateTcpRouteRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
UpdateTcpRoute(google::longrunning::Operation const &, Options)
Updates the parameters of a single TcpRoute.
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::TcpRoute > > |
DeleteTcpRoute(std::string const &, Options)
Deletes a single TcpRoute.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. A name of the TcpRoute to delete. Must be in the format |
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 |
DeleteTcpRoute(NoAwaitTag, std::string const &, Options)
Deletes a single TcpRoute.
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 > |
DeleteTcpRoute(google::cloud::networkservices::v1::DeleteTcpRouteRequest const &, Options)
Deletes a single TcpRoute.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::networkservices::v1::DeleteTcpRouteRequest 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 |
DeleteTcpRoute(NoAwaitTag, google::cloud::networkservices::v1::DeleteTcpRouteRequest const &, Options)
Deletes a single TcpRoute.
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::DeleteTcpRouteRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
DeleteTcpRoute(google::longrunning::Operation const &, Options)
Deletes a single TcpRoute.
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 > > |
ListTlsRoutes(std::string const &, Options)
Lists TlsRoute in a given project and location.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. The project and location from which the TlsRoutes should be listed, specified in the format |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::networkservices::v1::TlsRoute > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
ListTlsRoutes(google::cloud::networkservices::v1::ListTlsRoutesRequest, Options)
Lists TlsRoute in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::networkservices::v1::ListTlsRoutesRequest
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::TlsRoute > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
GetTlsRoute(std::string const &, Options)
Gets details of a single TlsRoute.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. A name of the TlsRoute to get. Must be in the format |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::networkservices::v1::TlsRoute > |
the result of the RPC. The response message type (google.cloud.networkservices.v1.TlsRoute) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetTlsRoute(google::cloud::networkservices::v1::GetTlsRouteRequest const &, Options)
Gets details of a single TlsRoute.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::networkservices::v1::GetTlsRouteRequest 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::TlsRoute > |
the result of the RPC. The response message type (google.cloud.networkservices.v1.TlsRoute) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
CreateTlsRoute(std::string const &, google::cloud::networkservices::v1::TlsRoute const &, std::string const &, Options)
Creates a new TlsRoute in a given project and location.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. The parent resource of the TlsRoute. Must be in the format |
tls_route |
google::cloud::networkservices::v1::TlsRoute const &
Required. TlsRoute resource to be created. |
tls_route_id |
std::string const &
Required. Short name of the TlsRoute resource to be created. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::networkservices::v1::TlsRoute > > |
A |
CreateTlsRoute(NoAwaitTag, std::string const &, google::cloud::networkservices::v1::TlsRoute const &, std::string const &, Options)
Creates a new TlsRoute 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 &
|
tls_route |
google::cloud::networkservices::v1::TlsRoute const &
|
tls_route_id |
std::string const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
CreateTlsRoute(google::cloud::networkservices::v1::CreateTlsRouteRequest const &, Options)
Creates a new TlsRoute in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::networkservices::v1::CreateTlsRouteRequest 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::TlsRoute > > |
A |
CreateTlsRoute(NoAwaitTag, google::cloud::networkservices::v1::CreateTlsRouteRequest const &, Options)
Creates a new TlsRoute 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::CreateTlsRouteRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
CreateTlsRoute(google::longrunning::Operation const &, Options)
Creates a new TlsRoute 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::TlsRoute > > |
UpdateTlsRoute(google::cloud::networkservices::v1::TlsRoute const &, google::protobuf::FieldMask const &, Options)
Updates the parameters of a single TlsRoute.
Parameters | |
---|---|
Name | Description |
tls_route |
google::cloud::networkservices::v1::TlsRoute const &
Required. Updated TlsRoute resource. |
update_mask |
google::protobuf::FieldMask const &
Optional. Field mask is used to specify the fields to be overwritten in the TlsRoute resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::networkservices::v1::TlsRoute > > |
A |
UpdateTlsRoute(NoAwaitTag, google::cloud::networkservices::v1::TlsRoute const &, google::protobuf::FieldMask const &, Options)
Updates the parameters of a single TlsRoute.
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
|
tls_route |
google::cloud::networkservices::v1::TlsRoute const &
|
update_mask |
google::protobuf::FieldMask const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
UpdateTlsRoute(google::cloud::networkservices::v1::UpdateTlsRouteRequest const &, Options)
Updates the parameters of a single TlsRoute.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::networkservices::v1::UpdateTlsRouteRequest 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::TlsRoute > > |
A |
UpdateTlsRoute(NoAwaitTag, google::cloud::networkservices::v1::UpdateTlsRouteRequest const &, Options)
Updates the parameters of a single TlsRoute.
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::UpdateTlsRouteRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
UpdateTlsRoute(google::longrunning::Operation const &, Options)
Updates the parameters of a single TlsRoute.
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::TlsRoute > > |
DeleteTlsRoute(std::string const &, Options)
Deletes a single TlsRoute.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. A name of the TlsRoute to delete. Must be in the format |
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 |
DeleteTlsRoute(NoAwaitTag, std::string const &, Options)
Deletes a single TlsRoute.
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 > |
DeleteTlsRoute(google::cloud::networkservices::v1::DeleteTlsRouteRequest const &, Options)
Deletes a single TlsRoute.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::networkservices::v1::DeleteTlsRouteRequest 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 |
DeleteTlsRoute(NoAwaitTag, google::cloud::networkservices::v1::DeleteTlsRouteRequest const &, Options)
Deletes a single TlsRoute.
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::DeleteTlsRouteRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
DeleteTlsRoute(google::longrunning::Operation const &, Options)
Deletes a single TlsRoute.
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 > > |
ListServiceBindings(std::string const &, Options)
Lists ServiceBinding in a given project and location.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. The project and location from which the ServiceBindings should be listed, specified in the format |
opts |
Op |