Service Client: Google::Cloud::Certificatemanager::V1::CertificateManager::CertificateManagerClient

Client stub representing the remote CertificateManager gRPC service. Delegates call dispatching to Google::gRPC::Client.

target

The endpoint target address. Defaults to certificatemanager.googleapis.com:443.

credentials

The authentication credentials provider. Defaults to application default credentials via Google::Auth.

NAME

Google::Cloud::Certificatemanager::V1::CertificateManager - Compiled Protocol Buffers messages for google/cloud/certificatemanager/v1/certificate_manager.proto

SYNOPSIS

use Google::Cloud::Certificatemanager::V1::CertificateManager;

my $msg = Google::Cloud::Certificatemanager::V1::CertificateManager::ListCertificatesRequest->new({
    parent => $parent,
    page_size => $page_size,
    page_token => $page_token,
    filter => $filter,
});

# Read or update a field
my $val = $msg->parent();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Certificatemanager::V1::CertificateManager::ListCertificatesRequest->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/certificatemanager/v1/certificate_manager.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::Certificatemanager::V1::CertificateManager::ListCertificatesRequest

Request for the `ListCertificates` method.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The project and location from which the certificate should be listed, specified in the format `projects/*/locations/*`.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Optional. Maximum number of certificates to return per call.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    Optional. The value returned by the last `ListCertificatesResponse`. Indicates that this is a continuation of a prior `ListCertificates` call, and that the system should return the next page of data.

  • $msg->filter() / $msg->filter($value)

    Type: String

    Optional. Filter expression to restrict the Certificates returned.

  • $msg->order_by() / $msg->order_by($value)

    Type: String

    Optional. A list of Certificate field names used to specify the order of the returned results. The default sorting order is ascending. To specify descending order for a field, add a suffix `" desc"`.

Google::Cloud::Certificatemanager::V1::CertificateManager::ListCertificatesResponse

Response for the `ListCertificates` method.

Inherits from Protobuf::Message.

Accessors

  • $msg->certificates() / $msg->certificates($value)

    Type: Message (Google::Cloud::Certificatemanager::V1::CertificateManager::Certificate)

    A list of certificates for the parent resource.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.

  • $msg->unreachable() / $msg->unreachable($value)

    Type: String

    A list of locations that could not be reached.

Google::Cloud::Certificatemanager::V1::CertificateManager::GetCertificateRequest

Request for the `GetCertificate` method.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. A name of the certificate to describe. Must be in the format `projects/*/locations/*/certificates/*`.

Google::Cloud::Certificatemanager::V1::CertificateManager::CreateCertificateRequest

Request for the `CreateCertificate` method.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent resource of the certificate. Must be in the format `projects/*/locations/*`.

  • $msg->certificate_id() / $msg->certificate_id($value)

    Type: String

    Required. A user-provided name of the certificate.

  • $msg->certificate() / $msg->certificate($value)

    Type: Message (Google::Cloud::Certificatemanager::V1::CertificateManager::Certificate)

    Required. A definition of the certificate to create.

Google::Cloud::Certificatemanager::V1::CertificateManager::UpdateCertificateRequest

Request for the `UpdateCertificate` method.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Certificatemanager::V1::CertificateManager::DeleteCertificateRequest

Request for the `DeleteCertificate` method.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. A name of the certificate to delete. Must be in the format `projects/*/locations/*/certificates/*`.

Google::Cloud::Certificatemanager::V1::CertificateManager::ListCertificateMapsRequest

Request for the `ListCertificateMaps` method.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The project and location from which the certificate maps should be listed, specified in the format `projects/*/locations/*`.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Optional. Maximum number of certificate maps to return per call.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    Optional. The value returned by the last `ListCertificateMapsResponse`. Indicates that this is a continuation of a prior `ListCertificateMaps` call, and that the system should return the next page of data.

  • $msg->filter() / $msg->filter($value)

    Type: String

    Optional. Filter expression to restrict the Certificates Maps returned.

  • $msg->order_by() / $msg->order_by($value)

    Type: String

    Optional. A list of Certificate Map field names used to specify the order of the returned results. The default sorting order is ascending. To specify descending order for a field, add a suffix `" desc"`.

Google::Cloud::Certificatemanager::V1::CertificateManager::ListCertificateMapsResponse

Response for the `ListCertificateMaps` method.

Inherits from Protobuf::Message.

Accessors

  • $msg->certificate_maps() / $msg->certificate_maps($value)

    Type: Message (Google::Cloud::Certificatemanager::V1::CertificateManager::CertificateMap)

    A list of certificate maps for the parent resource.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.

  • $msg->unreachable() / $msg->unreachable($value)

    Type: String

    Locations that could not be reached.

Google::Cloud::Certificatemanager::V1::CertificateManager::GetCertificateMapRequest

Request for the `GetCertificateMap` method.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. A name of the certificate map to describe. Must be in the format `projects/*/locations/*/certificateMaps/*`.

Google::Cloud::Certificatemanager::V1::CertificateManager::CreateCertificateMapRequest

Request for the `CreateCertificateMap` method.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent resource of the certificate map. Must be in the format `projects/*/locations/*`.

  • $msg->certificate_map_id() / $msg->certificate_map_id($value)

    Type: String

    Required. A user-provided name of the certificate map.

  • $msg->certificate_map() / $msg->certificate_map($value)

    Type: Message (Google::Cloud::Certificatemanager::V1::CertificateManager::CertificateMap)

    Required. A definition of the certificate map to create.

Google::Cloud::Certificatemanager::V1::CertificateManager::UpdateCertificateMapRequest

Request for the `UpdateCertificateMap` method.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Certificatemanager::V1::CertificateManager::DeleteCertificateMapRequest

Request for the `DeleteCertificateMap` method.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. A name of the certificate map to delete. Must be in the format `projects/*/locations/*/certificateMaps/*`.

Google::Cloud::Certificatemanager::V1::CertificateManager::ListCertificateMapEntriesRequest

Request for the `ListCertificateMapEntries` method.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The project, location and certificate map from which the certificate map entries should be listed, specified in the format `projects/*/locations/*/certificateMaps/*`.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Optional. Maximum number of certificate map entries to return. The service may return fewer than this value. If unspecified, at most 50 certificate map entries will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    Optional. The value returned by the last `ListCertificateMapEntriesResponse`. Indicates that this is a continuation of a prior `ListCertificateMapEntries` call, and that the system should return the next page of data.

  • $msg->filter() / $msg->filter($value)

    Type: String

    Optional. Filter expression to restrict the returned Certificate Map Entries.

  • $msg->order_by() / $msg->order_by($value)

    Type: String

    Optional. A list of Certificate Map Entry field names used to specify the order of the returned results. The default sorting order is ascending. To specify descending order for a field, add a suffix `" desc"`.

Google::Cloud::Certificatemanager::V1::CertificateManager::ListCertificateMapEntriesResponse

Response for the `ListCertificateMapEntries` method.

Inherits from Protobuf::Message.

Accessors

  • $msg->certificate_map_entries() / $msg->certificate_map_entries($value)

    Type: Message (Google::Cloud::Certificatemanager::V1::CertificateManager::CertificateMapEntry)

    A list of certificate map entries for the parent resource.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.

  • $msg->unreachable() / $msg->unreachable($value)

    Type: String

    Locations that could not be reached.

Google::Cloud::Certificatemanager::V1::CertificateManager::GetCertificateMapEntryRequest

Request for the `GetCertificateMapEntry` method.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. A name of the certificate map entry to describe. Must be in the format `projects/*/locations/*/certificateMaps/*/certificateMapEntries/*`.

Google::Cloud::Certificatemanager::V1::CertificateManager::CreateCertificateMapEntryRequest

Request for the `CreateCertificateMapEntry` method.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent resource of the certificate map entry. Must be in the format `projects/*/locations/*/certificateMaps/*`.

  • $msg->certificate_map_entry_id() / $msg->certificate_map_entry_id($value)

    Type: String

    Required. A user-provided name of the certificate map entry.

  • $msg->certificate_map_entry() / $msg->certificate_map_entry($value)

    Type: Message (Google::Cloud::Certificatemanager::V1::CertificateManager::CertificateMapEntry)

    Required. A definition of the certificate map entry to create.

Google::Cloud::Certificatemanager::V1::CertificateManager::UpdateCertificateMapEntryRequest

Request for the `UpdateCertificateMapEntry` method.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Certificatemanager::V1::CertificateManager::DeleteCertificateMapEntryRequest

Request for the `DeleteCertificateMapEntry` method.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. A name of the certificate map entry to delete. Must be in the format `projects/*/locations/*/certificateMaps/*/certificateMapEntries/*`.

Google::Cloud::Certificatemanager::V1::CertificateManager::ListDnsAuthorizationsRequest

Request for the `ListDnsAuthorizations` method.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The project and location from which the dns authorizations should be listed, specified in the format `projects/*/locations/*`.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Optional. Maximum number of dns authorizations to return per call.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    Optional. The value returned by the last `ListDnsAuthorizationsResponse`. Indicates that this is a continuation of a prior `ListDnsAuthorizations` call, and that the system should return the next page of data.

  • $msg->filter() / $msg->filter($value)

    Type: String

    Optional. Filter expression to restrict the Dns Authorizations returned.

  • $msg->order_by() / $msg->order_by($value)

    Type: String

    Optional. A list of Dns Authorization field names used to specify the order of the returned results. The default sorting order is ascending. To specify descending order for a field, add a suffix `" desc"`.

Google::Cloud::Certificatemanager::V1::CertificateManager::ListDnsAuthorizationsResponse

Response for the `ListDnsAuthorizations` method.

Inherits from Protobuf::Message.

Accessors

  • $msg->dns_authorizations() / $msg->dns_authorizations($value)

    Type: Message (Google::Cloud::Certificatemanager::V1::CertificateManager::DnsAuthorization)

    A list of dns authorizations for the parent resource.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    If there might be more results than those appearing in this response, then `next_page_token` is included. To get the next set of results, call this method again using the value of `next_page_token` as `page_token`.

  • $msg->unreachable() / $msg->unreachable($value)

    Type: String

    Locations that could not be reached.

Google::Cloud::Certificatemanager::V1::CertificateManager::GetDnsAuthorizationRequest

Request for the `GetDnsAuthorization` method.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. A name of the dns authorization to describe. Must be in the format `projects/*/locations/*/dnsAuthorizations/*`.

Google::Cloud::Certificatemanager::V1::CertificateManager::CreateDnsAuthorizationRequest

Request for the `CreateDnsAuthorization` method.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent resource of the dns authorization. Must be in the format `projects/*/locations/*`.

  • $msg->dns_authorization_id() / $msg->dns_authorization_id($value)

    Type: String

    Required. A user-provided name of the dns authorization.

  • $msg->dns_authorization() / $msg->dns_authorization($value)

    Type: Message (Google::Cloud::Certificatemanager::V1::CertificateManager::DnsAuthorization)

    Required. A definition of the dns authorization to create.

Google::Cloud::Certificatemanager::V1::CertificateManager::UpdateDnsAuthorizationRequest

Request for the `UpdateDnsAuthorization` method.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Certificatemanager::V1::CertificateManager::DeleteDnsAuthorizationRequest

Request for the `DeleteDnsAuthorization` method.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. A name of the dns authorization to delete. Must be in the format `projects/*/locations/*/dnsAuthorizations/*`.

Google::Cloud::Certificatemanager::V1::CertificateManager::OperationMetadata

Represents the metadata of the long-running operation. Output only.

Inherits from Protobuf::Message.

Accessors

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    The time the operation was created.

  • $msg->end_time() / $msg->end_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    The time the operation finished running.

  • $msg->target() / $msg->target($value)

    Type: String

    Server-defined resource path for the target of the operation.

  • $msg->verb() / $msg->verb($value)

    Type: String

    Name of the verb executed by the operation.

  • $msg->status_message() / $msg->status_message($value)

    Type: String

    Human-readable status of the operation, if any.

  • $msg->requested_cancellation() / $msg->requested_cancellation($value)

    Type: Bool

    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: String

    API version used to start the operation.

Google::Cloud::Certificatemanager::V1::CertificateManager::Certificate

Defines TLS certificate.

Inherits from Protobuf::Message.

Accessors

Enum: Certificate::Scope

  • DEFAULT => 0

  • EDGE_CACHE => 1

  • ALL_REGIONS => 2

  • CLIENT_AUTH => 3

Google::Cloud::Certificatemanager::V1::CertificateManager::CertificateMap

Defines a collection of certificate configurations.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Certificatemanager::V1::CertificateManager::CertificateMapEntry

Defines a certificate map entry.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Identifier. A user-defined name of the Certificate Map Entry. Certificate Map Entry names must be unique globally and match pattern `projects/*/locations/*/certificateMaps/*/certificateMapEntries/*`.

  • $msg->description() / $msg->description($value)

    Type: String

    Optional. One or more paragraphs of text description of a certificate map entry.

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The creation timestamp of a Certificate Map Entry.

  • $msg->update_time() / $msg->update_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The update timestamp of a Certificate Map Entry.

  • $msg->labels() / $msg->labels($value)

    Type: Message (Google::Cloud::Certificatemanager::V1::CertificateManager::CertificateMapEntry::LabelsEntry)

    Optional. Set of labels associated with a Certificate Map Entry.

  • $msg->hostname() / $msg->hostname($value)

    Type: String

    A Hostname (FQDN, e.g. `example.com`) or a wildcard hostname expression (`*.example.com`) for a set of hostnames with common suffix. Used as Server Name Indication (SNI) for selecting a proper certificate.

  • $msg->matcher() / $msg->matcher($value)

    Type: Enum (Google::Cloud::Certificatemanager::V1::CertificateMapEntry::Matcher)

    A predefined matcher for particular cases, other than SNI selection.

  • $msg->certificates() / $msg->certificates($value)

    Type: String

    Optional. A set of Certificates defines for the given `hostname`. There can be defined up to four certificates in each Certificate Map Entry. Each certificate must match pattern `projects/*/locations/*/certificates/*`.

  • $msg->state() / $msg->state($value)

    Type: Enum (Google::Cloud::Certificatemanager::V1::ServingState)

    Output only. A serving state of this Certificate Map Entry.

Enum: CertificateMapEntry::Matcher

  • MATCHER_UNSPECIFIED => 0

  • PRIMARY => 1

Google::Cloud::Certificatemanager::V1::CertificateManager::DnsAuthorization

A DnsAuthorization resource describes a way to perform domain authorization for certificate issuance.

Inherits from Protobuf::Message.

Accessors

Enum: DnsAuthorization::Type

  • TYPE_UNSPECIFIED => 0

  • FIXED_RECORD => 1

  • PER_PROJECT_RECORD => 2

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Certificatemanager::V1::CertificateManager::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.