API Overview.
Certificates Manager API allows customers to see and manage all their TLS certificates.
Certificates Manager API service provides methods to manage certificates, group them into collections, and create serving configuration that can be easily applied to other Cloud resources e.g. Target Proxies.
Data Model
The Certificates Manager service exposes the following resources:
Certificate
that describes a single TLS certificate.CertificateMap
that describes a collection of certificates that can be attached to a target resource.CertificateMapEntry
that describes a single configuration entry that consists of a SNI and a group of certificates. It's a subresource of CertificateMap.
Certificate, CertificateMap and CertificateMapEntry IDs have to fully match the regexp [a-z0-9-]{1,63}
. In other words,
- only lower case letters, digits, and hyphen are allowed
- length of the resource ID has to be in [1,63] range.
Provides methods to manage Cloud Certificate Manager entities.
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
CertificateManagerClient(CertificateManagerClient const &)
Copy and move support
Parameter | |
---|---|
Name | Description |
|
CertificateManagerClient const &
|
CertificateManagerClient(CertificateManagerClient &&)
Copy and move support
Parameter | |
---|---|
Name | Description |
|
CertificateManagerClient &&
|
CertificateManagerClient(std::shared_ptr< CertificateManagerConnection >, Options)
Parameters | |
---|---|
Name | Description |
connection |
std::shared_ptr< CertificateManagerConnection >
|
opts |
Options
|
Operators
operator=(CertificateManagerClient const &)
Copy and move support
Parameter | |
---|---|
Name | Description |
|
CertificateManagerClient const &
|
Returns | |
---|---|
Type | Description |
CertificateManagerClient & |
operator=(CertificateManagerClient &&)
Copy and move support
Parameter | |
---|---|
Name | Description |
|
CertificateManagerClient &&
|
Returns | |
---|---|
Type | Description |
CertificateManagerClient & |
Functions
ListCertificates(std::string const &, Options)
Lists Certificates in a given project and location.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. The project and location from which the certificate 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::certificatemanager::v1::Certificate > | a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
ListCertificates(google::cloud::certificatemanager::v1::ListCertificatesRequest, Options)
Lists Certificates in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::certificatemanager::v1::ListCertificatesRequest
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::certificatemanager::v1::Certificate > | a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
GetCertificate(std::string const &, Options)
Gets details of a single Certificate.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. A name of the certificate to describe. 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::certificatemanager::v1::Certificate > | the result of the RPC. The response message type (google.cloud.certificatemanager.v1.Certificate) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetCertificate(google::cloud::certificatemanager::v1::GetCertificateRequest const &, Options)
Gets details of a single Certificate.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::certificatemanager::v1::GetCertificateRequest 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::certificatemanager::v1::Certificate > | the result of the RPC. The response message type (google.cloud.certificatemanager.v1.Certificate) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
CreateCertificate(std::string const &, google::cloud::certificatemanager::v1::Certificate const &, std::string const &, Options)
Creates a new Certificate in a given project and location.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. The parent resource of the certificate. Must be in the format |
certificate |
google::cloud::certificatemanager::v1::Certificate const &
Required. A definition of the certificate to create. |
certificate_id |
std::string const &
Required. A user-provided name of the certificate. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::certificatemanager::v1::Certificate > > | A |
CreateCertificate(google::cloud::certificatemanager::v1::CreateCertificateRequest const &, Options)
Creates a new Certificate in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::certificatemanager::v1::CreateCertificateRequest 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::certificatemanager::v1::Certificate > > | A |
UpdateCertificate(google::cloud::certificatemanager::v1::Certificate const &, google::protobuf::FieldMask const &, Options)
Updates a Certificate.
Parameters | |
---|---|
Name | Description |
certificate |
google::cloud::certificatemanager::v1::Certificate const &
Required. A definition of the certificate to update. |
update_mask |
google::protobuf::FieldMask const &
Required. The update mask applies to the resource. For the |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::certificatemanager::v1::Certificate > > | A |
UpdateCertificate(google::cloud::certificatemanager::v1::UpdateCertificateRequest const &, Options)
Updates a Certificate.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::certificatemanager::v1::UpdateCertificateRequest 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::certificatemanager::v1::Certificate > > | A |
DeleteCertificate(std::string const &, Options)
Deletes a single Certificate.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. A name of the certificate 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::certificatemanager::v1::OperationMetadata > > | A |
DeleteCertificate(google::cloud::certificatemanager::v1::DeleteCertificateRequest const &, Options)
Deletes a single Certificate.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::certificatemanager::v1::DeleteCertificateRequest 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::certificatemanager::v1::OperationMetadata > > | A |
ListCertificateMaps(std::string const &, Options)
Lists CertificateMaps in a given project and location.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. The project and location from which the certificate maps 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::certificatemanager::v1::CertificateMap > | a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
ListCertificateMaps(google::cloud::certificatemanager::v1::ListCertificateMapsRequest, Options)
Lists CertificateMaps in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::certificatemanager::v1::ListCertificateMapsRequest
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::certificatemanager::v1::CertificateMap > | a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
GetCertificateMap(std::string const &, Options)
Gets details of a single CertificateMap.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. A name of the certificate map to describe. 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::certificatemanager::v1::CertificateMap > | the result of the RPC. The response message type (google.cloud.certificatemanager.v1.CertificateMap) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetCertificateMap(google::cloud::certificatemanager::v1::GetCertificateMapRequest const &, Options)
Gets details of a single CertificateMap.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::certificatemanager::v1::GetCertificateMapRequest 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::certificatemanager::v1::CertificateMap > | the result of the RPC. The response message type (google.cloud.certificatemanager.v1.CertificateMap) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
CreateCertificateMap(std::string const &, google::cloud::certificatemanager::v1::CertificateMap const &, std::string const &, Options)
Creates a new CertificateMap in a given project and location.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. The parent resource of the certificate map. Must be in the format |
certificate_map |
google::cloud::certificatemanager::v1::CertificateMap const &
Required. A definition of the certificate map to create. |
certificate_map_id |
std::string const &
Required. A user-provided name of the certificate map. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::certificatemanager::v1::CertificateMap > > | A |
CreateCertificateMap(google::cloud::certificatemanager::v1::CreateCertificateMapRequest const &, Options)
Creates a new CertificateMap in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::certificatemanager::v1::CreateCertificateMapRequest 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::certificatemanager::v1::CertificateMap > > | A |
UpdateCertificateMap(google::cloud::certificatemanager::v1::CertificateMap const &, google::protobuf::FieldMask const &, Options)
Updates a CertificateMap.
Parameters | |
---|---|
Name | Description |
certificate_map |
google::cloud::certificatemanager::v1::CertificateMap const &
Required. A definition of the certificate map to update. |
update_mask |
google::protobuf::FieldMask const &
Required. The update mask applies to the resource. For the |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::certificatemanager::v1::CertificateMap > > | A |
UpdateCertificateMap(google::cloud::certificatemanager::v1::UpdateCertificateMapRequest const &, Options)
Updates a CertificateMap.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::certificatemanager::v1::UpdateCertificateMapRequest 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::certificatemanager::v1::CertificateMap > > | A |
DeleteCertificateMap(std::string const &, Options)
Deletes a single CertificateMap.
A Certificate Map can't be deleted if it contains Certificate Map Entries. Remove all the entries from the map before calling this method.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. A name of the certificate map 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::certificatemanager::v1::OperationMetadata > > | A |
DeleteCertificateMap(google::cloud::certificatemanager::v1::DeleteCertificateMapRequest const &, Options)
Deletes a single CertificateMap.
A Certificate Map can't be deleted if it contains Certificate Map Entries. Remove all the entries from the map before calling this method.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::certificatemanager::v1::DeleteCertificateMapRequest 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::certificatemanager::v1::OperationMetadata > > | A |
ListCertificateMapEntries(std::string const &, Options)
Lists CertificateMapEntries in a given project and location.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. The project, location and certificate map from which the certificate map entries 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::certificatemanager::v1::CertificateMapEntry > | a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
ListCertificateMapEntries(google::cloud::certificatemanager::v1::ListCertificateMapEntriesRequest, Options)
Lists CertificateMapEntries in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::certificatemanager::v1::ListCertificateMapEntriesRequest
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::certificatemanager::v1::CertificateMapEntry > | a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
GetCertificateMapEntry(std::string const &, Options)
Gets details of a single CertificateMapEntry.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. A name of the certificate map entry to describe. 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::certificatemanager::v1::CertificateMapEntry > | the result of the RPC. The response message type (google.cloud.certificatemanager.v1.CertificateMapEntry) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetCertificateMapEntry(google::cloud::certificatemanager::v1::GetCertificateMapEntryRequest const &, Options)
Gets details of a single CertificateMapEntry.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::certificatemanager::v1::GetCertificateMapEntryRequest 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::certificatemanager::v1::CertificateMapEntry > | the result of the RPC. The response message type (google.cloud.certificatemanager.v1.CertificateMapEntry) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
CreateCertificateMapEntry(std::string const &, google::cloud::certificatemanager::v1::CertificateMapEntry const &, std::string const &, Options)
Creates a new CertificateMapEntry in a given project and location.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. The parent resource of the certificate map entry. Must be in the format |
certificate_map_entry |
google::cloud::certificatemanager::v1::CertificateMapEntry const &
Required. A definition of the certificate map entry to create. |
certificate_map_entry_id |
std::string const &
Required. A user-provided name of the certificate map entry. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::certificatemanager::v1::CertificateMapEntry > > | A |
CreateCertificateMapEntry(google::cloud::certificatemanager::v1::CreateCertificateMapEntryRequest const &, Options)
Creates a new CertificateMapEntry in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::certificatemanager::v1::CreateCertificateMapEntryRequest 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::certificatemanager::v1::CertificateMapEntry > > | A |
UpdateCertificateMapEntry(google::cloud::certificatemanager::v1::CertificateMapEntry const &, google::protobuf::FieldMask const &, Options)
Updates a CertificateMapEntry.
Parameters | |
---|---|
Name | Description |
certificate_map_entry |
google::cloud::certificatemanager::v1::CertificateMapEntry const &
Required. A definition of the certificate map entry to create map entry. |
update_mask |
google::protobuf::FieldMask const &
Required. The update mask applies to the resource. For the |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::certificatemanager::v1::CertificateMapEntry > > | A |
UpdateCertificateMapEntry(google::cloud::certificatemanager::v1::UpdateCertificateMapEntryRequest const &, Options)
Updates a CertificateMapEntry.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::certificatemanager::v1::UpdateCertificateMapEntryRequest 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::certificatemanager::v1::CertificateMapEntry > > | A |
DeleteCertificateMapEntry(std::string const &, Options)
Deletes a single CertificateMapEntry.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. A name of the certificate map entry 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::certificatemanager::v1::OperationMetadata > > | A |
DeleteCertificateMapEntry(google::cloud::certificatemanager::v1::DeleteCertificateMapEntryRequest const &, Options)
Deletes a single CertificateMapEntry.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::certificatemanager::v1::DeleteCertificateMapEntryRequest 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::certificatemanager::v1::OperationMetadata > > | A |
ListDnsAuthorizations(std::string const &, Options)
Lists DnsAuthorizations in a given project and location.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. The project and location from which the dns authorizations 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::certificatemanager::v1::DnsAuthorization > | a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
ListDnsAuthorizations(google::cloud::certificatemanager::v1::ListDnsAuthorizationsRequest, Options)
Lists DnsAuthorizations in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::certificatemanager::v1::ListDnsAuthorizationsRequest
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::certificatemanager::v1::DnsAuthorization > | a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
GetDnsAuthorization(std::string const &, Options)
Gets details of a single DnsAuthorization.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. A name of the dns authorization to describe. 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::certificatemanager::v1::DnsAuthorization > | the result of the RPC. The response message type (google.cloud.certificatemanager.v1.DnsAuthorization) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetDnsAuthorization(google::cloud::certificatemanager::v1::GetDnsAuthorizationRequest const &, Options)
Gets details of a single DnsAuthorization.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::certificatemanager::v1::GetDnsAuthorizationRequest 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::certificatemanager::v1::DnsAuthorization > | the result of the RPC. The response message type (google.cloud.certificatemanager.v1.DnsAuthorization) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
CreateDnsAuthorization(std::string const &, google::cloud::certificatemanager::v1::DnsAuthorization const &, std::string const &, Options)
Creates a new DnsAuthorization in a given project and location.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. The parent resource of the dns authorization. Must be in the format |
dns_authorization |
google::cloud::certificatemanager::v1::DnsAuthorization const &
Required. A definition of the dns authorization to create. |
dns_authorization_id |
std::string const &
Required. A user-provided name of the dns authorization. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::certificatemanager::v1::DnsAuthorization > > | A |
CreateDnsAuthorization(google::cloud::certificatemanager::v1::CreateDnsAuthorizationRequest const &, Options)
Creates a new DnsAuthorization in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::certificatemanager::v1::CreateDnsAuthorizationRequest 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::certificatemanager::v1::DnsAuthorization > > | A |
UpdateDnsAuthorization(google::cloud::certificatemanager::v1::DnsAuthorization const &, google::protobuf::FieldMask const &, Options)
Updates a DnsAuthorization.
Parameters | |
---|---|
Name | Description |
dns_authorization |
google::cloud::certificatemanager::v1::DnsAuthorization const &
Required. A definition of the dns authorization to update. |
update_mask |
google::protobuf::FieldMask const &
Required. The update mask applies to the resource. For the |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::certificatemanager::v1::DnsAuthorization > > | A |
UpdateDnsAuthorization(google::cloud::certificatemanager::v1::UpdateDnsAuthorizationRequest const &, Options)
Updates a DnsAuthorization.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::certificatemanager::v1::UpdateDnsAuthorizationRequest 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::certificatemanager::v1::DnsAuthorization > > | A |
DeleteDnsAuthorization(std::string const &, Options)
Deletes a single DnsAuthorization.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. A name of the dns authorization 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::certificatemanager::v1::OperationMetadata > > | A |
DeleteDnsAuthorization(google::cloud::certificatemanager::v1::DeleteDnsAuthorizationRequest const &, Options)
Deletes a single DnsAuthorization.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::certificatemanager::v1::DeleteDnsAuthorizationRequest 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::certificatemanager::v1::OperationMetadata > > | A |
ListCertificateIssuanceConfigs(std::string const &, Options)
Lists CertificateIssuanceConfigs in a given project and location.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. The project and location from which the certificate 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::certificatemanager::v1::CertificateIssuanceConfig > | a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
ListCertificateIssuanceConfigs(google::cloud::certificatemanager::v1::ListCertificateIssuanceConfigsRequest, Options)
Lists CertificateIssuanceConfigs in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::certificatemanager::v1::ListCertificateIssuanceConfigsRequest
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::certificatemanager::v1::CertificateIssuanceConfig > | a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
GetCertificateIssuanceConfig(std::string const &, Options)
Gets details of a single CertificateIssuanceConfig.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. A name of the certificate issuance config to describe. 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::certificatemanager::v1::CertificateIssuanceConfig > | the result of the RPC. The response message type (google.cloud.certificatemanager.v1.CertificateIssuanceConfig) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetCertificateIssuanceConfig(google::cloud::certificatemanager::v1::GetCertificateIssuanceConfigRequest const &, Options)
Gets details of a single CertificateIssuanceConfig.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::certificatemanager::v1::GetCertificateIssuanceConfigRequest 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::certificatemanager::v1::CertificateIssuanceConfig > | the result of the RPC. The response message type (google.cloud.certificatemanager.v1.CertificateIssuanceConfig) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
CreateCertificateIssuanceConfig(std::string const &, google::cloud::certificatemanager::v1::CertificateIssuanceConfig const &, std::string const &, Options)
Creates a new CertificateIssuanceConfig in a given project and location.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. The parent resource of the certificate issuance config. Must be in the format |
certificate_issuance_config |
google::cloud::certificatemanager::v1::CertificateIssuanceConfig const &
Required. A definition of the certificate issuance config to create. |
certificate_issuance_config_id |
std::string const &
Required. A user-provided name of the certificate config. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::certificatemanager::v1::CertificateIssuanceConfig > > | A |
CreateCertificateIssuanceConfig(google::cloud::certificatemanager::v1::CreateCertificateIssuanceConfigRequest const &, Options)
Creates a new CertificateIssuanceConfig in a given project and location.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::certificatemanager::v1::CreateCertificateIssuanceConfigRequest 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::certificatemanager::v1::CertificateIssuanceConfig > > | A |
DeleteCertificateIssuanceConfig(std::string const &, Options)
Deletes a single CertificateIssuanceConfig.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. A name of the certificate issuance config 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::certificatemanager::v1::OperationMetadata > > | A |
DeleteCertificateIssuanceConfig(google::cloud::certificatemanager::v1::DeleteCertificateIssuanceConfigRequest const &, Options)
Deletes a single CertificateIssuanceConfig.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::certificatemanager::v1::DeleteCertificateIssuanceConfigRequest 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::certificatemanager::v1::OperationMetadata > > | A |