Class TargetHttpsProxiesClient (2.23.0-rc)

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
NameDescription
TargetHttpsProxiesClient const &

TargetHttpsProxiesClient(TargetHttpsProxiesClient &&)

Copy and move support

Parameter
NameDescription
TargetHttpsProxiesClient &&

TargetHttpsProxiesClient(std::shared_ptr< TargetHttpsProxiesConnection >, Options)

Parameters
NameDescription
connection std::shared_ptr< TargetHttpsProxiesConnection >
opts Options

Operators

operator=(TargetHttpsProxiesClient const &)

Copy and move support

Parameter
NameDescription
TargetHttpsProxiesClient const &
Returns
TypeDescription
TargetHttpsProxiesClient &

operator=(TargetHttpsProxiesClient &&)

Copy and move support

Parameter
NameDescription
TargetHttpsProxiesClient &&
Returns
TypeDescription
TargetHttpsProxiesClient &

Functions

AggregatedListTargetHttpsProxies(std::string const &, Options)

Retrieves the list of all TargetHttpsProxy resources, regional and global, 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/targetHttpsProxies/aggregatedList

Parameters
NameDescription
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
TypeDescription
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 begin() and end() member functions returning a iterator class meeting the input iterator requirements. The value type for this iterator is a StatusOr as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the StatusOr<T> contains elements of type google.cloud.cpp.compute.v1.TargetHttpsProxiesScopedList, or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the Protobuf mapping rules.

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.

To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true. https://cloud.google.com/compute/docs/reference/rest/v1/targetHttpsProxies/aggregatedList

Parameters
NameDescription
request google::cloud::cpp::compute::target_https_proxies::v1::AggregatedListTargetHttpsProxiesRequest

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.cpp.compute.target_https_proxies.v1.AggregatedListTargetHttpsProxiesRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
TypeDescription
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 begin() and end() member functions returning a iterator class meeting the input iterator requirements. The value type for this iterator is a StatusOr as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the StatusOr<T> contains elements of type google.cloud.cpp.compute.v1.TargetHttpsProxiesScopedList, or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the Protobuf mapping rules.

DeleteTargetHttpsProxy(std::string const &, std::string const &, Options)

Deletes the specified TargetHttpsProxy resource.

Parameters
NameDescription
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
TypeDescription
future< StatusOr< google::cloud::cpp::compute::v1::Operation > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.cpp.compute.v1.Operation] proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

DeleteTargetHttpsProxy(google::cloud::cpp::compute::target_https_proxies::v1::DeleteTargetHttpsProxyRequest const &, Options)

Deletes the specified TargetHttpsProxy resource.

Parameters
NameDescription
request google::cloud::cpp::compute::target_https_proxies::v1::DeleteTargetHttpsProxyRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.cpp.compute.target_https_proxies.v1.DeleteTargetHttpsProxyRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
TypeDescription
future< StatusOr< google::cloud::cpp::compute::v1::Operation > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.cpp.compute.v1.Operation] proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

GetTargetHttpsProxy(std::string const &, std::string const &, Options)

Returns the specified TargetHttpsProxy resource.

Parameters
NameDescription
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
TypeDescription
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 StatusOr contains the error details.

GetTargetHttpsProxy(google::cloud::cpp::compute::target_https_proxies::v1::GetTargetHttpsProxyRequest const &, Options)

Returns the specified TargetHttpsProxy resource.

Parameters
NameDescription
request google::cloud::cpp::compute::target_https_proxies::v1::GetTargetHttpsProxyRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.cpp.compute.target_https_proxies.v1.GetTargetHttpsProxyRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
TypeDescription
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 StatusOr contains the error details.

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
NameDescription
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
TypeDescription
future< StatusOr< google::cloud::cpp::compute::v1::Operation > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.cpp.compute.v1.Operation] proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

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
NameDescription
request google::cloud::cpp::compute::target_https_proxies::v1::InsertTargetHttpsProxyRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.cpp.compute.target_https_proxies.v1.InsertTargetHttpsProxyRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
TypeDescription
future< StatusOr< google::cloud::cpp::compute::v1::Operation > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.cpp.compute.v1.Operation] proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

ListTargetHttpsProxies(std::string const &, Options)

Retrieves the list of TargetHttpsProxy resources available to the specified project.

Parameters
NameDescription
project std::string const &

Project ID for this request.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
TypeDescription
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 begin() and end() member functions returning a iterator class meeting the input iterator requirements. The value type for this iterator is a StatusOr as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the StatusOr<T> contains elements of type google.cloud.cpp.compute.v1.TargetHttpsProxy, or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the Protobuf mapping rules.

ListTargetHttpsProxies(google::cloud::cpp::compute::target_https_proxies::v1::ListTargetHttpsProxiesRequest, Options)

Retrieves the list of TargetHttpsProxy resources available to the specified project.

Parameters
NameDescription
request google::cloud::cpp::compute::target_https_proxies::v1::ListTargetHttpsProxiesRequest

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.cpp.compute.target_https_proxies.v1.ListTargetHttpsProxiesRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
TypeDescription
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 begin() and end() member functions returning a iterator class meeting the input iterator requirements. The value type for this iterator is a StatusOr as the iteration may fail even after some values are retrieved successfully, for example, if there is a network disconnect. An empty set of results does not indicate an error, it indicates that there are no resources meeting the request criteria. On a successful iteration the StatusOr<T> contains elements of type google.cloud.cpp.compute.v1.TargetHttpsProxy, or rather, the C++ class generated by Protobuf from that type. Please consult the Protobuf documentation for details on the Protobuf mapping rules.

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
NameDescription
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
TypeDescription
future< StatusOr< google::cloud::cpp::compute::v1::Operation > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.cpp.compute.v1.Operation] proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

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
NameDescription
request google::cloud::cpp::compute::target_https_proxies::v1::PatchTargetHttpsProxyRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.cpp.compute.target_https_proxies.v1.PatchTargetHttpsProxyRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
TypeDescription
future< StatusOr< google::cloud::cpp::compute::v1::Operation > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.cpp.compute.v1.Operation] proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

SetCertificateMap(std::string const &, std::string const &, google::cloud::cpp::compute::v1::TargetHttpsProxiesSetCertificateMapRequest const &, Options)

Changes the Certificate Map for TargetHttpsProxy.

Parameters
NameDescription
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
TypeDescription
future< StatusOr< google::cloud::cpp::compute::v1::Operation > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.cpp.compute.v1.Operation] proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

SetCertificateMap(google::cloud::cpp::compute::target_https_proxies::v1::SetCertificateMapRequest const &, Options)

Changes the Certificate Map for TargetHttpsProxy.

Parameters
NameDescription
request google::cloud::cpp::compute::target_https_proxies::v1::SetCertificateMapRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.cpp.compute.target_https_proxies.v1.SetCertificateMapRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
TypeDescription
future< StatusOr< google::cloud::cpp::compute::v1::Operation > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.cpp.compute.v1.Operation] proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

SetQuicOverride(std::string const &, std::string const &, google::cloud::cpp::compute::v1::TargetHttpsProxiesSetQuicOverrideRequest const &, Options)

Sets the QUIC override policy for TargetHttpsProxy.

Parameters
NameDescription
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
TypeDescription
future< StatusOr< google::cloud::cpp::compute::v1::Operation > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.cpp.compute.v1.Operation] proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

SetQuicOverride(google::cloud::cpp::compute::target_https_proxies::v1::SetQuicOverrideRequest const &, Options)

Sets the QUIC override policy for TargetHttpsProxy.

Parameters
NameDescription
request google::cloud::cpp::compute::target_https_proxies::v1::SetQuicOverrideRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.cpp.compute.target_https_proxies.v1.SetQuicOverrideRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
TypeDescription
future< StatusOr< google::cloud::cpp::compute::v1::Operation > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.cpp.compute.v1.Operation] proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

SetSslCertificates(std::string const &, std::string const &, google::cloud::cpp::compute::v1::TargetHttpsProxiesSetSslCertificatesRequest const &, Options)

Replaces SslCertificates for TargetHttpsProxy.

Parameters
NameDescription
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
TypeDescription
future< StatusOr< google::cloud::cpp::compute::v1::Operation > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.cpp.compute.v1.Operation] proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

SetSslCertificates(google::cloud::cpp::compute::target_https_proxies::v1::SetSslCertificatesRequest const &, Options)

Replaces SslCertificates for TargetHttpsProxy.

Parameters
NameDescription
request google::cloud::cpp::compute::target_https_proxies::v1::SetSslCertificatesRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.cpp.compute.target_https_proxies.v1.SetSslCertificatesRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
TypeDescription
future< StatusOr< google::cloud::cpp::compute::v1::Operation > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.cpp.compute.v1.Operation] proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

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
NameDescription
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
TypeDescription
future< StatusOr< google::cloud::cpp::compute::v1::Operation > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.cpp.compute.v1.Operation] proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

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
NameDescription
request google::cloud::cpp::compute::target_https_proxies::v1::SetSslPolicyRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.cpp.compute.target_https_proxies.v1.SetSslPolicyRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
TypeDescription
future< StatusOr< google::cloud::cpp::compute::v1::Operation > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.cpp.compute.v1.Operation] proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

SetUrlMap(std::string const &, std::string const &, google::cloud::cpp::compute::v1::UrlMapReference const &, Options)

Changes the URL map for TargetHttpsProxy.

Parameters
NameDescription
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
TypeDescription
future< StatusOr< google::cloud::cpp::compute::v1::Operation > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.cpp.compute.v1.Operation] proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.

SetUrlMap(google::cloud::cpp::compute::target_https_proxies::v1::SetUrlMapRequest const &, Options)

Changes the URL map for TargetHttpsProxy.

Parameters
NameDescription
request google::cloud::cpp::compute::target_https_proxies::v1::SetUrlMapRequest const &

Unary RPCs, such as the one wrapped by this function, receive a single request proto message which includes all the inputs for the RPC. In this case, the proto message is a google.cloud.cpp.compute.target_https_proxies.v1.SetUrlMapRequest. Proto messages are converted to C++ classes by Protobuf, using the Protobuf mapping rules.

opts Options

Optional. Override the class-level options, such as retry and backoff policies.

Returns
TypeDescription
future< StatusOr< google::cloud::cpp::compute::v1::Operation > >

A future that becomes satisfied when the LRO (Long Running Operation) completes or the polling policy in effect for this call is exhausted. The future is satisfied with an error if the LRO completes with an error or the polling policy is exhausted. In this case the StatusOr returned by the future contains the error. If the LRO completes successfully the value of the future contains the LRO's result. For this RPC the result is a [google.cloud.cpp.compute.v1.Operation] proto message. The C++ class representing this message is created by Protobuf, using the Protobuf mapping rules.