Service Client: Google::Cloud::Security::Privateca::V1::Service::CertificateAuthorityServiceClient
Client stub representing the remote CertificateAuthorityService gRPC service. Delegates call dispatching to Google::gRPC::Client.
target
The endpoint target address. Defaults to security.googleapis.com:443.
credentials
The authentication credentials provider. Defaults to application default credentials via Google::Auth.
NAME
Google::Cloud::Security::Privateca::V1::Service - Compiled Protocol Buffers messages for google/cloud/security/privateca/v1/service.proto
SYNOPSIS
use Google::Cloud::Security::Privateca::V1::Service;
my $msg = Google::Cloud::Security::Privateca::V1::Service::CreateCertificateRequest->new({
parent => $parent,
certificate_id => $certificate_id,
certificate => $certificate,
request_id => $request_id,
});
# Read or update a field
my $val = $msg->parent();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Security::Privateca::V1::Service::CreateCertificateRequest->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/security/privateca/v1/service.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Cloud::Security::Privateca::V1::Service::CreateCertificateRequest
Request message for [CertificateAuthorityService.CreateCertificate][google.cloud.security.privateca.v1.CertificateAuthorityService.CreateCertificate].
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The resource name of the [CaPool][google.cloud.security.privateca.v1.CaPool] associated with the [Certificate][google.cloud.security.privateca.v1.Certificate], in the format `projects/*/locations/*/caPools/*`.
$msg->certificate_id()/$msg->certificate_id($value)Type:
StringOptional. It must be unique within a location and match the regular expression `[a-zA-Z0-9_-]{1,63}`. This field is required when using a [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority] in the Enterprise [CertificateAuthority.tier][google.cloud.security.privateca.v1.CertificateAuthority.tier], but is optional and its value is ignored otherwise.
$msg->certificate()/$msg->certificate($value)Type:
Message(Google::Cloud::Security::Privateca::V1::Resources::Certificate)Required. A [Certificate][google.cloud.security.privateca.v1.Certificate] with initial field values.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. An ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
$msg->validate_only()/$msg->validate_only($value)Type:
BoolOptional. If this is true, no [Certificate][google.cloud.security.privateca.v1.Certificate] resource will be persisted regardless of the [CaPool][google.cloud.security.privateca.v1.CaPool]'s [tier][google.cloud.security.privateca.v1.CaPool.tier], and the returned [Certificate][google.cloud.security.privateca.v1.Certificate] will not contain the [pem_certificate][google.cloud.security.privateca.v1.Certificate.pem_certificate] field.
$msg->issuing_certificate_authority_id()/$msg->issuing_certificate_authority_id($value)Type:
StringOptional. The resource ID of the [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority] that should issue the certificate. This optional field will ignore the load-balancing scheme of the Pool and directly issue the certificate from the CA with the specified ID, contained in the same [CaPool][google.cloud.security.privateca.v1.CaPool] referenced by `parent`. Per-CA quota rules apply. If left empty, a [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority] will be chosen from the [CaPool][google.cloud.security.privateca.v1.CaPool] by the service. For example, to issue a [Certificate][google.cloud.security.privateca.v1.Certificate] from a Certificate Authority with resource name "projects/my-project/locations/us-central1/caPools/my-pool/certificateAuthorities/my-ca", you can set the [parent][google.cloud.security.privateca.v1.CreateCertificateRequest.parent] to "projects/my-project/locations/us-central1/caPools/my-pool" and the [issuing_certificate_authority_id][google.cloud.security.privateca.v1.CreateCertificateRequest.issuing_certificate_authority_id] to "my-ca".
Google::Cloud::Security::Privateca::V1::Service::GetCertificateRequest
Request message for [CertificateAuthorityService.GetCertificate][google.cloud.security.privateca.v1.CertificateAuthorityService.GetCertificate].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The [name][google.cloud.security.privateca.v1.Certificate.name] of the [Certificate][google.cloud.security.privateca.v1.Certificate] to get.
Google::Cloud::Security::Privateca::V1::Service::ListCertificatesRequest
Request message for [CertificateAuthorityService.ListCertificates][google.cloud.security.privateca.v1.CertificateAuthorityService.ListCertificates].
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The resource name of the parent associated with the [Certificates][google.cloud.security.privateca.v1.Certificate], in the format `projects/*/locations/*/caPools/*`. The parent resource name can be in one of two forms:
1. Specific CA Pool: To list certificates within a single CA Pool: `projects/*/locations/*/caPools/*`
2. All CA Pools in a Location: To list certificates across *all* CA Pools in a given project and location, use the wildcard character (`-`) in place of the CA Pool ID. Example: `projects/*/locations/*/caPools/-`
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. Limit on the number of [Certificates][google.cloud.security.privateca.v1.Certificate] to include in the response. Further [Certificates][google.cloud.security.privateca.v1.Certificate] can subsequently be obtained by including the [ListCertificatesResponse.next_page_token][google.cloud.security.privateca.v1.ListCertificatesResponse.next_page_token] in a subsequent request. If unspecified, the server will pick an appropriate default.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. Pagination token, returned earlier via [ListCertificatesResponse.next_page_token][google.cloud.security.privateca.v1.ListCertificatesResponse.next_page_token].
$msg->filter()/$msg->filter($value)Type:
StringOptional. Only include resources that match the filter in the response. For details on supported filters and syntax, see [Certificates Filtering documentation](https://cloud.google.com/certificate-authority-service/docs/sorting-filtering-certificates#filtering_support).
$msg->order_by()/$msg->order_by($value)Type:
StringOptional. Specify how the results should be sorted. For details on supported fields and syntax, see [Certificates Sorting documentation](https://cloud.google.com/certificate-authority-service/docs/sorting-filtering-certificates#sorting_support).
Google::Cloud::Security::Privateca::V1::Service::ListCertificatesResponse
Response message for [CertificateAuthorityService.ListCertificates][google.cloud.security.privateca.v1.CertificateAuthorityService.ListCertificates].
Inherits from Protobuf::Message.
Accessors
$msg->certificates()/$msg->certificates($value)Type:
Message(Google::Cloud::Security::Privateca::V1::Resources::Certificate)The list of [Certificates][google.cloud.security.privateca.v1.Certificate].
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token to retrieve next page of results. Pass this value in [ListCertificatesRequest.page_token][google.cloud.security.privateca.v1.ListCertificatesRequest.page_token] to retrieve the next page of results.
$msg->unreachable()/$msg->unreachable($value)Type:
StringA list of locations (e.g. "us-west1") that could not be reached.
Google::Cloud::Security::Privateca::V1::Service::RevokeCertificateRequest
Request message for [CertificateAuthorityService.RevokeCertificate][google.cloud.security.privateca.v1.CertificateAuthorityService.RevokeCertificate].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The resource name for this [Certificate][google.cloud.security.privateca.v1.Certificate] in the format `projects/*/locations/*/caPools/*/certificates/*`.
$msg->reason()/$msg->reason($value)Type:
Enum(Google::Cloud::Security::Privateca::V1::RevocationReason)Required. The [RevocationReason][google.cloud.security.privateca.v1.RevocationReason] for revoking this certificate.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. An ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
Google::Cloud::Security::Privateca::V1::Service::UpdateCertificateRequest
Request message for [CertificateAuthorityService.UpdateCertificate][google.cloud.security.privateca.v1.CertificateAuthorityService.UpdateCertificate].
Inherits from Protobuf::Message.
Accessors
$msg->certificate()/$msg->certificate($value)Type:
Message(Google::Cloud::Security::Privateca::V1::Resources::Certificate)Required. [Certificate][google.cloud.security.privateca.v1.Certificate] with updated values.
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Required. A list of fields to be updated in this request.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. An ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
Google::Cloud::Security::Privateca::V1::Service::ActivateCertificateAuthorityRequest
Request message for [CertificateAuthorityService.ActivateCertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthorityService.ActivateCertificateAuthority].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The resource name for this [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority] in the format `projects/*/locations/*/caPools/*/certificateAuthorities/*`.
$msg->pem_ca_certificate()/$msg->pem_ca_certificate($value)Type:
StringRequired. The signed CA certificate issued from [FetchCertificateAuthorityCsrResponse.pem_csr][google.cloud.security.privateca.v1.FetchCertificateAuthorityCsrResponse.pem_csr].
$msg->subordinate_config()/$msg->subordinate_config($value)Type:
Message(Google::Cloud::Security::Privateca::V1::Resources::SubordinateConfig)Required. Must include information about the issuer of 'pem_ca_certificate', and any further issuers until the self-signed CA.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. An ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
Google::Cloud::Security::Privateca::V1::Service::CreateCertificateAuthorityRequest
Request message for [CertificateAuthorityService.CreateCertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthorityService.CreateCertificateAuthority].
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The resource name of the [CaPool][google.cloud.security.privateca.v1.CaPool] associated with the [CertificateAuthorities][google.cloud.security.privateca.v1.CertificateAuthority], in the format `projects/*/locations/*/caPools/*`.
$msg->certificate_authority_id()/$msg->certificate_authority_id($value)Type:
StringRequired. It must be unique within a location and match the regular expression `[a-zA-Z0-9_-]{1,63}`
$msg->certificate_authority()/$msg->certificate_authority($value)Type:
Message(Google::Cloud::Security::Privateca::V1::Resources::CertificateAuthority)Required. A [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority] with initial field values.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. An ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
Google::Cloud::Security::Privateca::V1::Service::DisableCertificateAuthorityRequest
Request message for [CertificateAuthorityService.DisableCertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthorityService.DisableCertificateAuthority].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The resource name for this [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority] in the format `projects/*/locations/*/caPools/*/certificateAuthorities/*`.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. An ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
$msg->ignore_dependent_resources()/$msg->ignore_dependent_resources($value)Type:
BoolOptional. This field allows this CA to be disabled even if it's being depended on by another resource. However, doing so may result in unintended and unrecoverable effects on any dependent resources since the CA will no longer be able to issue certificates.
Google::Cloud::Security::Privateca::V1::Service::EnableCertificateAuthorityRequest
Request message for [CertificateAuthorityService.EnableCertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthorityService.EnableCertificateAuthority].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The resource name for this [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority] in the format `projects/*/locations/*/caPools/*/certificateAuthorities/*`.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. An ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
Google::Cloud::Security::Privateca::V1::Service::FetchCertificateAuthorityCsrRequest
Request message for [CertificateAuthorityService.FetchCertificateAuthorityCsr][google.cloud.security.privateca.v1.CertificateAuthorityService.FetchCertificateAuthorityCsr].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The resource name for this [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority] in the format `projects/*/locations/*/caPools/*/certificateAuthorities/*`.
Google::Cloud::Security::Privateca::V1::Service::FetchCertificateAuthorityCsrResponse
Response message for [CertificateAuthorityService.FetchCertificateAuthorityCsr][google.cloud.security.privateca.v1.CertificateAuthorityService.FetchCertificateAuthorityCsr].
Inherits from Protobuf::Message.
Accessors
$msg->pem_csr()/$msg->pem_csr($value)Type:
StringOutput only. The PEM-encoded signed certificate signing request (CSR).
Google::Cloud::Security::Privateca::V1::Service::GetCertificateAuthorityRequest
Request message for [CertificateAuthorityService.GetCertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthorityService.GetCertificateAuthority].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The [name][google.cloud.security.privateca.v1.CertificateAuthority.name] of the [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority] to get.
Google::Cloud::Security::Privateca::V1::Service::ListCertificateAuthoritiesRequest
Request message for [CertificateAuthorityService.ListCertificateAuthorities][google.cloud.security.privateca.v1.CertificateAuthorityService.ListCertificateAuthorities].
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The resource name of the [CaPool][google.cloud.security.privateca.v1.CaPool] associated with the [CertificateAuthorities][google.cloud.security.privateca.v1.CertificateAuthority], in the format `projects/*/locations/*/caPools/*`.
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. Limit on the number of [CertificateAuthorities][google.cloud.security.privateca.v1.CertificateAuthority] to include in the response. Further [CertificateAuthorities][google.cloud.security.privateca.v1.CertificateAuthority] can subsequently be obtained by including the [ListCertificateAuthoritiesResponse.next_page_token][google.cloud.security.privateca.v1.ListCertificateAuthoritiesResponse.next_page_token] in a subsequent request. If unspecified, the server will pick an appropriate default.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. Pagination token, returned earlier via [ListCertificateAuthoritiesResponse.next_page_token][google.cloud.security.privateca.v1.ListCertificateAuthoritiesResponse.next_page_token].
$msg->filter()/$msg->filter($value)Type:
StringOptional. Only include resources that match the filter in the response.
$msg->order_by()/$msg->order_by($value)Type:
StringOptional. Specify how the results should be sorted.
Google::Cloud::Security::Privateca::V1::Service::ListCertificateAuthoritiesResponse
Response message for [CertificateAuthorityService.ListCertificateAuthorities][google.cloud.security.privateca.v1.CertificateAuthorityService.ListCertificateAuthorities].
Inherits from Protobuf::Message.
Accessors
$msg->certificate_authorities()/$msg->certificate_authorities($value)Type:
Message(Google::Cloud::Security::Privateca::V1::Resources::CertificateAuthority)The list of [CertificateAuthorities][google.cloud.security.privateca.v1.CertificateAuthority].
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token to retrieve next page of results. Pass this value in [ListCertificateAuthoritiesRequest.page_token][google.cloud.security.privateca.v1.ListCertificateAuthoritiesRequest.page_token] to retrieve the next page of results.
$msg->unreachable()/$msg->unreachable($value)Type:
StringA list of locations (e.g. "us-west1") that could not be reached.
Google::Cloud::Security::Privateca::V1::Service::UndeleteCertificateAuthorityRequest
Request message for [CertificateAuthorityService.UndeleteCertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthorityService.UndeleteCertificateAuthority].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The resource name for this [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority] in the format `projects/*/locations/*/caPools/*/certificateAuthorities/*`.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. An ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
Google::Cloud::Security::Privateca::V1::Service::DeleteCertificateAuthorityRequest
Request message for [CertificateAuthorityService.DeleteCertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthorityService.DeleteCertificateAuthority].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The resource name for this [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority] in the format `projects/*/locations/*/caPools/*/certificateAuthorities/*`.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. An ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
$msg->ignore_active_certificates()/$msg->ignore_active_certificates($value)Type:
BoolOptional. This field allows the CA to be deleted even if the CA has active certs. Active certs include both unrevoked and unexpired certs.
$msg->skip_grace_period()/$msg->skip_grace_period($value)Type:
BoolOptional. If this flag is set, the Certificate Authority will be deleted as soon as possible without a 30-day grace period where undeletion would have been allowed. If you proceed, there will be no way to recover this CA.
$msg->ignore_dependent_resources()/$msg->ignore_dependent_resources($value)Type:
BoolOptional. This field allows this CA to be deleted even if it's being depended on by another resource. However, doing so may result in unintended and unrecoverable effects on any dependent resources since the CA will no longer be able to issue certificates.
Google::Cloud::Security::Privateca::V1::Service::UpdateCertificateAuthorityRequest
Request message for [CertificateAuthorityService.UpdateCertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthorityService.UpdateCertificateAuthority].
Inherits from Protobuf::Message.
Accessors
$msg->certificate_authority()/$msg->certificate_authority($value)Type:
Message(Google::Cloud::Security::Privateca::V1::Resources::CertificateAuthority)Required. [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority] with updated values.
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Required. A list of fields to be updated in this request.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. An ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
Google::Cloud::Security::Privateca::V1::Service::CreateCaPoolRequest
Request message for [CertificateAuthorityService.CreateCaPool][google.cloud.security.privateca.v1.CertificateAuthorityService.CreateCaPool].
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The resource name of the location associated with the [CaPool][google.cloud.security.privateca.v1.CaPool], in the format `projects/*/locations/*`.
$msg->ca_pool_id()/$msg->ca_pool_id($value)Type:
StringRequired. It must be unique within a location and match the regular expression `[a-zA-Z0-9_-]{1,63}`
$msg->ca_pool()/$msg->ca_pool($value)Type:
Message(Google::Cloud::Security::Privateca::V1::Resources::CaPool)Required. A [CaPool][google.cloud.security.privateca.v1.CaPool] with initial field values.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. An ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
Google::Cloud::Security::Privateca::V1::Service::UpdateCaPoolRequest
Request message for [CertificateAuthorityService.UpdateCaPool][google.cloud.security.privateca.v1.CertificateAuthorityService.UpdateCaPool].
Inherits from Protobuf::Message.
Accessors
$msg->ca_pool()/$msg->ca_pool($value)Type:
Message(Google::Cloud::Security::Privateca::V1::Resources::CaPool)Required. [CaPool][google.cloud.security.privateca.v1.CaPool] with updated values.
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Required. A list of fields to be updated in this request.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. An ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
Google::Cloud::Security::Privateca::V1::Service::DeleteCaPoolRequest
Request message for [CertificateAuthorityService.DeleteCaPool][google.cloud.security.privateca.v1.CertificateAuthorityService.DeleteCaPool].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The resource name for this [CaPool][google.cloud.security.privateca.v1.CaPool] in the format `projects/*/locations/*/caPools/*`.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. An ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
$msg->ignore_dependent_resources()/$msg->ignore_dependent_resources($value)Type:
BoolOptional. This field allows this pool to be deleted even if it's being depended on by another resource. However, doing so may result in unintended and unrecoverable effects on any dependent resources since the pool will no longer be able to issue certificates.
Google::Cloud::Security::Privateca::V1::Service::FetchCaCertsRequest
Request message for [CertificateAuthorityService.FetchCaCerts][google.cloud.security.privateca.v1.CertificateAuthorityService.FetchCaCerts].
Inherits from Protobuf::Message.
Accessors
$msg->ca_pool()/$msg->ca_pool($value)Type:
StringRequired. The resource name for the [CaPool][google.cloud.security.privateca.v1.CaPool] in the format `projects/*/locations/*/caPools/*`.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. An ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
Google::Cloud::Security::Privateca::V1::Service::FetchCaCertsResponse
Response message for [CertificateAuthorityService.FetchCaCerts][google.cloud.security.privateca.v1.CertificateAuthorityService.FetchCaCerts].
Inherits from Protobuf::Message.
Accessors
$msg->ca_certs()/$msg->ca_certs($value)Type:
Message(Google::Cloud::Security::Privateca::V1::Service::FetchCaCertsResponse::CertChain)The PEM encoded CA certificate chains of all certificate authorities in this [CaPool][google.cloud.security.privateca.v1.CaPool] in the ENABLED, DISABLED, or STAGED states.
Google::Cloud::Security::Privateca::V1::Service::GetCaPoolRequest
Request message for [CertificateAuthorityService.GetCaPool][google.cloud.security.privateca.v1.CertificateAuthorityService.GetCaPool].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The [name][google.cloud.security.privateca.v1.CaPool.name] of the [CaPool][google.cloud.security.privateca.v1.CaPool] to get.
Google::Cloud::Security::Privateca::V1::Service::ListCaPoolsRequest
Request message for [CertificateAuthorityService.ListCaPools][google.cloud.security.privateca.v1.CertificateAuthorityService.ListCaPools].
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The resource name of the location associated with the [CaPools][google.cloud.security.privateca.v1.CaPool], in the format `projects/*/locations/*`.
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. Limit on the number of [CaPools][google.cloud.security.privateca.v1.CaPool] to include in the response. Further [CaPools][google.cloud.security.privateca.v1.CaPool] can subsequently be obtained by including the [ListCaPoolsResponse.next_page_token][google.cloud.security.privateca.v1.ListCaPoolsResponse.next_page_token] in a subsequent request. If unspecified, the server will pick an appropriate default.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. Pagination token, returned earlier via [ListCaPoolsResponse.next_page_token][google.cloud.security.privateca.v1.ListCaPoolsResponse.next_page_token].
$msg->filter()/$msg->filter($value)Type:
StringOptional. Only include resources that match the filter in the response.
$msg->order_by()/$msg->order_by($value)Type:
StringOptional. Specify how the results should be sorted.
Google::Cloud::Security::Privateca::V1::Service::ListCaPoolsResponse
Response message for [CertificateAuthorityService.ListCaPools][google.cloud.security.privateca.v1.CertificateAuthorityService.ListCaPools].
Inherits from Protobuf::Message.
Accessors
$msg->ca_pools()/$msg->ca_pools($value)Type:
Message(Google::Cloud::Security::Privateca::V1::Resources::CaPool)The list of [CaPools][google.cloud.security.privateca.v1.CaPool].
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token to retrieve next page of results. Pass this value in [ListCertificateAuthoritiesRequest.page_token][google.cloud.security.privateca.v1.ListCertificateAuthoritiesRequest.page_token] to retrieve the next page of results.
$msg->unreachable()/$msg->unreachable($value)Type:
StringA list of locations (e.g. "us-west1") that could not be reached.
Google::Cloud::Security::Privateca::V1::Service::GetCertificateRevocationListRequest
Request message for [CertificateAuthorityService.GetCertificateRevocationList][google.cloud.security.privateca.v1.CertificateAuthorityService.GetCertificateRevocationList].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The [name][google.cloud.security.privateca.v1.CertificateRevocationList.name] of the [CertificateRevocationList][google.cloud.security.privateca.v1.CertificateRevocationList] to get.
Google::Cloud::Security::Privateca::V1::Service::ListCertificateRevocationListsRequest
Request message for [CertificateAuthorityService.ListCertificateRevocationLists][google.cloud.security.privateca.v1.CertificateAuthorityService.ListCertificateRevocationLists].
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The resource name of the location associated with the [CertificateRevocationLists][google.cloud.security.privateca.v1.CertificateRevocationList], in the format `projects/*/locations/*/caPools/*/certificateAuthorities/*`.
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. Limit on the number of [CertificateRevocationLists][google.cloud.security.privateca.v1.CertificateRevocationList] to include in the response. Further [CertificateRevocationLists][google.cloud.security.privateca.v1.CertificateRevocationList] can subsequently be obtained by including the [ListCertificateRevocationListsResponse.next_page_token][google.cloud.security.privateca.v1.ListCertificateRevocationListsResponse.next_page_token] in a subsequent request. If unspecified, the server will pick an appropriate default.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. Pagination token, returned earlier via [ListCertificateRevocationListsResponse.next_page_token][google.cloud.security.privateca.v1.ListCertificateRevocationListsResponse.next_page_token].
$msg->filter()/$msg->filter($value)Type:
StringOptional. Only include resources that match the filter in the response.
$msg->order_by()/$msg->order_by($value)Type:
StringOptional. Specify how the results should be sorted.
Google::Cloud::Security::Privateca::V1::Service::ListCertificateRevocationListsResponse
Response message for [CertificateAuthorityService.ListCertificateRevocationLists][google.cloud.security.privateca.v1.CertificateAuthorityService.ListCertificateRevocationLists].
Inherits from Protobuf::Message.
Accessors
$msg->certificate_revocation_lists()/$msg->certificate_revocation_lists($value)Type:
Message(Google::Cloud::Security::Privateca::V1::Resources::CertificateRevocationList)The list of [CertificateRevocationLists][google.cloud.security.privateca.v1.CertificateRevocationList].
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token to retrieve next page of results. Pass this value in [ListCertificateRevocationListsRequest.page_token][google.cloud.security.privateca.v1.ListCertificateRevocationListsRequest.page_token] to retrieve the next page of results.
$msg->unreachable()/$msg->unreachable($value)Type:
StringA list of locations (e.g. "us-west1") that could not be reached.
Google::Cloud::Security::Privateca::V1::Service::UpdateCertificateRevocationListRequest
Request message for [CertificateAuthorityService.UpdateCertificateRevocationList][google.cloud.security.privateca.v1.CertificateAuthorityService.UpdateCertificateRevocationList].
Inherits from Protobuf::Message.
Accessors
$msg->certificate_revocation_list()/$msg->certificate_revocation_list($value)Type:
Message(Google::Cloud::Security::Privateca::V1::Resources::CertificateRevocationList)Required. [CertificateRevocationList][google.cloud.security.privateca.v1.CertificateRevocationList] with updated values.
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Required. A list of fields to be updated in this request.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. An ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
Google::Cloud::Security::Privateca::V1::Service::CreateCertificateTemplateRequest
Request message for [CertificateAuthorityService.CreateCertificateTemplate][google.cloud.security.privateca.v1.CertificateAuthorityService.CreateCertificateTemplate].
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The resource name of the location associated with the [CertificateTemplate][google.cloud.security.privateca.v1.CertificateTemplate], in the format `projects/*/locations/*`.
$msg->certificate_template_id()/$msg->certificate_template_id($value)Type:
StringRequired. It must be unique within a location and match the regular expression `[a-zA-Z0-9_-]{1,63}`
$msg->certificate_template()/$msg->certificate_template($value)Type:
Message(Google::Cloud::Security::Privateca::V1::Resources::CertificateTemplate)Required. A [CertificateTemplate][google.cloud.security.privateca.v1.CertificateTemplate] with initial field values.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. An ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
Google::Cloud::Security::Privateca::V1::Service::DeleteCertificateTemplateRequest
Request message for [CertificateAuthorityService.DeleteCertificateTemplate][google.cloud.security.privateca.v1.CertificateAuthorityService.DeleteCertificateTemplate].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The resource name for this [CertificateTemplate][google.cloud.security.privateca.v1.CertificateTemplate] in the format `projects/*/locations/*/certificateTemplates/*`.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. An ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
Google::Cloud::Security::Privateca::V1::Service::GetCertificateTemplateRequest
Request message for [CertificateAuthorityService.GetCertificateTemplate][google.cloud.security.privateca.v1.CertificateAuthorityService.GetCertificateTemplate].
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The [name][google.cloud.security.privateca.v1.CertificateTemplate.name] of the [CertificateTemplate][google.cloud.security.privateca.v1.CertificateTemplate] to get.
Google::Cloud::Security::Privateca::V1::Service::ListCertificateTemplatesRequest
Request message for [CertificateAuthorityService.ListCertificateTemplates][google.cloud.security.privateca.v1.CertificateAuthorityService.ListCertificateTemplates].
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The resource name of the location associated with the [CertificateTemplates][google.cloud.security.privateca.v1.CertificateTemplate], in the format `projects/*/locations/*`.
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. Limit on the number of [CertificateTemplates][google.cloud.security.privateca.v1.CertificateTemplate] to include in the response. Further [CertificateTemplates][google.cloud.security.privateca.v1.CertificateTemplate] can subsequently be obtained by including the [ListCertificateTemplatesResponse.next_page_token][google.cloud.security.privateca.v1.ListCertificateTemplatesResponse.next_page_token] in a subsequent request. If unspecified, the server will pick an appropriate default.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. Pagination token, returned earlier via [ListCertificateTemplatesResponse.next_page_token][google.cloud.security.privateca.v1.ListCertificateTemplatesResponse.next_page_token].
$msg->filter()/$msg->filter($value)Type:
StringOptional. Only include resources that match the filter in the response.
$msg->order_by()/$msg->order_by($value)Type:
StringOptional. Specify how the results should be sorted.
Google::Cloud::Security::Privateca::V1::Service::ListCertificateTemplatesResponse
Response message for [CertificateAuthorityService.ListCertificateTemplates][google.cloud.security.privateca.v1.CertificateAuthorityService.ListCertificateTemplates].
Inherits from Protobuf::Message.
Accessors
$msg->certificate_templates()/$msg->certificate_templates($value)Type:
Message(Google::Cloud::Security::Privateca::V1::Resources::CertificateTemplate)The list of [CertificateTemplates][google.cloud.security.privateca.v1.CertificateTemplate].
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token to retrieve next page of results. Pass this value in [ListCertificateTemplatesRequest.page_token][google.cloud.security.privateca.v1.ListCertificateTemplatesRequest.page_token] to retrieve the next page of results.
$msg->unreachable()/$msg->unreachable($value)Type:
StringA list of locations (e.g. "us-west1") that could not be reached.
Google::Cloud::Security::Privateca::V1::Service::UpdateCertificateTemplateRequest
Request message for [CertificateAuthorityService.UpdateCertificateTemplate][google.cloud.security.privateca.v1.CertificateAuthorityService.UpdateCertificateTemplate].
Inherits from Protobuf::Message.
Accessors
$msg->certificate_template()/$msg->certificate_template($value)Type:
Message(Google::Cloud::Security::Privateca::V1::Resources::CertificateTemplate)Required. [CertificateTemplate][google.cloud.security.privateca.v1.CertificateTemplate] with updated values.
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Required. A list of fields to be updated in this request.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. An ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
Google::Cloud::Security::Privateca::V1::Service::OperationMetadata
Represents the metadata of the long-running operation.
Inherits from Protobuf::Message.
Accessors
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time the operation was created.
$msg->end_time()/$msg->end_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time the operation finished running.
$msg->target()/$msg->target($value)Type:
StringOutput only. Server-defined resource path for the target of the operation.
$msg->verb()/$msg->verb($value)Type:
StringOutput only. Name of the verb executed by the operation.
$msg->status_message()/$msg->status_message($value)Type:
StringOutput only. Human-readable status of the operation, if any.
$msg->requested_cancellation()/$msg->requested_cancellation($value)Type:
BoolOutput only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have [google.longrunning.Operation.error][google.longrunning.Operation.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to `Code.CANCELLED`.
$msg->api_version()/$msg->api_version($value)Type:
StringOutput only. API version used to start the operation.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Security::Privateca::V1::Service::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.