Service for the targetHttpsProxies resource.
https://cloud.google.com/compute/docs/reference/rest/v1/targetHttpsProxies
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
TargetHttpsProxiesClient(TargetHttpsProxiesClient const &)
Copy and move support
Parameter | |
---|---|
Name | Description |
|
TargetHttpsProxiesClient const &
|
TargetHttpsProxiesClient(TargetHttpsProxiesClient &&)
Copy and move support
Parameter | |
---|---|
Name | Description |
|
TargetHttpsProxiesClient &&
|
TargetHttpsProxiesClient(std::shared_ptr< TargetHttpsProxiesConnection >, Options)
Parameters | |
---|---|
Name | Description |
connection |
std::shared_ptr< TargetHttpsProxiesConnection >
|
opts |
Options
|
Operators
operator=(TargetHttpsProxiesClient const &)
Copy and move support
Parameter | |
---|---|
Name | Description |
|
TargetHttpsProxiesClient const &
|
Returns | |
---|---|
Type | Description |
TargetHttpsProxiesClient & |
operator=(TargetHttpsProxiesClient &&)
Copy and move support
Parameter | |
---|---|
Name | Description |
|
TargetHttpsProxiesClient &&
|
Returns | |
---|---|
Type | Description |
TargetHttpsProxiesClient & |
Functions
AggregatedListTargetHttpsProxies(std::string const &, Options)
Retrieves the list of all TargetHttpsProxy resources, regional and global, available to the specified project.
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::TargetHttpsProxiesScopedList > > | a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
AggregatedListTargetHttpsProxies(google::cloud::cpp::compute::target_https_proxies::v1::AggregatedListTargetHttpsProxiesRequest, Options)
Retrieves the list of all TargetHttpsProxy resources, regional and global, available to the specified project.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::cpp::compute::target_https_proxies::v1::AggregatedListTargetHttpsProxiesRequest
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::TargetHttpsProxiesScopedList > > | a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
DeleteTargetHttpsProxy(std::string const &, std::string const &, Options)
Deletes the specified TargetHttpsProxy resource.
Parameters | |
---|---|
Name | Description |
project |
std::string const &
Project ID for 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(google::cloud::cpp::compute::target_https_proxies::v1::DeleteTargetHttpsProxyRequest const &, Options)
Deletes the specified TargetHttpsProxy resource.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::cpp::compute::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 |
GetTargetHttpsProxy(std::string const &, std::string const &, Options)
Returns the specified TargetHttpsProxy resource.
Parameters | |
---|---|
Name | Description |
project |
std::string const &
Project ID for 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::target_https_proxies::v1::GetTargetHttpsProxyRequest const &, Options)
Returns the specified TargetHttpsProxy resource.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::cpp::compute::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 &, google::cloud::cpp::compute::v1::TargetHttpsProxy const &, Options)
Creates a TargetHttpsProxy resource in the specified project using the data included in the request.
Parameters | |
---|---|
Name | Description |
project |
std::string const &
Project ID for 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(google::cloud::cpp::compute::target_https_proxies::v1::InsertTargetHttpsProxyRequest const &, Options)
Creates a TargetHttpsProxy resource in the specified project using the data included in the request.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::cpp::compute::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 |
ListTargetHttpsProxies(std::string const &, Options)
Retrieves the list of TargetHttpsProxy resources available to the specified project.
Parameters | |
---|---|
Name | Description |
project |
std::string const &
Project ID for 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 |
ListTargetHttpsProxies(google::cloud::cpp::compute::target_https_proxies::v1::ListTargetHttpsProxiesRequest, Options)
Retrieves the list of TargetHttpsProxy resources available to the specified project.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::cpp::compute::target_https_proxies::v1::ListTargetHttpsProxiesRequest
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 &, google::cloud::cpp::compute::v1::TargetHttpsProxy const &, Options)
Patches the specified 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/targetHttpsProxies/patch
Parameters | |
---|---|
Name | Description |
project |
std::string const &
Project ID 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(google::cloud::cpp::compute::target_https_proxies::v1::PatchTargetHttpsProxyRequest const &, Options)
Patches the specified 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/targetHttpsProxies/patch
Parameters | |
---|---|
Name | Description |
request |
google::cloud::cpp::compute::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 |
SetCertificateMap(std::string const &, std::string const &, google::cloud::cpp::compute::v1::TargetHttpsProxiesSetCertificateMapRequest const &, Options)
Changes the Certificate Map for TargetHttpsProxy.
Parameters | |
---|---|
Name | Description |
project |
std::string const &
Project ID for this request. |
target_https_proxy |
std::string const &
Name of the TargetHttpsProxy resource whose CertificateMap is to be set. The name must be 1-63 characters long, and comply with RFC1035. |
target_https_proxies_set_certificate_map_request_resource |
google::cloud::cpp::compute::v1::TargetHttpsProxiesSetCertificateMapRequest const &
The TargetHttpsProxiesSetCertificateMapRequest 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 |
SetCertificateMap(google::cloud::cpp::compute::target_https_proxies::v1::SetCertificateMapRequest const &, Options)
Changes the Certificate Map for TargetHttpsProxy.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::cpp::compute::target_https_proxies::v1::SetCertificateMapRequest 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 |
SetQuicOverride(std::string const &, std::string const &, google::cloud::cpp::compute::v1::TargetHttpsProxiesSetQuicOverrideRequest const &, Options)
Sets the QUIC override policy for TargetHttpsProxy.
Parameters | |
---|---|
Name | Description |
project |
std::string const &
Project ID for this request. |
target_https_proxy |
std::string const &
Name of the TargetHttpsProxy resource to set the QUIC override policy for. The name should conform to RFC1035. |
target_https_proxies_set_quic_override_request_resource |
google::cloud::cpp::compute::v1::TargetHttpsProxiesSetQuicOverrideRequest const &
The TargetHttpsProxiesSetQuicOverrideRequest 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 |
SetQuicOverride(google::cloud::cpp::compute::target_https_proxies::v1::SetQuicOverrideRequest const &, Options)
Sets the QUIC override policy for TargetHttpsProxy.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::cpp::compute::target_https_proxies::v1::SetQuicOverrideRequest 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(std::string const &, std::string const &, google::cloud::cpp::compute::v1::TargetHttpsProxiesSetSslCertificatesRequest const &, Options)
Replaces SslCertificates for TargetHttpsProxy.
Parameters | |
---|---|
Name | Description |
project |
std::string const &
Project ID for this request. |
target_https_proxy |
std::string const &
Name of the TargetHttpsProxy resource to set an SslCertificates resource for. |
target_https_proxies_set_ssl_certificates_request_resource |
google::cloud::cpp::compute::v1::TargetHttpsProxiesSetSslCertificatesRequest const &
The TargetHttpsProxiesSetSslCertificatesRequest 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(google::cloud::cpp::compute::target_https_proxies::v1::SetSslCertificatesRequest const &, Options)
Replaces SslCertificates for TargetHttpsProxy.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::cpp::compute::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 |
SetSslPolicy(std::string const &, std::string const &, google::cloud::cpp::compute::v1::SslPolicyReference const &, Options)
Sets the SSL policy for TargetHttpsProxy.
The SSL policy specifies the server-side support for SSL features. This affects connections between clients and the HTTPS proxy load balancer. They do not affect the connection between the load balancer and the backends. https://cloud.google.com/compute/docs/reference/rest/v1/targetHttpsProxies/setSslPolicy
Parameters | |
---|---|
Name | Description |
project |
std::string const &
Project ID for this request. |
target_https_proxy |
std::string const &
Name of the TargetHttpsProxy resource whose SSL policy is to be set. The name must be 1-63 characters long, and comply with RFC1035. |
ssl_policy_reference_resource |
google::cloud::cpp::compute::v1::SslPolicyReference const &
The SslPolicyReference 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 |
SetSslPolicy(google::cloud::cpp::compute::target_https_proxies::v1::SetSslPolicyRequest const &, Options)
Sets the SSL policy for TargetHttpsProxy.
The SSL policy specifies the server-side support for SSL features. This affects connections between clients and the HTTPS proxy load balancer. They do not affect the connection between the load balancer and the backends. https://cloud.google.com/compute/docs/reference/rest/v1/targetHttpsProxies/setSslPolicy
Parameters | |
---|---|
Name | Description |
request |
google::cloud::cpp::compute::target_https_proxies::v1::SetSslPolicyRequest 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(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. |
target_https_proxy |
std::string const &
Name of the TargetHttpsProxy resource whose URL map is to be set. |
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(google::cloud::cpp::compute::target_https_proxies::v1::SetUrlMapRequest const &, Options)
Changes the URL map for TargetHttpsProxy.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::cpp::compute::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 |