Certificate Authority Service manages private certificate authorities and issued certificates.
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
CertificateAuthorityServiceClient(CertificateAuthorityServiceClient const &)
Copy and move support
Parameter | |
---|---|
Name | Description |
|
CertificateAuthorityServiceClient const &
|
CertificateAuthorityServiceClient(CertificateAuthorityServiceClient &&)
Copy and move support
Parameter | |
---|---|
Name | Description |
|
CertificateAuthorityServiceClient &&
|
CertificateAuthorityServiceClient(std::shared_ptr< CertificateAuthorityServiceConnection >, Options)
Parameters | |
---|---|
Name | Description |
connection |
std::shared_ptr< CertificateAuthorityServiceConnection >
|
opts |
Options
|
Operators
operator=(CertificateAuthorityServiceClient const &)
Copy and move support
Parameter | |
---|---|
Name | Description |
|
CertificateAuthorityServiceClient const &
|
Returns | |
---|---|
Type | Description |
CertificateAuthorityServiceClient & |
operator=(CertificateAuthorityServiceClient &&)
Copy and move support
Parameter | |
---|---|
Name | Description |
|
CertificateAuthorityServiceClient &&
|
Returns | |
---|---|
Type | Description |
CertificateAuthorityServiceClient & |
Functions
CreateCertificate(std::string const &, google::cloud::security::privateca::v1::Certificate const &, std::string const &, Options)
Create a new Certificate in a given Project, Location from a particular CaPool.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. The resource name of the CaPool associated with the Certificate, in the format |
certificate |
google::cloud::security::privateca::v1::Certificate const &
Required. A Certificate with initial field values. |
certificate_id |
std::string const &
Optional. It must be unique within a location and match the regular expression |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::security::privateca::v1::Certificate > |
the result of the RPC. The response message type (google.cloud.security.privateca.v1.Certificate) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
CreateCertificate(google::cloud::security::privateca::v1::CreateCertificateRequest const &, Options)
Create a new Certificate in a given Project, Location from a particular CaPool.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::security::privateca::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 |
StatusOr< google::cloud::security::privateca::v1::Certificate > |
the result of the RPC. The response message type (google.cloud.security.privateca.v1.Certificate) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetCertificate(std::string const &, Options)
Returns a Certificate.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. The name of the Certificate to get. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::security::privateca::v1::Certificate > |
the result of the RPC. The response message type (google.cloud.security.privateca.v1.Certificate) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetCertificate(google::cloud::security::privateca::v1::GetCertificateRequest const &, Options)
Returns a Certificate.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::security::privateca::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::security::privateca::v1::Certificate > |
the result of the RPC. The response message type (google.cloud.security.privateca.v1.Certificate) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
ListCertificates(std::string const &, Options)
Lists Certificates.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. The resource name of the location associated with the Certificates, in the format |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::security::privateca::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::security::privateca::v1::ListCertificatesRequest, Options)
Lists Certificates.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::security::privateca::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::security::privateca::v1::Certificate > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
RevokeCertificate(std::string const &, Options)
Revoke a Certificate.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. The resource name for this Certificate in the format |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::security::privateca::v1::Certificate > |
the result of the RPC. The response message type (google.cloud.security.privateca.v1.Certificate) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
RevokeCertificate(google::cloud::security::privateca::v1::RevokeCertificateRequest const &, Options)
Revoke a Certificate.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::security::privateca::v1::RevokeCertificateRequest 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::security::privateca::v1::Certificate > |
the result of the RPC. The response message type (google.cloud.security.privateca.v1.Certificate) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
UpdateCertificate(google::cloud::security::privateca::v1::Certificate const &, google::protobuf::FieldMask const &, Options)
Update a Certificate.
Currently, the only field you can update is the labels field.
Parameters | |
---|---|
Name | Description |
certificate |
google::cloud::security::privateca::v1::Certificate const &
Required. Certificate with updated values. |
update_mask |
google::protobuf::FieldMask const &
Required. A list of fields to be updated in this request. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::security::privateca::v1::Certificate > |
the result of the RPC. The response message type (google.cloud.security.privateca.v1.Certificate) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
UpdateCertificate(google::cloud::security::privateca::v1::UpdateCertificateRequest const &, Options)
Update a Certificate.
Currently, the only field you can update is the labels field.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::security::privateca::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 |
StatusOr< google::cloud::security::privateca::v1::Certificate > |
the result of the RPC. The response message type (google.cloud.security.privateca.v1.Certificate) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
ActivateCertificateAuthority(std::string const &, Options)
Activate a CertificateAuthority that is in state AWAITING_USER_ACTIVATION and is of type SUBORDINATE.
After the parent Certificate Authority signs a certificate signing request from FetchCertificateAuthorityCsr, this method can complete the activation process.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. The resource name for this CertificateAuthority in the format |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::security::privateca::v1::CertificateAuthority > > |
A |
ActivateCertificateAuthority(ExperimentalTag, NoAwaitTag, std::string const &, Options)
Activate a CertificateAuthority that is in state AWAITING_USER_ACTIVATION and is of type SUBORDINATE.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
ExperimentalTag
|
|
NoAwaitTag
|
name |
std::string const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
ActivateCertificateAuthority(google::cloud::security::privateca::v1::ActivateCertificateAuthorityRequest const &, Options)
Activate a CertificateAuthority that is in state AWAITING_USER_ACTIVATION and is of type SUBORDINATE.
After the parent Certificate Authority signs a certificate signing request from FetchCertificateAuthorityCsr, this method can complete the activation process.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::security::privateca::v1::ActivateCertificateAuthorityRequest 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::security::privateca::v1::CertificateAuthority > > |
A |
ActivateCertificateAuthority(ExperimentalTag, NoAwaitTag, google::cloud::security::privateca::v1::ActivateCertificateAuthorityRequest const &, Options)
Activate a CertificateAuthority that is in state AWAITING_USER_ACTIVATION and is of type SUBORDINATE.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
ExperimentalTag
|
|
NoAwaitTag
|
request |
google::cloud::security::privateca::v1::ActivateCertificateAuthorityRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
ActivateCertificateAuthority(ExperimentalTag, google::longrunning::Operation const &, Options)
Activate a CertificateAuthority that is in state AWAITING_USER_ACTIVATION and is of type SUBORDINATE.
This method accepts a google::longrunning::Operation
that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.
Parameters | |
---|---|
Name | Description |
|
ExperimentalTag
|
operation |
google::longrunning::Operation const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::security::privateca::v1::CertificateAuthority > > |
CreateCertificateAuthority(std::string const &, google::cloud::security::privateca::v1::CertificateAuthority const &, std::string const &, Options)
Create a new CertificateAuthority in a given Project and Location.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. The resource name of the CaPool associated with the CertificateAuthorities, in the format |
certificate_authority |
google::cloud::security::privateca::v1::CertificateAuthority const &
Required. A CertificateAuthority with initial field values. |
certificate_authority_id |
std::string const &
Required. It must be unique within a location and match the regular expression |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::security::privateca::v1::CertificateAuthority > > |
A |
CreateCertificateAuthority(ExperimentalTag, NoAwaitTag, std::string const &, google::cloud::security::privateca::v1::CertificateAuthority const &, std::string const &, Options)
Create a new CertificateAuthority in a given Project and Location.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
ExperimentalTag
|
|
NoAwaitTag
|
parent |
std::string const &
|
certificate_authority |
google::cloud::security::privateca::v1::CertificateAuthority const &
|
certificate_authority_id |
std::string const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
CreateCertificateAuthority(google::cloud::security::privateca::v1::CreateCertificateAuthorityRequest const &, Options)
Create a new CertificateAuthority in a given Project and Location.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::security::privateca::v1::CreateCertificateAuthorityRequest 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::security::privateca::v1::CertificateAuthority > > |
A |
CreateCertificateAuthority(ExperimentalTag, NoAwaitTag, google::cloud::security::privateca::v1::CreateCertificateAuthorityRequest const &, Options)
Create a new CertificateAuthority in a given Project and Location.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
ExperimentalTag
|
|
NoAwaitTag
|
request |
google::cloud::security::privateca::v1::CreateCertificateAuthorityRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
CreateCertificateAuthority(ExperimentalTag, google::longrunning::Operation const &, Options)
Create a new CertificateAuthority in a given Project and Location.
This method accepts a google::longrunning::Operation
that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.
Parameters | |
---|---|
Name | Description |
|
ExperimentalTag
|
operation |
google::longrunning::Operation const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::security::privateca::v1::CertificateAuthority > > |
DisableCertificateAuthority(std::string const &, Options)
Disable a CertificateAuthority.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. The resource name for this CertificateAuthority in the format |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::security::privateca::v1::CertificateAuthority > > |
A |
DisableCertificateAuthority(ExperimentalTag, NoAwaitTag, std::string const &, Options)
Disable a CertificateAuthority.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
ExperimentalTag
|
|
NoAwaitTag
|
name |
std::string const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
DisableCertificateAuthority(google::cloud::security::privateca::v1::DisableCertificateAuthorityRequest const &, Options)
Disable a CertificateAuthority.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::security::privateca::v1::DisableCertificateAuthorityRequest 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::security::privateca::v1::CertificateAuthority > > |
A |
DisableCertificateAuthority(ExperimentalTag, NoAwaitTag, google::cloud::security::privateca::v1::DisableCertificateAuthorityRequest const &, Options)
Disable a CertificateAuthority.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
ExperimentalTag
|
|
NoAwaitTag
|
request |
google::cloud::security::privateca::v1::DisableCertificateAuthorityRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
DisableCertificateAuthority(ExperimentalTag, google::longrunning::Operation const &, Options)
Disable a CertificateAuthority.
This method accepts a google::longrunning::Operation
that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.
Parameters | |
---|---|
Name | Description |
|
ExperimentalTag
|
operation |
google::longrunning::Operation const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::security::privateca::v1::CertificateAuthority > > |
EnableCertificateAuthority(std::string const &, Options)
Enable a CertificateAuthority.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. The resource name for this CertificateAuthority in the format |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::security::privateca::v1::CertificateAuthority > > |
A |
EnableCertificateAuthority(ExperimentalTag, NoAwaitTag, std::string const &, Options)
Enable a CertificateAuthority.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
ExperimentalTag
|
|
NoAwaitTag
|
name |
std::string const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
EnableCertificateAuthority(google::cloud::security::privateca::v1::EnableCertificateAuthorityRequest const &, Options)
Enable a CertificateAuthority.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::security::privateca::v1::EnableCertificateAuthorityRequest 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::security::privateca::v1::CertificateAuthority > > |
A |
EnableCertificateAuthority(ExperimentalTag, NoAwaitTag, google::cloud::security::privateca::v1::EnableCertificateAuthorityRequest const &, Options)
Enable a CertificateAuthority.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
ExperimentalTag
|
|
NoAwaitTag
|
request |
google::cloud::security::privateca::v1::EnableCertificateAuthorityRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
EnableCertificateAuthority(ExperimentalTag, google::longrunning::Operation const &, Options)
Enable a CertificateAuthority.
This method accepts a google::longrunning::Operation
that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.
Parameters | |
---|---|
Name | Description |
|
ExperimentalTag
|
operation |
google::longrunning::Operation const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::security::privateca::v1::CertificateAuthority > > |
FetchCertificateAuthorityCsr(std::string const &, Options)
Fetch a certificate signing request (CSR) from a CertificateAuthority that is in state AWAITING_USER_ACTIVATION and is of type SUBORDINATE.
The CSR must then be signed by the desired parent Certificate Authority, which could be another CertificateAuthority resource, or could be an on-prem certificate authority. See also ActivateCertificateAuthority.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. The resource name for this CertificateAuthority in the format |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::security::privateca::v1::FetchCertificateAuthorityCsrResponse > |
the result of the RPC. The response message type (google.cloud.security.privateca.v1.FetchCertificateAuthorityCsrResponse) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
FetchCertificateAuthorityCsr(google::cloud::security::privateca::v1::FetchCertificateAuthorityCsrRequest const &, Options)
Fetch a certificate signing request (CSR) from a CertificateAuthority that is in state AWAITING_USER_ACTIVATION and is of type SUBORDINATE.
The CSR must then be signed by the desired parent Certificate Authority, which could be another CertificateAuthority resource, or could be an on-prem certificate authority. See also ActivateCertificateAuthority.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::security::privateca::v1::FetchCertificateAuthorityCsrRequest 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::security::privateca::v1::FetchCertificateAuthorityCsrResponse > |
the result of the RPC. The response message type (google.cloud.security.privateca.v1.FetchCertificateAuthorityCsrResponse) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetCertificateAuthority(std::string const &, Options)
Returns a CertificateAuthority.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. The name of the CertificateAuthority to get. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::security::privateca::v1::CertificateAuthority > |
the result of the RPC. The response message type (google.cloud.security.privateca.v1.CertificateAuthority) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetCertificateAuthority(google::cloud::security::privateca::v1::GetCertificateAuthorityRequest const &, Options)
Returns a CertificateAuthority.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::security::privateca::v1::GetCertificateAuthorityRequest 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::security::privateca::v1::CertificateAuthority > |
the result of the RPC. The response message type (google.cloud.security.privateca.v1.CertificateAuthority) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
ListCertificateAuthorities(std::string const &, Options)
Lists CertificateAuthorities.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. The resource name of the CaPool associated with the CertificateAuthorities, in the format |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::security::privateca::v1::CertificateAuthority > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
ListCertificateAuthorities(google::cloud::security::privateca::v1::ListCertificateAuthoritiesRequest, Options)
Lists CertificateAuthorities.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::security::privateca::v1::ListCertificateAuthoritiesRequest
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::security::privateca::v1::CertificateAuthority > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
UndeleteCertificateAuthority(std::string const &, Options)
Undelete a CertificateAuthority that has been deleted.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. The resource name for this CertificateAuthority in the format |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::security::privateca::v1::CertificateAuthority > > |
A |
UndeleteCertificateAuthority(ExperimentalTag, NoAwaitTag, std::string const &, Options)
Undelete a CertificateAuthority that has been deleted.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
ExperimentalTag
|
|
NoAwaitTag
|
name |
std::string const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
UndeleteCertificateAuthority(google::cloud::security::privateca::v1::UndeleteCertificateAuthorityRequest const &, Options)
Undelete a CertificateAuthority that has been deleted.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::security::privateca::v1::UndeleteCertificateAuthorityRequest 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::security::privateca::v1::CertificateAuthority > > |
A |
UndeleteCertificateAuthority(ExperimentalTag, NoAwaitTag, google::cloud::security::privateca::v1::UndeleteCertificateAuthorityRequest const &, Options)
Undelete a CertificateAuthority that has been deleted.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
ExperimentalTag
|
|
NoAwaitTag
|
request |
google::cloud::security::privateca::v1::UndeleteCertificateAuthorityRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
UndeleteCertificateAuthority(ExperimentalTag, google::longrunning::Operation const &, Options)
Undelete a CertificateAuthority that has been deleted.
This method accepts a google::longrunning::Operation
that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.
Parameters | |
---|---|
Name | Description |
|
ExperimentalTag
|
operation |
google::longrunning::Operation const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::security::privateca::v1::CertificateAuthority > > |
DeleteCertificateAuthority(std::string const &, Options)
Delete a CertificateAuthority.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. The resource name for this CertificateAuthority in the format |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::security::privateca::v1::CertificateAuthority > > |
A |
DeleteCertificateAuthority(ExperimentalTag, NoAwaitTag, std::string const &, Options)
Delete a CertificateAuthority.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
ExperimentalTag
|
|
NoAwaitTag
|
name |
std::string const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
DeleteCertificateAuthority(google::cloud::security::privateca::v1::DeleteCertificateAuthorityRequest const &, Options)
Delete a CertificateAuthority.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::security::privateca::v1::DeleteCertificateAuthorityRequest 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::security::privateca::v1::CertificateAuthority > > |
A |
DeleteCertificateAuthority(ExperimentalTag, NoAwaitTag, google::cloud::security::privateca::v1::DeleteCertificateAuthorityRequest const &, Options)
Delete a CertificateAuthority.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
ExperimentalTag
|
|
NoAwaitTag
|
request |
google::cloud::security::privateca::v1::DeleteCertificateAuthorityRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
DeleteCertificateAuthority(ExperimentalTag, google::longrunning::Operation const &, Options)
Delete a CertificateAuthority.
This method accepts a google::longrunning::Operation
that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.
Parameters | |
---|---|
Name | Description |
|
ExperimentalTag
|
operation |
google::longrunning::Operation const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::security::privateca::v1::CertificateAuthority > > |
UpdateCertificateAuthority(google::cloud::security::privateca::v1::CertificateAuthority const &, google::protobuf::FieldMask const &, Options)
Update a CertificateAuthority.
Parameters | |
---|---|
Name | Description |
certificate_authority |
google::cloud::security::privateca::v1::CertificateAuthority const &
Required. CertificateAuthority with updated values. |
update_mask |
google::protobuf::FieldMask const &
Required. A list of fields to be updated in this request. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::security::privateca::v1::CertificateAuthority > > |
A |
UpdateCertificateAuthority(ExperimentalTag, NoAwaitTag, google::cloud::security::privateca::v1::CertificateAuthority const &, google::protobuf::FieldMask const &, Options)
Update a CertificateAuthority.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
ExperimentalTag
|
|
NoAwaitTag
|
certificate_authority |
google::cloud::security::privateca::v1::CertificateAuthority const &
|
update_mask |
google::protobuf::FieldMask const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
UpdateCertificateAuthority(google::cloud::security::privateca::v1::UpdateCertificateAuthorityRequest const &, Options)
Update a CertificateAuthority.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::security::privateca::v1::UpdateCertificateAuthorityRequest 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::security::privateca::v1::CertificateAuthority > > |
A |
UpdateCertificateAuthority(ExperimentalTag, NoAwaitTag, google::cloud::security::privateca::v1::UpdateCertificateAuthorityRequest const &, Options)
Update a CertificateAuthority.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
ExperimentalTag
|
|
NoAwaitTag
|
request |
google::cloud::security::privateca::v1::UpdateCertificateAuthorityRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
UpdateCertificateAuthority(ExperimentalTag, google::longrunning::Operation const &, Options)
Update a CertificateAuthority.
This method accepts a google::longrunning::Operation
that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.
Parameters | |
---|---|
Name | Description |
|
ExperimentalTag
|
operation |
google::longrunning::Operation const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::security::privateca::v1::CertificateAuthority > > |
CreateCaPool(std::string const &, google::cloud::security::privateca::v1::CaPool const &, std::string const &, Options)
Create a CaPool.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. The resource name of the location associated with the CaPool, in the format |
ca_pool |
google::cloud::security::privateca::v1::CaPool const &
Required. A CaPool with initial field values. |
ca_pool_id |
std::string const &
Required. It must be unique within a location and match the regular expression |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::security::privateca::v1::CaPool > > |
A |
CreateCaPool(ExperimentalTag, NoAwaitTag, std::string const &, google::cloud::security::privateca::v1::CaPool const &, std::string const &, Options)
Create a CaPool.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
ExperimentalTag
|
|
NoAwaitTag
|
parent |
std::string const &
|
ca_pool |
google::cloud::security::privateca::v1::CaPool const &
|
ca_pool_id |
std::string const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
CreateCaPool(google::cloud::security::privateca::v1::CreateCaPoolRequest const &, Options)
Create a CaPool.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::security::privateca::v1::CreateCaPoolRequest 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::security::privateca::v1::CaPool > > |
A |
CreateCaPool(ExperimentalTag, NoAwaitTag, google::cloud::security::privateca::v1::CreateCaPoolRequest const &, Options)
Create a CaPool.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
ExperimentalTag
|
|
NoAwaitTag
|
request |
google::cloud::security::privateca::v1::CreateCaPoolRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
CreateCaPool(ExperimentalTag, google::longrunning::Operation const &, Options)
Create a CaPool.
This method accepts a google::longrunning::Operation
that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.
Parameters | |
---|---|
Name | Description |
|
ExperimentalTag
|
operation |
google::longrunning::Operation const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::security::privateca::v1::CaPool > > |
UpdateCaPool(google::cloud::security::privateca::v1::CaPool const &, google::protobuf::FieldMask const &, Options)
Update a CaPool.
Parameters | |
---|---|
Name | Description |
ca_pool |
google::cloud::security::privateca::v1::CaPool const &
Required. CaPool with updated values. |
update_mask |
google::protobuf::FieldMask const &
Required. A list of fields to be updated in this request. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::security::privateca::v1::CaPool > > |
A |
UpdateCaPool(ExperimentalTag, NoAwaitTag, google::cloud::security::privateca::v1::CaPool const &, google::protobuf::FieldMask const &, Options)
Update a CaPool.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
ExperimentalTag
|
|
NoAwaitTag
|
ca_pool |
google::cloud::security::privateca::v1::CaPool const &
|
update_mask |
google::protobuf::FieldMask const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
UpdateCaPool(google::cloud::security::privateca::v1::UpdateCaPoolRequest const &, Options)
Update a CaPool.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::security::privateca::v1::UpdateCaPoolRequest 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::security::privateca::v1::CaPool > > |
A |
UpdateCaPool(ExperimentalTag, NoAwaitTag, google::cloud::security::privateca::v1::UpdateCaPoolRequest const &, Options)
Update a CaPool.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
ExperimentalTag
|
|
NoAwaitTag
|
request |
google::cloud::security::privateca::v1::UpdateCaPoolRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
UpdateCaPool(ExperimentalTag, google::longrunning::Operation const &, Options)
Update a CaPool.
This method accepts a google::longrunning::Operation
that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.
Parameters | |
---|---|
Name | Description |
|
ExperimentalTag
|
operation |
google::longrunning::Operation const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::security::privateca::v1::CaPool > > |
GetCaPool(std::string const &, Options)
Returns a CaPool.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
|
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::security::privateca::v1::CaPool > |
the result of the RPC. The response message type (google.cloud.security.privateca.v1.CaPool) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetCaPool(google::cloud::security::privateca::v1::GetCaPoolRequest const &, Options)
Returns a CaPool.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::security::privateca::v1::GetCaPoolRequest 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::security::privateca::v1::CaPool > |
the result of the RPC. The response message type (google.cloud.security.privateca.v1.CaPool) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
ListCaPools(std::string const &, Options)
Lists CaPools.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. The resource name of the location associated with the CaPools, in the format |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::security::privateca::v1::CaPool > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
ListCaPools(google::cloud::security::privateca::v1::ListCaPoolsRequest, Options)
Lists CaPools.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::security::privateca::v1::ListCaPoolsRequest
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::security::privateca::v1::CaPool > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
DeleteCaPool(std::string const &, Options)
Delete a CaPool.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. The resource name for this CaPool in the format |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::security::privateca::v1::OperationMetadata > > |
A |
DeleteCaPool(ExperimentalTag, NoAwaitTag, std::string const &, Options)
Delete a CaPool.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
ExperimentalTag
|
|
NoAwaitTag
|
name |
std::string const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
DeleteCaPool(google::cloud::security::privateca::v1::DeleteCaPoolRequest const &, Options)
Delete a CaPool.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::security::privateca::v1::DeleteCaPoolRequest 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::security::privateca::v1::OperationMetadata > > |
A |
DeleteCaPool(ExperimentalTag, NoAwaitTag, google::cloud::security::privateca::v1::DeleteCaPoolRequest const &, Options)
Delete a CaPool.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
ExperimentalTag
|
|
NoAwaitTag
|
request |
google::cloud::security::privateca::v1::DeleteCaPoolRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
DeleteCaPool(ExperimentalTag, google::longrunning::Operation const &, Options)
Delete a CaPool.
This method accepts a google::longrunning::Operation
that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.
Parameters | |
---|---|
Name | Description |
|
ExperimentalTag
|
operation |
google::longrunning::Operation const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::security::privateca::v1::OperationMetadata > > |
FetchCaCerts(std::string const &, Options)
FetchCaCerts returns the current trust anchor for the CaPool.
This will include CA certificate chains for all certificate authorities in the ENABLED, DISABLED, or STAGED states.
Parameters | |
---|---|
Name | Description |
ca_pool |
std::string const &
Required. The resource name for the CaPool in the format |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::security::privateca::v1::FetchCaCertsResponse > |
the result of the RPC. The response message type (google.cloud.security.privateca.v1.FetchCaCertsResponse) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
FetchCaCerts(google::cloud::security::privateca::v1::FetchCaCertsRequest const &, Options)
FetchCaCerts returns the current trust anchor for the CaPool.
This will include CA certificate chains for all certificate authorities in the ENABLED, DISABLED, or STAGED states.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::security::privateca::v1::FetchCaCertsRequest 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::security::privateca::v1::FetchCaCertsResponse > |
the result of the RPC. The response message type (google.cloud.security.privateca.v1.FetchCaCertsResponse) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetCertificateRevocationList(std::string const &, Options)
Returns a CertificateRevocationList.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. The name of the CertificateRevocationList to get. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::security::privateca::v1::CertificateRevocationList > |
the result of the RPC. The response message type (google.cloud.security.privateca.v1.CertificateRevocationList) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetCertificateRevocationList(google::cloud::security::privateca::v1::GetCertificateRevocationListRequest const &, Options)
Returns a CertificateRevocationList.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::security::privateca::v1::GetCertificateRevocationListRequest 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::security::privateca::v1::CertificateRevocationList > |
the result of the RPC. The response message type (google.cloud.security.privateca.v1.CertificateRevocationList) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
ListCertificateRevocationLists(std::string const &, Options)
Lists CertificateRevocationLists.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. The resource name of the location associated with the CertificateRevocationLists, in the format |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::security::privateca::v1::CertificateRevocationList > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
ListCertificateRevocationLists(google::cloud::security::privateca::v1::ListCertificateRevocationListsRequest, Options)
Lists CertificateRevocationLists.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::security::privateca::v1::ListCertificateRevocationListsRequest
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::security::privateca::v1::CertificateRevocationList > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
UpdateCertificateRevocationList(google::cloud::security::privateca::v1::CertificateRevocationList const &, google::protobuf::FieldMask const &, Options)
Update a CertificateRevocationList.
Parameters | |
---|---|
Name | Description |
certificate_revocation_list |
google::cloud::security::privateca::v1::CertificateRevocationList const &
Required. CertificateRevocationList with updated values. |
update_mask |
google::protobuf::FieldMask const &
Required. A list of fields to be updated in this request. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::security::privateca::v1::CertificateRevocationList > > |
A |
UpdateCertificateRevocationList(ExperimentalTag, NoAwaitTag, google::cloud::security::privateca::v1::CertificateRevocationList const &, google::protobuf::FieldMask const &, Options)
Update a CertificateRevocationList.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
ExperimentalTag
|
|
NoAwaitTag
|
certificate_revocation_list |
google::cloud::security::privateca::v1::CertificateRevocationList const &
|
update_mask |
google::protobuf::FieldMask const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
UpdateCertificateRevocationList(google::cloud::security::privateca::v1::UpdateCertificateRevocationListRequest const &, Options)
Update a CertificateRevocationList.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::security::privateca::v1::UpdateCertificateRevocationListRequest 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::security::privateca::v1::CertificateRevocationList > > |
A |
UpdateCertificateRevocationList(ExperimentalTag, NoAwaitTag, google::cloud::security::privateca::v1::UpdateCertificateRevocationListRequest const &, Options)
Update a CertificateRevocationList.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
ExperimentalTag
|
|
NoAwaitTag
|
request |
google::cloud::security::privateca::v1::UpdateCertificateRevocationListRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
UpdateCertificateRevocationList(ExperimentalTag, google::longrunning::Operation const &, Options)
Update a CertificateRevocationList.
This method accepts a google::longrunning::Operation
that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.
Parameters | |
---|---|
Name | Description |
|
ExperimentalTag
|
operation |
google::longrunning::Operation const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::security::privateca::v1::CertificateRevocationList > > |
CreateCertificateTemplate(std::string const &, google::cloud::security::privateca::v1::CertificateTemplate const &, std::string const &, Options)
Create a new CertificateTemplate in a given Project and Location.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. The resource name of the location associated with the CertificateTemplate, in the format |
certificate_template |
google::cloud::security::privateca::v1::CertificateTemplate const &
Required. A CertificateTemplate with initial field values. |
certificate_template_id |
std::string const &
Required. It must be unique within a location and match the regular expression |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::security::privateca::v1::CertificateTemplate > > |
A |
CreateCertificateTemplate(ExperimentalTag, NoAwaitTag, std::string const &, google::cloud::security::privateca::v1::CertificateTemplate const &, std::string const &, Options)
Create a new CertificateTemplate in a given Project and Location.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
ExperimentalTag
|
|
NoAwaitTag
|
parent |
std::string const &
|
certificate_template |
google::cloud::security::privateca::v1::CertificateTemplate const &
|
certificate_template_id |
std::string const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
CreateCertificateTemplate(google::cloud::security::privateca::v1::CreateCertificateTemplateRequest const &, Options)
Create a new CertificateTemplate in a given Project and Location.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::security::privateca::v1::CreateCertificateTemplateRequest 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::security::privateca::v1::CertificateTemplate > > |
A |
CreateCertificateTemplate(ExperimentalTag, NoAwaitTag, google::cloud::security::privateca::v1::CreateCertificateTemplateRequest const &, Options)
Create a new CertificateTemplate in a given Project and Location.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
ExperimentalTag
|
|
NoAwaitTag
|
request |
google::cloud::security::privateca::v1::CreateCertificateTemplateRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
CreateCertificateTemplate(ExperimentalTag, google::longrunning::Operation const &, Options)
Create a new CertificateTemplate in a given Project and Location.
This method accepts a google::longrunning::Operation
that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.
Parameters | |
---|---|
Name | Description |
|
ExperimentalTag
|
operation |
google::longrunning::Operation const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::security::privateca::v1::CertificateTemplate > > |
DeleteCertificateTemplate(std::string const &, Options)
DeleteCertificateTemplate deletes a CertificateTemplate.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. The resource name for this CertificateTemplate in the format |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::security::privateca::v1::OperationMetadata > > |
A |
DeleteCertificateTemplate(ExperimentalTag, NoAwaitTag, std::string const &, Options)
DeleteCertificateTemplate deletes a CertificateTemplate.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
ExperimentalTag
|
|
NoAwaitTag
|
name |
std::string const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
DeleteCertificateTemplate(google::cloud::security::privateca::v1::DeleteCertificateTemplateRequest const &, Options)
DeleteCertificateTemplate deletes a CertificateTemplate.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::security::privateca::v1::DeleteCertificateTemplateRequest 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::security::privateca::v1::OperationMetadata > > |
A |
DeleteCertificateTemplate(ExperimentalTag, NoAwaitTag, google::cloud::security::privateca::v1::DeleteCertificateTemplateRequest const &, Options)
DeleteCertificateTemplate deletes a CertificateTemplate.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
ExperimentalTag
|
|
NoAwaitTag
|
request |
google::cloud::security::privateca::v1::DeleteCertificateTemplateRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
DeleteCertificateTemplate(ExperimentalTag, google::longrunning::Operation const &, Options)
DeleteCertificateTemplate deletes a CertificateTemplate.
This method accepts a google::longrunning::Operation
that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.
Parameters | |
---|---|
Name | Description |
|
ExperimentalTag
|
operation |
google::longrunning::Operation const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::security::privateca::v1::OperationMetadata > > |
GetCertificateTemplate(std::string const &, Options)
Returns a CertificateTemplate.
Parameters | |
---|---|
Name | Description |
name |
std::string const &
Required. The name of the CertificateTemplate to get. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StatusOr< google::cloud::security::privateca::v1::CertificateTemplate > |
the result of the RPC. The response message type (google.cloud.security.privateca.v1.CertificateTemplate) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
GetCertificateTemplate(google::cloud::security::privateca::v1::GetCertificateTemplateRequest const &, Options)
Returns a CertificateTemplate.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::security::privateca::v1::GetCertificateTemplateRequest 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::security::privateca::v1::CertificateTemplate > |
the result of the RPC. The response message type (google.cloud.security.privateca.v1.CertificateTemplate) is mapped to a C++ class using the Protobuf mapping rules. If the request fails, the |
ListCertificateTemplates(std::string const &, Options)
Lists CertificateTemplates.
Parameters | |
---|---|
Name | Description |
parent |
std::string const &
Required. The resource name of the location associated with the CertificateTemplates, in the format |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::security::privateca::v1::CertificateTemplate > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
ListCertificateTemplates(google::cloud::security::privateca::v1::ListCertificateTemplatesRequest, Options)
Lists CertificateTemplates.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::security::privateca::v1::ListCertificateTemplatesRequest
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::security::privateca::v1::CertificateTemplate > |
a StreamRange to iterate of the results. See the documentation of this type for details. In brief, this class has |
UpdateCertificateTemplate(google::cloud::security::privateca::v1::CertificateTemplate const &, google::protobuf::FieldMask const &, Options)
Update a CertificateTemplate.
Parameters | |
---|---|
Name | Description |
certificate_template |
google::cloud::security::privateca::v1::CertificateTemplate const &
Required. CertificateTemplate with updated values. |
update_mask |
google::protobuf::FieldMask const &
Required. A list of fields to be updated in this request. |
opts |
Options
Optional. Override the class-level options, such as retry and backoff policies. |
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::security::privateca::v1::CertificateTemplate > > |
A |
UpdateCertificateTemplate(ExperimentalTag, NoAwaitTag, google::cloud::security::privateca::v1::CertificateTemplate const &, google::protobuf::FieldMask const &, Options)
Update a CertificateTemplate.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
ExperimentalTag
|
|
NoAwaitTag
|
certificate_template |
google::cloud::security::privateca::v1::CertificateTemplate const &
|
update_mask |
google::protobuf::FieldMask const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
UpdateCertificateTemplate(google::cloud::security::privateca::v1::UpdateCertificateTemplateRequest const &, Options)
Update a CertificateTemplate.
Parameters | |
---|---|
Name | Description |
request |
google::cloud::security::privateca::v1::UpdateCertificateTemplateRequest 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::security::privateca::v1::CertificateTemplate > > |
A |
UpdateCertificateTemplate(ExperimentalTag, NoAwaitTag, google::cloud::security::privateca::v1::UpdateCertificateTemplateRequest const &, Options)
Update a CertificateTemplate.
Specifying the NoAwaitTag
immediately returns the [google::longrunning::Operation
] that corresponds to the Long Running Operation that has been started. No polling for operation status occurs.
Parameters | |
---|---|
Name | Description |
|
ExperimentalTag
|
|
NoAwaitTag
|
request |
google::cloud::security::privateca::v1::UpdateCertificateTemplateRequest const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
StatusOr< google::longrunning::Operation > |
UpdateCertificateTemplate(ExperimentalTag, google::longrunning::Operation const &, Options)
Update a CertificateTemplate.
This method accepts a google::longrunning::Operation
that corresponds to a previously started Long Running Operation (LRO) and polls the status of the LRO in the background.
Parameters | |
---|---|
Name | Description |
|
ExperimentalTag
|
operation |
google::longrunning::Operation const &
|
opts |
Options
|
Returns | |
---|---|
Type | Description |
future< StatusOr< google::cloud::security::privateca::v1::CertificateTemplate > > |