Service for the regionTargetHttpsProxies resource.
https://cloud.google.com/compute/docs/reference/rest/v1/regionTargetHttpsProxies
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
RegionTargetHttpsProxiesClient(RegionTargetHttpsProxiesClient const &)
Copy and move support
Parameter | |
---|---|
Name | Description |
|
RegionTargetHttpsProxiesClient const &
|
RegionTargetHttpsProxiesClient(RegionTargetHttpsProxiesClient &&)
Copy and move support
Parameter | |
---|---|
Name | Description |
|
RegionTargetHttpsProxiesClient &&
|
RegionTargetHttpsProxiesClient(std::shared_ptr< RegionTargetHttpsProxiesConnection >, Options)
Parameters | |
---|---|
Name | Description |
connection |
std::shared_ptr< RegionTargetHttpsProxiesConnection >
|
opts |
Options
|
Operators
operator=(RegionTargetHttpsProxiesClient const &)
Copy and move support
Parameter | |
---|---|
Name | Description |
|
RegionTargetHttpsProxiesClient const &
|
Returns | |
---|---|
Type | Description |
RegionTargetHttpsProxiesClient & |
operator=(RegionTargetHttpsProxiesClient &&)
Copy and move support
Parameter | |
---|---|
Name | Description |
|
RegionTargetHttpsProxiesClient &&
|
Returns | |
---|---|
Type | Description |
RegionTargetHttpsProxiesClient & |
Functions
DeleteTargetHttpsProxy(std::string const &, std::string const &, std::string const &, Options)
Deletes the specified TargetHttpsProxy resource.
Parameters | |
---|---|
Name | Description |
project |
std::string const &
Project ID for this request. |
region |
std::string const &
Name of the region scoping this request. |
target_https_proxy |
std::string const &
Name of the TargetHttpsProxy resource 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 |
DeleteTargetHttpsProxy(NoAwaitTag, std::string const &, std::string const &, std::string const &, Options)
Deletes the specified TargetHttpsProxy resource.
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 &
|
target_https_proxy |
std::string const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::cpp::compute::v1::Operation > |
DeleteTargetHttpsProxy(google::cloud::cpp::compute::region_target_https_proxies::v1::DeleteTargetHttpsProxyRequest const &, Options)
Deletes the specified TargetHttpsProxy resource.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::cpp::compute::region_target_https_proxies::v1::DeleteTargetHttpsProxyRequest 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 |
DeleteTargetHttpsProxy(NoAwaitTag, google::cloud::cpp::compute::region_target_https_proxies::v1::DeleteTargetHttpsProxyRequest const &, Options)
Deletes the specified TargetHttpsProxy resource.
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::region_target_https_proxies::v1::DeleteTargetHttpsProxyRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::cpp::compute::v1::Operation > |
DeleteTargetHttpsProxy(google::cloud::cpp::compute::v1::Operation const &, Options)
Deletes the specified TargetHttpsProxy resource.
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 > > |
GetTargetHttpsProxy(std::string const &, std::string const &, std::string const &, Options)
Returns the specified TargetHttpsProxy resource in the specified region.
Parameters | |
---|---|
Name | Description |
project |
std::string const &
Project ID for this request. |
region |
std::string const &
Name of the region scoping this request. |
target_https_proxy |
std::string const &
Name of the TargetHttpsProxy resource to return. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::cpp::compute::v1::TargetHttpsProxy > |
the result of the RPC. The response message type (google.cloud.cpp.compute.v1.TargetHttpsProxy) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetTargetHttpsProxy(google::cloud::cpp::compute::region_target_https_proxies::v1::GetTargetHttpsProxyRequest const &, Options)
Returns the specified TargetHttpsProxy resource in the specified region.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::cpp::compute::region_target_https_proxies::v1::GetTargetHttpsProxyRequest 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::TargetHttpsProxy > |
the result of the RPC. The response message type (google.cloud.cpp.compute.v1.TargetHttpsProxy) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
InsertTargetHttpsProxy(std::string const &, std::string const &, google::cloud::cpp::compute::v1::TargetHttpsProxy const &, Options)
Creates a TargetHttpsProxy resource in the specified project and region 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. |
target_https_proxy_resource |
google::cloud::cpp::compute::v1::TargetHttpsProxy const &
The TargetHttpsProxy 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 |
InsertTargetHttpsProxy(NoAwaitTag, std::string const &, std::string const &, google::cloud::cpp::compute::v1::TargetHttpsProxy const &, Options)
Creates a TargetHttpsProxy resource in the specified project and region 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 &
|
target_https_proxy_resource |
google::cloud::cpp::compute::v1::TargetHttpsProxy const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::cpp::compute::v1::Operation > |
InsertTargetHttpsProxy(google::cloud::cpp::compute::region_target_https_proxies::v1::InsertTargetHttpsProxyRequest const &, Options)
Creates a TargetHttpsProxy resource in the specified project and region using the data included in the request.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::cpp::compute::region_target_https_proxies::v1::InsertTargetHttpsProxyRequest 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 |
InsertTargetHttpsProxy(NoAwaitTag, google::cloud::cpp::compute::region_target_https_proxies::v1::InsertTargetHttpsProxyRequest const &, Options)
Creates a TargetHttpsProxy resource in the specified project and region 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::region_target_https_proxies::v1::InsertTargetHttpsProxyRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::cpp::compute::v1::Operation > |
InsertTargetHttpsProxy(google::cloud::cpp::compute::v1::Operation const &, Options)
Creates a TargetHttpsProxy resource in the specified project and region 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 > > |
ListRegionTargetHttpsProxies(std::string const &, std::string const &, Options)
Retrieves the list of TargetHttpsProxy resources available to the specified project in the specified region.
Parameters | |
---|---|
Name | Description |
project |
std::string const &
Project ID for this request. |
region |
std::string const &
Name of the region scoping this request. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::cpp::compute::v1::TargetHttpsProxy > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
ListRegionTargetHttpsProxies(google::cloud::cpp::compute::region_target_https_proxies::v1::ListRegionTargetHttpsProxiesRequest, Options)
Retrieves the list of TargetHttpsProxy resources available to the specified project in the specified region.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::cpp::compute::region_target_https_proxies::v1::ListRegionTargetHttpsProxiesRequest
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::cpp::compute::v1::TargetHttpsProxy > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
PatchTargetHttpsProxy(std::string const &, std::string const &, std::string const &, google::cloud::cpp::compute::v1::TargetHttpsProxy const &, Options)
Patches the specified regional TargetHttpsProxy resource with the data included in the request.
This method supports PATCH semantics and uses JSON merge patch format and processing rules. https://cloud.google.com/compute/docs/reference/rest/v1/regionTargetHttpsProxies/patch
Parameters | |
---|---|
Name | Description |
project |
std::string const &
Project ID for this request. |
region |
std::string const &
Name of the region for this request. |
target_https_proxy |
std::string const &
Name of the TargetHttpsProxy resource to patch. |
target_https_proxy_resource |
google::cloud::cpp::compute::v1::TargetHttpsProxy const &
The TargetHttpsProxy 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 |
PatchTargetHttpsProxy(NoAwaitTag, std::string const &, std::string const &, std::string const &, google::cloud::cpp::compute::v1::TargetHttpsProxy const &, Options)
Patches the specified regional TargetHttpsProxy resource 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 &
|
target_https_proxy |
std::string const &
|
target_https_proxy_resource |
google::cloud::cpp::compute::v1::TargetHttpsProxy const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::cpp::compute::v1::Operation > |
PatchTargetHttpsProxy(google::cloud::cpp::compute::region_target_https_proxies::v1::PatchTargetHttpsProxyRequest const &, Options)
Patches the specified regional TargetHttpsProxy resource with the data included in the request.
This method supports PATCH semantics and uses JSON merge patch format and processing rules. https://cloud.google.com/compute/docs/reference/rest/v1/regionTargetHttpsProxies/patch
Parameters | |
---|---|
Name | Description |
request |
google::cloud::cpp::compute::region_target_https_proxies::v1::PatchTargetHttpsProxyRequest 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 |
PatchTargetHttpsProxy(NoAwaitTag, google::cloud::cpp::compute::region_target_https_proxies::v1::PatchTargetHttpsProxyRequest const &, Options)
Patches the specified regional TargetHttpsProxy resource 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::region_target_https_proxies::v1::PatchTargetHttpsProxyRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::cpp::compute::v1::Operation > |
PatchTargetHttpsProxy(google::cloud::cpp::compute::v1::Operation const &, Options)
Patches the specified regional TargetHttpsProxy resource 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 > > |
SetSslCertificates(std::string const &, std::string const &, std::string const &, google::cloud::cpp::compute::v1::RegionTargetHttpsProxiesSetSslCertificatesRequest const &, Options)
Replaces SslCertificates for TargetHttpsProxy.
Parameters | |
---|---|
Name | Description |
project |
std::string const &
Project ID for this request. |
region |
std::string const &
Name of the region scoping this request. |
target_https_proxy |
std::string const &
Name of the TargetHttpsProxy resource to set an SslCertificates resource for. |
region_target_https_proxies_set_ssl_certificates_request_resource |
google::cloud::cpp::compute::v1::RegionTargetHttpsProxiesSetSslCertificatesRequest const &
The RegionTargetHttpsProxiesSetSslCertificatesRequest 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 |
SetSslCertificates(NoAwaitTag, std::string const &, std::string const &, std::string const &, google::cloud::cpp::compute::v1::RegionTargetHttpsProxiesSetSslCertificatesRequest const &, Options)
Replaces SslCertificates for TargetHttpsProxy.
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 &
|
target_https_proxy |
std::string const &
|
region_target_https_proxies_set_ssl_certificates_request_resource |
google::cloud::cpp::compute::v1::RegionTargetHttpsProxiesSetSslCertificatesRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::cpp::compute::v1::Operation > |
SetSslCertificates(google::cloud::cpp::compute::region_target_https_proxies::v1::SetSslCertificatesRequest const &, Options)
Replaces SslCertificates for TargetHttpsProxy.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::cpp::compute::region_target_https_proxies::v1::SetSslCertificatesRequest 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 |
SetSslCertificates(NoAwaitTag, google::cloud::cpp::compute::region_target_https_proxies::v1::SetSslCertificatesRequest const &, Options)
Replaces SslCertificates for TargetHttpsProxy.
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::region_target_https_proxies::v1::SetSslCertificatesRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::cpp::compute::v1::Operation > |
SetSslCertificates(google::cloud::cpp::compute::v1::Operation const &, Options)
Replaces SslCertificates for TargetHttpsProxy.
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 > > |
SetUrlMap(std::string const &, std::string const &, std::string const &, google::cloud::cpp::compute::v1::UrlMapReference const &, Options)
Changes the URL map for TargetHttpsProxy.
Parameters | |
---|---|
Name | Description |
project |
std::string const &
Project ID for this request. |
region |
std::string const &
Name of the region scoping this request. |
target_https_proxy |
std::string const &
Name of the TargetHttpsProxy to set a URL map for. |
url_map_reference_resource |
google::cloud::cpp::compute::v1::UrlMapReference const &
The UrlMapReference 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 |
SetUrlMap(NoAwaitTag, std::string const &, std::string const &, std::string const &, google::cloud::cpp::compute::v1::UrlMapReference const &, Options)
Changes the URL map for TargetHttpsProxy.
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 &
|
target_https_proxy |
std::string const &
|
url_map_reference_resource |
google::cloud::cpp::compute::v1::UrlMapReference const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::cpp::compute::v1::Operation > |
SetUrlMap(google::cloud::cpp::compute::region_target_https_proxies::v1::SetUrlMapRequest const &, Options)
Changes the URL map for TargetHttpsProxy.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::cpp::compute::region_target_https_proxies::v1::SetUrlMapRequest 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 |
SetUrlMap(NoAwaitTag, google::cloud::cpp::compute::region_target_https_proxies::v1::SetUrlMapRequest const &, Options)
Changes the URL map for TargetHttpsProxy.
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::region_target_https_proxies::v1::SetUrlMapRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::cpp::compute::v1::Operation > |
SetUrlMap(google::cloud::cpp::compute::v1::Operation const &, Options)
Changes the URL map for TargetHttpsProxy.
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 > > |