Service for the networkEdgeSecurityServices resource.
https://cloud.google.com/compute/docs/reference/rest/v1/networkEdgeSecurityServices
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
NetworkEdgeSecurityServicesClient(NetworkEdgeSecurityServicesClient const &)
Copy and move support
Parameter | |
---|---|
Name | Description |
|
NetworkEdgeSecurityServicesClient const &
|
NetworkEdgeSecurityServicesClient(NetworkEdgeSecurityServicesClient &&)
Copy and move support
Parameter | |
---|---|
Name | Description |
|
NetworkEdgeSecurityServicesClient &&
|
NetworkEdgeSecurityServicesClient(std::shared_ptr< NetworkEdgeSecurityServicesConnection >, Options)
Parameters | |
---|---|
Name | Description |
connection |
std::shared_ptr< NetworkEdgeSecurityServicesConnection >
|
opts |
Options
|
Operators
operator=(NetworkEdgeSecurityServicesClient const &)
Copy and move support
Parameter | |
---|---|
Name | Description |
|
NetworkEdgeSecurityServicesClient const &
|
Returns | |
---|---|
Type | Description |
NetworkEdgeSecurityServicesClient & |
operator=(NetworkEdgeSecurityServicesClient &&)
Copy and move support
Parameter | |
---|---|
Name | Description |
|
NetworkEdgeSecurityServicesClient &&
|
Returns | |
---|---|
Type | Description |
NetworkEdgeSecurityServicesClient & |
Functions
AggregatedListNetworkEdgeSecurityServices(std::string const &, Options)
Retrieves the list of all NetworkEdgeSecurityService resources available to the specified project.
To prevent failure, Google recommends that you set the returnPartialSuccess
parameter to true
. https://cloud.google.com/compute/docs/reference/rest/v1/networkEdgeSecurityServices/aggregatedList
Parameters | |
---|---|
Name | Description |
project |
std::string const &
Name of the project scoping this request. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< std::pair< std::string, google::cloud::cpp::compute::v1::NetworkEdgeSecurityServicesScopedList > > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
AggregatedListNetworkEdgeSecurityServices(google::cloud::cpp::compute::network_edge_security_services::v1::AggregatedListNetworkEdgeSecurityServicesRequest, Options)
Retrieves the list of all NetworkEdgeSecurityService resources available to the specified project.
To prevent failure, Google recommends that you set the returnPartialSuccess
parameter to true
. https://cloud.google.com/compute/docs/reference/rest/v1/networkEdgeSecurityServices/aggregatedList
Parameters | |
---|---|
Name | Description |
request |
google::cloud::cpp::compute::network_edge_security_services::v1::AggregatedListNetworkEdgeSecurityServicesRequest
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< std::pair< std::string, google::cloud::cpp::compute::v1::NetworkEdgeSecurityServicesScopedList > > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
DeleteNetworkEdgeSecurityService(std::string const &, std::string const &, std::string const &, Options)
Deletes the specified service.
Parameters | |
---|---|
Name | Description |
project |
std::string const &
Project ID for this request. |
region |
std::string const &
Name of the region scoping this request. |
network_edge_security_service |
std::string const &
Name of the network edge security service to delete. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::cpp::compute::v1::Operation > > |
A |
DeleteNetworkEdgeSecurityService(NoAwaitTag, std::string const &, std::string const &, std::string const &, Options)
Deletes the specified service.
Specifying the NoAwaitTag
immediately returns the [google::cloud::cpp::compute::v1::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
project |
std::string const &
|
region |
std::string const &
|
network_edge_security_service |
std::string const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::cpp::compute::v1::Operation > |
DeleteNetworkEdgeSecurityService(google::cloud::cpp::compute::network_edge_security_services::v1::DeleteNetworkEdgeSecurityServiceRequest const &, Options)
Deletes the specified service.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::cpp::compute::network_edge_security_services::v1::DeleteNetworkEdgeSecurityServiceRequest 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::cpp::compute::v1::Operation > > |
A |
DeleteNetworkEdgeSecurityService(NoAwaitTag, google::cloud::cpp::compute::network_edge_security_services::v1::DeleteNetworkEdgeSecurityServiceRequest const &, Options)
Deletes the specified service.
Specifying the NoAwaitTag
immediately returns the [google::cloud::cpp::compute::v1::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::cpp::compute::network_edge_security_services::v1::DeleteNetworkEdgeSecurityServiceRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::cpp::compute::v1::Operation > |
DeleteNetworkEdgeSecurityService(google::cloud::cpp::compute::v1::Operation const &, Options)
Deletes the specified service.
This method accepts a google::cloud::cpp::compute::v1::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::cloud::cpp::compute::v1::Operation const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::cpp::compute::v1::Operation > > |
GetNetworkEdgeSecurityService(std::string const &, std::string const &, std::string const &, Options)
Gets a specified NetworkEdgeSecurityService.
Parameters | |
---|---|
Name | Description |
project |
std::string const &
Project ID for this request. |
region |
std::string const &
Name of the region scoping this request. |
network_edge_security_service |
std::string const &
Name of the network edge security service to get. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::cpp::compute::v1::NetworkEdgeSecurityService > |
the result of the RPC. The response message type (google.cloud.cpp.compute.v1.NetworkEdgeSecurityService) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetNetworkEdgeSecurityService(google::cloud::cpp::compute::network_edge_security_services::v1::GetNetworkEdgeSecurityServiceRequest const &, Options)
Gets a specified NetworkEdgeSecurityService.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::cpp::compute::network_edge_security_services::v1::GetNetworkEdgeSecurityServiceRequest 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::cpp::compute::v1::NetworkEdgeSecurityService > |
the result of the RPC. The response message type (google.cloud.cpp.compute.v1.NetworkEdgeSecurityService) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
InsertNetworkEdgeSecurityService(std::string const &, std::string const &, google::cloud::cpp::compute::v1::NetworkEdgeSecurityService const &, Options)
Creates a new service in the specified project using the data included in the request.
Parameters | |
---|---|
Name | Description |
project |
std::string const &
Project ID for this request. |
region |
std::string const &
Name of the region scoping this request. |
network_edge_security_service_resource |
google::cloud::cpp::compute::v1::NetworkEdgeSecurityService const &
The NetworkEdgeSecurityService for this request. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::cpp::compute::v1::Operation > > |
A |
InsertNetworkEdgeSecurityService(NoAwaitTag, std::string const &, std::string const &, google::cloud::cpp::compute::v1::NetworkEdgeSecurityService const &, Options)
Creates a new service in the specified project using the data included in the request.
Specifying the NoAwaitTag
immediately returns the [google::cloud::cpp::compute::v1::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
project |
std::string const &
|
region |
std::string const &
|
network_edge_security_service_resource |
google::cloud::cpp::compute::v1::NetworkEdgeSecurityService const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::cpp::compute::v1::Operation > |
InsertNetworkEdgeSecurityService(google::cloud::cpp::compute::network_edge_security_services::v1::InsertNetworkEdgeSecurityServiceRequest const &, Options)
Creates a new service in the specified project using the data included in the request.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::cpp::compute::network_edge_security_services::v1::InsertNetworkEdgeSecurityServiceRequest 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::cpp::compute::v1::Operation > > |
A |
InsertNetworkEdgeSecurityService(NoAwaitTag, google::cloud::cpp::compute::network_edge_security_services::v1::InsertNetworkEdgeSecurityServiceRequest const &, Options)
Creates a new service in the specified project using the data included in the request.
Specifying the NoAwaitTag
immediately returns the [google::cloud::cpp::compute::v1::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::cpp::compute::network_edge_security_services::v1::InsertNetworkEdgeSecurityServiceRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::cpp::compute::v1::Operation > |
InsertNetworkEdgeSecurityService(google::cloud::cpp::compute::v1::Operation const &, Options)
Creates a new service in the specified project using the data included in the request.
This method accepts a google::cloud::cpp::compute::v1::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::cloud::cpp::compute::v1::Operation const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::cpp::compute::v1::Operation > > |
PatchNetworkEdgeSecurityService(std::string const &, std::string const &, std::string const &, std::string const &, google::cloud::cpp::compute::v1::NetworkEdgeSecurityService const &, Options)
Patches the specified policy with the data included in the request.
Parameters | |
---|---|
Name | Description |
project |
std::string const &
Project ID for this request. |
region |
std::string const &
Name of the region scoping this request. |
network_edge_security_service |
std::string const &
Name of the network edge security service to update. |
update_mask |
std::string const &
Indicates fields to be updated as part of this request. |
network_edge_security_service_resource |
google::cloud::cpp::compute::v1::NetworkEdgeSecurityService const &
The NetworkEdgeSecurityService for this request. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::cpp::compute::v1::Operation > > |
A |
PatchNetworkEdgeSecurityService(NoAwaitTag, std::string const &, std::string const &, std::string const &, std::string const &, google::cloud::cpp::compute::v1::NetworkEdgeSecurityService const &, Options)
Patches the specified policy with the data included in the request.
Specifying the NoAwaitTag
immediately returns the [google::cloud::cpp::compute::v1::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
NoAwaitTag
|
project |
std::string const &
|
region |
std::string const &
|
network_edge_security_service |
std::string const &
|
update_mask |
std::string const &
|
network_edge_security_service_resource |
google::cloud::cpp::compute::v1::NetworkEdgeSecurityService const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::cpp::compute::v1::Operation > |
PatchNetworkEdgeSecurityService(google::cloud::cpp::compute::network_edge_security_services::v1::PatchNetworkEdgeSecurityServiceRequest const &, Options)
Patches the specified policy with the data included in the request.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::cpp::compute::network_edge_security_services::v1::PatchNetworkEdgeSecurityServiceRequest 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::cpp::compute::v1::Operation > > |
A |
PatchNetworkEdgeSecurityService(NoAwaitTag, google::cloud::cpp::compute::network_edge_security_services::v1::PatchNetworkEdgeSecurityServiceRequest const &, Options)
Patches the specified policy with the data included in the request.
Specifying the NoAwaitTag
immediately returns the [google::cloud::cpp::compute::v1::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::cpp::compute::network_edge_security_services::v1::PatchNetworkEdgeSecurityServiceRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::cpp::compute::v1::Operation > |
PatchNetworkEdgeSecurityService(google::cloud::cpp::compute::v1::Operation const &, Options)
Patches the specified policy with the data included in the request.
This method accepts a google::cloud::cpp::compute::v1::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::cloud::cpp::compute::v1::Operation const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::cpp::compute::v1::Operation > > |