Class: Google::Cloud::CertificateManager::V1::Certificate

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/certificatemanager/v1/certificate_manager.rb

Overview

Defines TLS certificate.

Defined Under Namespace

Modules: Scope Classes: LabelsEntry, ManagedCertificate, SelfManagedCertificate

Instance Attribute Summary collapse

Instance Attribute Details

#create_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. The creation timestamp of a Certificate.

Returns:



470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
# File 'proto_docs/google/cloud/certificatemanager/v1/certificate_manager.rb', line 470

class Certificate
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Certificate data for a SelfManaged Certificate.
  # SelfManaged Certificates are uploaded by the user. Updating such
  # certificates before they expire remains the user's responsibility.
  # @!attribute [rw] pem_certificate
  #   @return [::String]
  #     Input only. The PEM-encoded certificate chain.
  #     Leaf certificate comes first, followed by intermediate ones if any.
  # @!attribute [rw] pem_private_key
  #   @return [::String]
  #     Input only. The PEM-encoded private key of the leaf certificate.
  class SelfManagedCertificate
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Configuration and state of a Managed Certificate.
  # Certificate Manager provisions and renews Managed Certificates
  # automatically, for as long as it's authorized to do so.
  # @!attribute [rw] domains
  #   @return [::Array<::String>]
  #     Immutable. The domains for which a managed SSL certificate will be
  #     generated. Wildcard domains are only supported with DNS challenge
  #     resolution.
  # @!attribute [rw] dns_authorizations
  #   @return [::Array<::String>]
  #     Immutable. Authorizations that will be used for performing domain
  #     authorization.
  # @!attribute [rw] issuance_config
  #   @return [::String]
  #     Immutable. The resource name for a
  #     {::Google::Cloud::CertificateManager::V1::CertificateIssuanceConfig CertificateIssuanceConfig}
  #     used to configure private PKI certificates in the format
  #     `projects/*/locations/*/certificateIssuanceConfigs/*`.
  #     If this field is not set, the certificates will instead be publicly
  #     signed as documented at
  #     https://cloud.google.com/load-balancing/docs/ssl-certificates/google-managed-certs#caa.
  # @!attribute [r] state
  #   @return [::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::State]
  #     Output only. State of the managed certificate resource.
  # @!attribute [r] provisioning_issue
  #   @return [::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::ProvisioningIssue]
  #     Output only. Information about issues with provisioning a Managed
  #     Certificate.
  # @!attribute [r] authorization_attempt_info
  #   @return [::Array<::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::AuthorizationAttemptInfo>]
  #     Output only. Detailed state of the latest authorization attempt for each
  #     domain specified for managed certificate resource.
  class ManagedCertificate
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Information about issues with provisioning a Managed Certificate.
    # @!attribute [r] reason
    #   @return [::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::ProvisioningIssue::Reason]
    #     Output only. Reason for provisioning failures.
    # @!attribute [r] details
    #   @return [::String]
    #     Output only. Human readable explanation about the issue. Provided to
    #     help address the configuration issues. Not guaranteed to be stable. For
    #     programmatic access use Reason enum.
    class ProvisioningIssue
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods

      # Reason for provisioning failures.
      module Reason
        # Reason is unspecified.
        REASON_UNSPECIFIED = 0

        # Certificate provisioning failed due to an issue with one or more of
        # the domains on the certificate.
        # For details of which domains failed, consult the
        # `authorization_attempt_info` field.
        AUTHORIZATION_ISSUE = 1

        # Exceeded Certificate Authority quotas or internal rate limits of the
        # system. Provisioning may take longer to complete.
        RATE_LIMITED = 2
      end
    end

    # State of the latest attempt to authorize a domain for certificate
    # issuance.
    # @!attribute [rw] domain
    #   @return [::String]
    #     Domain name of the authorization attempt.
    # @!attribute [r] state
    #   @return [::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::AuthorizationAttemptInfo::State]
    #     Output only. State of the domain for managed certificate issuance.
    # @!attribute [r] failure_reason
    #   @return [::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::AuthorizationAttemptInfo::FailureReason]
    #     Output only. Reason for failure of the authorization attempt for the
    #     domain.
    # @!attribute [r] details
    #   @return [::String]
    #     Output only. Human readable explanation for reaching the state.
    #     Provided to help address the configuration issues. Not guaranteed to be
    #     stable. For programmatic access use FailureReason enum.
    class AuthorizationAttemptInfo
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods

      # State of the domain for managed certificate issuance.
      module State
        # State is unspecified.
        STATE_UNSPECIFIED = 0

        # Certificate provisioning for this domain is under way. Google Cloud
        # will attempt to authorize the domain.
        AUTHORIZING = 1

        # A managed certificate can be provisioned, no issues for this domain.
        AUTHORIZED = 6

        # Attempt to authorize the domain failed. This prevents the Managed
        # Certificate from being issued.
        # See `failure_reason` and `details` fields for more information.
        FAILED = 7
      end

      # Reason for failure of the authorization attempt for the domain.
      module FailureReason
        # FailureReason is unspecified.
        FAILURE_REASON_UNSPECIFIED = 0

        # There was a problem with the user's DNS or load balancer
        # configuration for this domain.
        CONFIG = 1

        # Certificate issuance forbidden by an explicit CAA record for the
        # domain or a failure to check CAA records for the domain.
        CAA = 2

        # Reached a CA or internal rate-limit for the domain,
        # e.g. for certificates per top-level private domain.
        RATE_LIMITED = 3
      end
    end

    # State of the managed certificate resource.
    module State
      # State is unspecified.
      STATE_UNSPECIFIED = 0

      # Certificate Manager attempts to provision or renew the certificate.
      # If the process takes longer than expected, consult the
      # `provisioning_issue` field.
      PROVISIONING = 1

      # Multiple certificate provisioning attempts failed and Certificate
      # Manager gave up. To try again, delete and create a new managed
      # Certificate resource.
      # For details see the `provisioning_issue` field.
      FAILED = 2

      # The certificate management is working, and a certificate has been
      # provisioned.
      ACTIVE = 3
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Certificate scope.
  module Scope
    # Certificates with default scope are served from core Google data centers.
    # If unsure, choose this option.
    DEFAULT = 0

    # Certificates with scope EDGE_CACHE are special-purposed certificates,
    # served from Edge Points of Presence.
    # See https://cloud.google.com/vpc/docs/edge-locations.
    EDGE_CACHE = 1

    # Certificates with ALL_REGIONS scope are served from all Google Cloud
    # regions. See https://cloud.google.com/compute/docs/regions-zones.
    ALL_REGIONS = 2
  end
end

#description::String

Returns One or more paragraphs of text description of a certificate.

Returns:

  • (::String)

    One or more paragraphs of text description of a certificate.



470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
# File 'proto_docs/google/cloud/certificatemanager/v1/certificate_manager.rb', line 470

class Certificate
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Certificate data for a SelfManaged Certificate.
  # SelfManaged Certificates are uploaded by the user. Updating such
  # certificates before they expire remains the user's responsibility.
  # @!attribute [rw] pem_certificate
  #   @return [::String]
  #     Input only. The PEM-encoded certificate chain.
  #     Leaf certificate comes first, followed by intermediate ones if any.
  # @!attribute [rw] pem_private_key
  #   @return [::String]
  #     Input only. The PEM-encoded private key of the leaf certificate.
  class SelfManagedCertificate
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Configuration and state of a Managed Certificate.
  # Certificate Manager provisions and renews Managed Certificates
  # automatically, for as long as it's authorized to do so.
  # @!attribute [rw] domains
  #   @return [::Array<::String>]
  #     Immutable. The domains for which a managed SSL certificate will be
  #     generated. Wildcard domains are only supported with DNS challenge
  #     resolution.
  # @!attribute [rw] dns_authorizations
  #   @return [::Array<::String>]
  #     Immutable. Authorizations that will be used for performing domain
  #     authorization.
  # @!attribute [rw] issuance_config
  #   @return [::String]
  #     Immutable. The resource name for a
  #     {::Google::Cloud::CertificateManager::V1::CertificateIssuanceConfig CertificateIssuanceConfig}
  #     used to configure private PKI certificates in the format
  #     `projects/*/locations/*/certificateIssuanceConfigs/*`.
  #     If this field is not set, the certificates will instead be publicly
  #     signed as documented at
  #     https://cloud.google.com/load-balancing/docs/ssl-certificates/google-managed-certs#caa.
  # @!attribute [r] state
  #   @return [::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::State]
  #     Output only. State of the managed certificate resource.
  # @!attribute [r] provisioning_issue
  #   @return [::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::ProvisioningIssue]
  #     Output only. Information about issues with provisioning a Managed
  #     Certificate.
  # @!attribute [r] authorization_attempt_info
  #   @return [::Array<::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::AuthorizationAttemptInfo>]
  #     Output only. Detailed state of the latest authorization attempt for each
  #     domain specified for managed certificate resource.
  class ManagedCertificate
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Information about issues with provisioning a Managed Certificate.
    # @!attribute [r] reason
    #   @return [::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::ProvisioningIssue::Reason]
    #     Output only. Reason for provisioning failures.
    # @!attribute [r] details
    #   @return [::String]
    #     Output only. Human readable explanation about the issue. Provided to
    #     help address the configuration issues. Not guaranteed to be stable. For
    #     programmatic access use Reason enum.
    class ProvisioningIssue
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods

      # Reason for provisioning failures.
      module Reason
        # Reason is unspecified.
        REASON_UNSPECIFIED = 0

        # Certificate provisioning failed due to an issue with one or more of
        # the domains on the certificate.
        # For details of which domains failed, consult the
        # `authorization_attempt_info` field.
        AUTHORIZATION_ISSUE = 1

        # Exceeded Certificate Authority quotas or internal rate limits of the
        # system. Provisioning may take longer to complete.
        RATE_LIMITED = 2
      end
    end

    # State of the latest attempt to authorize a domain for certificate
    # issuance.
    # @!attribute [rw] domain
    #   @return [::String]
    #     Domain name of the authorization attempt.
    # @!attribute [r] state
    #   @return [::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::AuthorizationAttemptInfo::State]
    #     Output only. State of the domain for managed certificate issuance.
    # @!attribute [r] failure_reason
    #   @return [::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::AuthorizationAttemptInfo::FailureReason]
    #     Output only. Reason for failure of the authorization attempt for the
    #     domain.
    # @!attribute [r] details
    #   @return [::String]
    #     Output only. Human readable explanation for reaching the state.
    #     Provided to help address the configuration issues. Not guaranteed to be
    #     stable. For programmatic access use FailureReason enum.
    class AuthorizationAttemptInfo
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods

      # State of the domain for managed certificate issuance.
      module State
        # State is unspecified.
        STATE_UNSPECIFIED = 0

        # Certificate provisioning for this domain is under way. Google Cloud
        # will attempt to authorize the domain.
        AUTHORIZING = 1

        # A managed certificate can be provisioned, no issues for this domain.
        AUTHORIZED = 6

        # Attempt to authorize the domain failed. This prevents the Managed
        # Certificate from being issued.
        # See `failure_reason` and `details` fields for more information.
        FAILED = 7
      end

      # Reason for failure of the authorization attempt for the domain.
      module FailureReason
        # FailureReason is unspecified.
        FAILURE_REASON_UNSPECIFIED = 0

        # There was a problem with the user's DNS or load balancer
        # configuration for this domain.
        CONFIG = 1

        # Certificate issuance forbidden by an explicit CAA record for the
        # domain or a failure to check CAA records for the domain.
        CAA = 2

        # Reached a CA or internal rate-limit for the domain,
        # e.g. for certificates per top-level private domain.
        RATE_LIMITED = 3
      end
    end

    # State of the managed certificate resource.
    module State
      # State is unspecified.
      STATE_UNSPECIFIED = 0

      # Certificate Manager attempts to provision or renew the certificate.
      # If the process takes longer than expected, consult the
      # `provisioning_issue` field.
      PROVISIONING = 1

      # Multiple certificate provisioning attempts failed and Certificate
      # Manager gave up. To try again, delete and create a new managed
      # Certificate resource.
      # For details see the `provisioning_issue` field.
      FAILED = 2

      # The certificate management is working, and a certificate has been
      # provisioned.
      ACTIVE = 3
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Certificate scope.
  module Scope
    # Certificates with default scope are served from core Google data centers.
    # If unsure, choose this option.
    DEFAULT = 0

    # Certificates with scope EDGE_CACHE are special-purposed certificates,
    # served from Edge Points of Presence.
    # See https://cloud.google.com/vpc/docs/edge-locations.
    EDGE_CACHE = 1

    # Certificates with ALL_REGIONS scope are served from all Google Cloud
    # regions. See https://cloud.google.com/compute/docs/regions-zones.
    ALL_REGIONS = 2
  end
end

#expire_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. The expiry timestamp of a Certificate.

Returns:



470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
# File 'proto_docs/google/cloud/certificatemanager/v1/certificate_manager.rb', line 470

class Certificate
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Certificate data for a SelfManaged Certificate.
  # SelfManaged Certificates are uploaded by the user. Updating such
  # certificates before they expire remains the user's responsibility.
  # @!attribute [rw] pem_certificate
  #   @return [::String]
  #     Input only. The PEM-encoded certificate chain.
  #     Leaf certificate comes first, followed by intermediate ones if any.
  # @!attribute [rw] pem_private_key
  #   @return [::String]
  #     Input only. The PEM-encoded private key of the leaf certificate.
  class SelfManagedCertificate
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Configuration and state of a Managed Certificate.
  # Certificate Manager provisions and renews Managed Certificates
  # automatically, for as long as it's authorized to do so.
  # @!attribute [rw] domains
  #   @return [::Array<::String>]
  #     Immutable. The domains for which a managed SSL certificate will be
  #     generated. Wildcard domains are only supported with DNS challenge
  #     resolution.
  # @!attribute [rw] dns_authorizations
  #   @return [::Array<::String>]
  #     Immutable. Authorizations that will be used for performing domain
  #     authorization.
  # @!attribute [rw] issuance_config
  #   @return [::String]
  #     Immutable. The resource name for a
  #     {::Google::Cloud::CertificateManager::V1::CertificateIssuanceConfig CertificateIssuanceConfig}
  #     used to configure private PKI certificates in the format
  #     `projects/*/locations/*/certificateIssuanceConfigs/*`.
  #     If this field is not set, the certificates will instead be publicly
  #     signed as documented at
  #     https://cloud.google.com/load-balancing/docs/ssl-certificates/google-managed-certs#caa.
  # @!attribute [r] state
  #   @return [::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::State]
  #     Output only. State of the managed certificate resource.
  # @!attribute [r] provisioning_issue
  #   @return [::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::ProvisioningIssue]
  #     Output only. Information about issues with provisioning a Managed
  #     Certificate.
  # @!attribute [r] authorization_attempt_info
  #   @return [::Array<::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::AuthorizationAttemptInfo>]
  #     Output only. Detailed state of the latest authorization attempt for each
  #     domain specified for managed certificate resource.
  class ManagedCertificate
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Information about issues with provisioning a Managed Certificate.
    # @!attribute [r] reason
    #   @return [::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::ProvisioningIssue::Reason]
    #     Output only. Reason for provisioning failures.
    # @!attribute [r] details
    #   @return [::String]
    #     Output only. Human readable explanation about the issue. Provided to
    #     help address the configuration issues. Not guaranteed to be stable. For
    #     programmatic access use Reason enum.
    class ProvisioningIssue
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods

      # Reason for provisioning failures.
      module Reason
        # Reason is unspecified.
        REASON_UNSPECIFIED = 0

        # Certificate provisioning failed due to an issue with one or more of
        # the domains on the certificate.
        # For details of which domains failed, consult the
        # `authorization_attempt_info` field.
        AUTHORIZATION_ISSUE = 1

        # Exceeded Certificate Authority quotas or internal rate limits of the
        # system. Provisioning may take longer to complete.
        RATE_LIMITED = 2
      end
    end

    # State of the latest attempt to authorize a domain for certificate
    # issuance.
    # @!attribute [rw] domain
    #   @return [::String]
    #     Domain name of the authorization attempt.
    # @!attribute [r] state
    #   @return [::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::AuthorizationAttemptInfo::State]
    #     Output only. State of the domain for managed certificate issuance.
    # @!attribute [r] failure_reason
    #   @return [::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::AuthorizationAttemptInfo::FailureReason]
    #     Output only. Reason for failure of the authorization attempt for the
    #     domain.
    # @!attribute [r] details
    #   @return [::String]
    #     Output only. Human readable explanation for reaching the state.
    #     Provided to help address the configuration issues. Not guaranteed to be
    #     stable. For programmatic access use FailureReason enum.
    class AuthorizationAttemptInfo
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods

      # State of the domain for managed certificate issuance.
      module State
        # State is unspecified.
        STATE_UNSPECIFIED = 0

        # Certificate provisioning for this domain is under way. Google Cloud
        # will attempt to authorize the domain.
        AUTHORIZING = 1

        # A managed certificate can be provisioned, no issues for this domain.
        AUTHORIZED = 6

        # Attempt to authorize the domain failed. This prevents the Managed
        # Certificate from being issued.
        # See `failure_reason` and `details` fields for more information.
        FAILED = 7
      end

      # Reason for failure of the authorization attempt for the domain.
      module FailureReason
        # FailureReason is unspecified.
        FAILURE_REASON_UNSPECIFIED = 0

        # There was a problem with the user's DNS or load balancer
        # configuration for this domain.
        CONFIG = 1

        # Certificate issuance forbidden by an explicit CAA record for the
        # domain or a failure to check CAA records for the domain.
        CAA = 2

        # Reached a CA or internal rate-limit for the domain,
        # e.g. for certificates per top-level private domain.
        RATE_LIMITED = 3
      end
    end

    # State of the managed certificate resource.
    module State
      # State is unspecified.
      STATE_UNSPECIFIED = 0

      # Certificate Manager attempts to provision or renew the certificate.
      # If the process takes longer than expected, consult the
      # `provisioning_issue` field.
      PROVISIONING = 1

      # Multiple certificate provisioning attempts failed and Certificate
      # Manager gave up. To try again, delete and create a new managed
      # Certificate resource.
      # For details see the `provisioning_issue` field.
      FAILED = 2

      # The certificate management is working, and a certificate has been
      # provisioned.
      ACTIVE = 3
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Certificate scope.
  module Scope
    # Certificates with default scope are served from core Google data centers.
    # If unsure, choose this option.
    DEFAULT = 0

    # Certificates with scope EDGE_CACHE are special-purposed certificates,
    # served from Edge Points of Presence.
    # See https://cloud.google.com/vpc/docs/edge-locations.
    EDGE_CACHE = 1

    # Certificates with ALL_REGIONS scope are served from all Google Cloud
    # regions. See https://cloud.google.com/compute/docs/regions-zones.
    ALL_REGIONS = 2
  end
end

#labels::Google::Protobuf::Map{::String => ::String}

Returns Set of labels associated with a Certificate.

Returns:

  • (::Google::Protobuf::Map{::String => ::String})

    Set of labels associated with a Certificate.



470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
# File 'proto_docs/google/cloud/certificatemanager/v1/certificate_manager.rb', line 470

class Certificate
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Certificate data for a SelfManaged Certificate.
  # SelfManaged Certificates are uploaded by the user. Updating such
  # certificates before they expire remains the user's responsibility.
  # @!attribute [rw] pem_certificate
  #   @return [::String]
  #     Input only. The PEM-encoded certificate chain.
  #     Leaf certificate comes first, followed by intermediate ones if any.
  # @!attribute [rw] pem_private_key
  #   @return [::String]
  #     Input only. The PEM-encoded private key of the leaf certificate.
  class SelfManagedCertificate
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Configuration and state of a Managed Certificate.
  # Certificate Manager provisions and renews Managed Certificates
  # automatically, for as long as it's authorized to do so.
  # @!attribute [rw] domains
  #   @return [::Array<::String>]
  #     Immutable. The domains for which a managed SSL certificate will be
  #     generated. Wildcard domains are only supported with DNS challenge
  #     resolution.
  # @!attribute [rw] dns_authorizations
  #   @return [::Array<::String>]
  #     Immutable. Authorizations that will be used for performing domain
  #     authorization.
  # @!attribute [rw] issuance_config
  #   @return [::String]
  #     Immutable. The resource name for a
  #     {::Google::Cloud::CertificateManager::V1::CertificateIssuanceConfig CertificateIssuanceConfig}
  #     used to configure private PKI certificates in the format
  #     `projects/*/locations/*/certificateIssuanceConfigs/*`.
  #     If this field is not set, the certificates will instead be publicly
  #     signed as documented at
  #     https://cloud.google.com/load-balancing/docs/ssl-certificates/google-managed-certs#caa.
  # @!attribute [r] state
  #   @return [::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::State]
  #     Output only. State of the managed certificate resource.
  # @!attribute [r] provisioning_issue
  #   @return [::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::ProvisioningIssue]
  #     Output only. Information about issues with provisioning a Managed
  #     Certificate.
  # @!attribute [r] authorization_attempt_info
  #   @return [::Array<::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::AuthorizationAttemptInfo>]
  #     Output only. Detailed state of the latest authorization attempt for each
  #     domain specified for managed certificate resource.
  class ManagedCertificate
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Information about issues with provisioning a Managed Certificate.
    # @!attribute [r] reason
    #   @return [::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::ProvisioningIssue::Reason]
    #     Output only. Reason for provisioning failures.
    # @!attribute [r] details
    #   @return [::String]
    #     Output only. Human readable explanation about the issue. Provided to
    #     help address the configuration issues. Not guaranteed to be stable. For
    #     programmatic access use Reason enum.
    class ProvisioningIssue
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods

      # Reason for provisioning failures.
      module Reason
        # Reason is unspecified.
        REASON_UNSPECIFIED = 0

        # Certificate provisioning failed due to an issue with one or more of
        # the domains on the certificate.
        # For details of which domains failed, consult the
        # `authorization_attempt_info` field.
        AUTHORIZATION_ISSUE = 1

        # Exceeded Certificate Authority quotas or internal rate limits of the
        # system. Provisioning may take longer to complete.
        RATE_LIMITED = 2
      end
    end

    # State of the latest attempt to authorize a domain for certificate
    # issuance.
    # @!attribute [rw] domain
    #   @return [::String]
    #     Domain name of the authorization attempt.
    # @!attribute [r] state
    #   @return [::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::AuthorizationAttemptInfo::State]
    #     Output only. State of the domain for managed certificate issuance.
    # @!attribute [r] failure_reason
    #   @return [::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::AuthorizationAttemptInfo::FailureReason]
    #     Output only. Reason for failure of the authorization attempt for the
    #     domain.
    # @!attribute [r] details
    #   @return [::String]
    #     Output only. Human readable explanation for reaching the state.
    #     Provided to help address the configuration issues. Not guaranteed to be
    #     stable. For programmatic access use FailureReason enum.
    class AuthorizationAttemptInfo
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods

      # State of the domain for managed certificate issuance.
      module State
        # State is unspecified.
        STATE_UNSPECIFIED = 0

        # Certificate provisioning for this domain is under way. Google Cloud
        # will attempt to authorize the domain.
        AUTHORIZING = 1

        # A managed certificate can be provisioned, no issues for this domain.
        AUTHORIZED = 6

        # Attempt to authorize the domain failed. This prevents the Managed
        # Certificate from being issued.
        # See `failure_reason` and `details` fields for more information.
        FAILED = 7
      end

      # Reason for failure of the authorization attempt for the domain.
      module FailureReason
        # FailureReason is unspecified.
        FAILURE_REASON_UNSPECIFIED = 0

        # There was a problem with the user's DNS or load balancer
        # configuration for this domain.
        CONFIG = 1

        # Certificate issuance forbidden by an explicit CAA record for the
        # domain or a failure to check CAA records for the domain.
        CAA = 2

        # Reached a CA or internal rate-limit for the domain,
        # e.g. for certificates per top-level private domain.
        RATE_LIMITED = 3
      end
    end

    # State of the managed certificate resource.
    module State
      # State is unspecified.
      STATE_UNSPECIFIED = 0

      # Certificate Manager attempts to provision or renew the certificate.
      # If the process takes longer than expected, consult the
      # `provisioning_issue` field.
      PROVISIONING = 1

      # Multiple certificate provisioning attempts failed and Certificate
      # Manager gave up. To try again, delete and create a new managed
      # Certificate resource.
      # For details see the `provisioning_issue` field.
      FAILED = 2

      # The certificate management is working, and a certificate has been
      # provisioned.
      ACTIVE = 3
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Certificate scope.
  module Scope
    # Certificates with default scope are served from core Google data centers.
    # If unsure, choose this option.
    DEFAULT = 0

    # Certificates with scope EDGE_CACHE are special-purposed certificates,
    # served from Edge Points of Presence.
    # See https://cloud.google.com/vpc/docs/edge-locations.
    EDGE_CACHE = 1

    # Certificates with ALL_REGIONS scope are served from all Google Cloud
    # regions. See https://cloud.google.com/compute/docs/regions-zones.
    ALL_REGIONS = 2
  end
end

#managed::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate

Returns If set, contains configuration and state of a managed certificate.

Returns:



470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
# File 'proto_docs/google/cloud/certificatemanager/v1/certificate_manager.rb', line 470

class Certificate
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Certificate data for a SelfManaged Certificate.
  # SelfManaged Certificates are uploaded by the user. Updating such
  # certificates before they expire remains the user's responsibility.
  # @!attribute [rw] pem_certificate
  #   @return [::String]
  #     Input only. The PEM-encoded certificate chain.
  #     Leaf certificate comes first, followed by intermediate ones if any.
  # @!attribute [rw] pem_private_key
  #   @return [::String]
  #     Input only. The PEM-encoded private key of the leaf certificate.
  class SelfManagedCertificate
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Configuration and state of a Managed Certificate.
  # Certificate Manager provisions and renews Managed Certificates
  # automatically, for as long as it's authorized to do so.
  # @!attribute [rw] domains
  #   @return [::Array<::String>]
  #     Immutable. The domains for which a managed SSL certificate will be
  #     generated. Wildcard domains are only supported with DNS challenge
  #     resolution.
  # @!attribute [rw] dns_authorizations
  #   @return [::Array<::String>]
  #     Immutable. Authorizations that will be used for performing domain
  #     authorization.
  # @!attribute [rw] issuance_config
  #   @return [::String]
  #     Immutable. The resource name for a
  #     {::Google::Cloud::CertificateManager::V1::CertificateIssuanceConfig CertificateIssuanceConfig}
  #     used to configure private PKI certificates in the format
  #     `projects/*/locations/*/certificateIssuanceConfigs/*`.
  #     If this field is not set, the certificates will instead be publicly
  #     signed as documented at
  #     https://cloud.google.com/load-balancing/docs/ssl-certificates/google-managed-certs#caa.
  # @!attribute [r] state
  #   @return [::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::State]
  #     Output only. State of the managed certificate resource.
  # @!attribute [r] provisioning_issue
  #   @return [::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::ProvisioningIssue]
  #     Output only. Information about issues with provisioning a Managed
  #     Certificate.
  # @!attribute [r] authorization_attempt_info
  #   @return [::Array<::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::AuthorizationAttemptInfo>]
  #     Output only. Detailed state of the latest authorization attempt for each
  #     domain specified for managed certificate resource.
  class ManagedCertificate
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Information about issues with provisioning a Managed Certificate.
    # @!attribute [r] reason
    #   @return [::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::ProvisioningIssue::Reason]
    #     Output only. Reason for provisioning failures.
    # @!attribute [r] details
    #   @return [::String]
    #     Output only. Human readable explanation about the issue. Provided to
    #     help address the configuration issues. Not guaranteed to be stable. For
    #     programmatic access use Reason enum.
    class ProvisioningIssue
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods

      # Reason for provisioning failures.
      module Reason
        # Reason is unspecified.
        REASON_UNSPECIFIED = 0

        # Certificate provisioning failed due to an issue with one or more of
        # the domains on the certificate.
        # For details of which domains failed, consult the
        # `authorization_attempt_info` field.
        AUTHORIZATION_ISSUE = 1

        # Exceeded Certificate Authority quotas or internal rate limits of the
        # system. Provisioning may take longer to complete.
        RATE_LIMITED = 2
      end
    end

    # State of the latest attempt to authorize a domain for certificate
    # issuance.
    # @!attribute [rw] domain
    #   @return [::String]
    #     Domain name of the authorization attempt.
    # @!attribute [r] state
    #   @return [::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::AuthorizationAttemptInfo::State]
    #     Output only. State of the domain for managed certificate issuance.
    # @!attribute [r] failure_reason
    #   @return [::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::AuthorizationAttemptInfo::FailureReason]
    #     Output only. Reason for failure of the authorization attempt for the
    #     domain.
    # @!attribute [r] details
    #   @return [::String]
    #     Output only. Human readable explanation for reaching the state.
    #     Provided to help address the configuration issues. Not guaranteed to be
    #     stable. For programmatic access use FailureReason enum.
    class AuthorizationAttemptInfo
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods

      # State of the domain for managed certificate issuance.
      module State
        # State is unspecified.
        STATE_UNSPECIFIED = 0

        # Certificate provisioning for this domain is under way. Google Cloud
        # will attempt to authorize the domain.
        AUTHORIZING = 1

        # A managed certificate can be provisioned, no issues for this domain.
        AUTHORIZED = 6

        # Attempt to authorize the domain failed. This prevents the Managed
        # Certificate from being issued.
        # See `failure_reason` and `details` fields for more information.
        FAILED = 7
      end

      # Reason for failure of the authorization attempt for the domain.
      module FailureReason
        # FailureReason is unspecified.
        FAILURE_REASON_UNSPECIFIED = 0

        # There was a problem with the user's DNS or load balancer
        # configuration for this domain.
        CONFIG = 1

        # Certificate issuance forbidden by an explicit CAA record for the
        # domain or a failure to check CAA records for the domain.
        CAA = 2

        # Reached a CA or internal rate-limit for the domain,
        # e.g. for certificates per top-level private domain.
        RATE_LIMITED = 3
      end
    end

    # State of the managed certificate resource.
    module State
      # State is unspecified.
      STATE_UNSPECIFIED = 0

      # Certificate Manager attempts to provision or renew the certificate.
      # If the process takes longer than expected, consult the
      # `provisioning_issue` field.
      PROVISIONING = 1

      # Multiple certificate provisioning attempts failed and Certificate
      # Manager gave up. To try again, delete and create a new managed
      # Certificate resource.
      # For details see the `provisioning_issue` field.
      FAILED = 2

      # The certificate management is working, and a certificate has been
      # provisioned.
      ACTIVE = 3
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Certificate scope.
  module Scope
    # Certificates with default scope are served from core Google data centers.
    # If unsure, choose this option.
    DEFAULT = 0

    # Certificates with scope EDGE_CACHE are special-purposed certificates,
    # served from Edge Points of Presence.
    # See https://cloud.google.com/vpc/docs/edge-locations.
    EDGE_CACHE = 1

    # Certificates with ALL_REGIONS scope are served from all Google Cloud
    # regions. See https://cloud.google.com/compute/docs/regions-zones.
    ALL_REGIONS = 2
  end
end

#name::String

Returns A user-defined name of the certificate. Certificate names must be unique globally and match pattern projects/*/locations/*/certificates/*.

Returns:

  • (::String)

    A user-defined name of the certificate. Certificate names must be unique globally and match pattern projects/*/locations/*/certificates/*.



470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
# File 'proto_docs/google/cloud/certificatemanager/v1/certificate_manager.rb', line 470

class Certificate
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Certificate data for a SelfManaged Certificate.
  # SelfManaged Certificates are uploaded by the user. Updating such
  # certificates before they expire remains the user's responsibility.
  # @!attribute [rw] pem_certificate
  #   @return [::String]
  #     Input only. The PEM-encoded certificate chain.
  #     Leaf certificate comes first, followed by intermediate ones if any.
  # @!attribute [rw] pem_private_key
  #   @return [::String]
  #     Input only. The PEM-encoded private key of the leaf certificate.
  class SelfManagedCertificate
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Configuration and state of a Managed Certificate.
  # Certificate Manager provisions and renews Managed Certificates
  # automatically, for as long as it's authorized to do so.
  # @!attribute [rw] domains
  #   @return [::Array<::String>]
  #     Immutable. The domains for which a managed SSL certificate will be
  #     generated. Wildcard domains are only supported with DNS challenge
  #     resolution.
  # @!attribute [rw] dns_authorizations
  #   @return [::Array<::String>]
  #     Immutable. Authorizations that will be used for performing domain
  #     authorization.
  # @!attribute [rw] issuance_config
  #   @return [::String]
  #     Immutable. The resource name for a
  #     {::Google::Cloud::CertificateManager::V1::CertificateIssuanceConfig CertificateIssuanceConfig}
  #     used to configure private PKI certificates in the format
  #     `projects/*/locations/*/certificateIssuanceConfigs/*`.
  #     If this field is not set, the certificates will instead be publicly
  #     signed as documented at
  #     https://cloud.google.com/load-balancing/docs/ssl-certificates/google-managed-certs#caa.
  # @!attribute [r] state
  #   @return [::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::State]
  #     Output only. State of the managed certificate resource.
  # @!attribute [r] provisioning_issue
  #   @return [::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::ProvisioningIssue]
  #     Output only. Information about issues with provisioning a Managed
  #     Certificate.
  # @!attribute [r] authorization_attempt_info
  #   @return [::Array<::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::AuthorizationAttemptInfo>]
  #     Output only. Detailed state of the latest authorization attempt for each
  #     domain specified for managed certificate resource.
  class ManagedCertificate
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Information about issues with provisioning a Managed Certificate.
    # @!attribute [r] reason
    #   @return [::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::ProvisioningIssue::Reason]
    #     Output only. Reason for provisioning failures.
    # @!attribute [r] details
    #   @return [::String]
    #     Output only. Human readable explanation about the issue. Provided to
    #     help address the configuration issues. Not guaranteed to be stable. For
    #     programmatic access use Reason enum.
    class ProvisioningIssue
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods

      # Reason for provisioning failures.
      module Reason
        # Reason is unspecified.
        REASON_UNSPECIFIED = 0

        # Certificate provisioning failed due to an issue with one or more of
        # the domains on the certificate.
        # For details of which domains failed, consult the
        # `authorization_attempt_info` field.
        AUTHORIZATION_ISSUE = 1

        # Exceeded Certificate Authority quotas or internal rate limits of the
        # system. Provisioning may take longer to complete.
        RATE_LIMITED = 2
      end
    end

    # State of the latest attempt to authorize a domain for certificate
    # issuance.
    # @!attribute [rw] domain
    #   @return [::String]
    #     Domain name of the authorization attempt.
    # @!attribute [r] state
    #   @return [::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::AuthorizationAttemptInfo::State]
    #     Output only. State of the domain for managed certificate issuance.
    # @!attribute [r] failure_reason
    #   @return [::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::AuthorizationAttemptInfo::FailureReason]
    #     Output only. Reason for failure of the authorization attempt for the
    #     domain.
    # @!attribute [r] details
    #   @return [::String]
    #     Output only. Human readable explanation for reaching the state.
    #     Provided to help address the configuration issues. Not guaranteed to be
    #     stable. For programmatic access use FailureReason enum.
    class AuthorizationAttemptInfo
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods

      # State of the domain for managed certificate issuance.
      module State
        # State is unspecified.
        STATE_UNSPECIFIED = 0

        # Certificate provisioning for this domain is under way. Google Cloud
        # will attempt to authorize the domain.
        AUTHORIZING = 1

        # A managed certificate can be provisioned, no issues for this domain.
        AUTHORIZED = 6

        # Attempt to authorize the domain failed. This prevents the Managed
        # Certificate from being issued.
        # See `failure_reason` and `details` fields for more information.
        FAILED = 7
      end

      # Reason for failure of the authorization attempt for the domain.
      module FailureReason
        # FailureReason is unspecified.
        FAILURE_REASON_UNSPECIFIED = 0

        # There was a problem with the user's DNS or load balancer
        # configuration for this domain.
        CONFIG = 1

        # Certificate issuance forbidden by an explicit CAA record for the
        # domain or a failure to check CAA records for the domain.
        CAA = 2

        # Reached a CA or internal rate-limit for the domain,
        # e.g. for certificates per top-level private domain.
        RATE_LIMITED = 3
      end
    end

    # State of the managed certificate resource.
    module State
      # State is unspecified.
      STATE_UNSPECIFIED = 0

      # Certificate Manager attempts to provision or renew the certificate.
      # If the process takes longer than expected, consult the
      # `provisioning_issue` field.
      PROVISIONING = 1

      # Multiple certificate provisioning attempts failed and Certificate
      # Manager gave up. To try again, delete and create a new managed
      # Certificate resource.
      # For details see the `provisioning_issue` field.
      FAILED = 2

      # The certificate management is working, and a certificate has been
      # provisioned.
      ACTIVE = 3
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Certificate scope.
  module Scope
    # Certificates with default scope are served from core Google data centers.
    # If unsure, choose this option.
    DEFAULT = 0

    # Certificates with scope EDGE_CACHE are special-purposed certificates,
    # served from Edge Points of Presence.
    # See https://cloud.google.com/vpc/docs/edge-locations.
    EDGE_CACHE = 1

    # Certificates with ALL_REGIONS scope are served from all Google Cloud
    # regions. See https://cloud.google.com/compute/docs/regions-zones.
    ALL_REGIONS = 2
  end
end

#pem_certificate::String (readonly)

Returns Output only. The PEM-encoded certificate chain.

Returns:

  • (::String)

    Output only. The PEM-encoded certificate chain.



470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
# File 'proto_docs/google/cloud/certificatemanager/v1/certificate_manager.rb', line 470

class Certificate
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Certificate data for a SelfManaged Certificate.
  # SelfManaged Certificates are uploaded by the user. Updating such
  # certificates before they expire remains the user's responsibility.
  # @!attribute [rw] pem_certificate
  #   @return [::String]
  #     Input only. The PEM-encoded certificate chain.
  #     Leaf certificate comes first, followed by intermediate ones if any.
  # @!attribute [rw] pem_private_key
  #   @return [::String]
  #     Input only. The PEM-encoded private key of the leaf certificate.
  class SelfManagedCertificate
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Configuration and state of a Managed Certificate.
  # Certificate Manager provisions and renews Managed Certificates
  # automatically, for as long as it's authorized to do so.
  # @!attribute [rw] domains
  #   @return [::Array<::String>]
  #     Immutable. The domains for which a managed SSL certificate will be
  #     generated. Wildcard domains are only supported with DNS challenge
  #     resolution.
  # @!attribute [rw] dns_authorizations
  #   @return [::Array<::String>]
  #     Immutable. Authorizations that will be used for performing domain
  #     authorization.
  # @!attribute [rw] issuance_config
  #   @return [::String]
  #     Immutable. The resource name for a
  #     {::Google::Cloud::CertificateManager::V1::CertificateIssuanceConfig CertificateIssuanceConfig}
  #     used to configure private PKI certificates in the format
  #     `projects/*/locations/*/certificateIssuanceConfigs/*`.
  #     If this field is not set, the certificates will instead be publicly
  #     signed as documented at
  #     https://cloud.google.com/load-balancing/docs/ssl-certificates/google-managed-certs#caa.
  # @!attribute [r] state
  #   @return [::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::State]
  #     Output only. State of the managed certificate resource.
  # @!attribute [r] provisioning_issue
  #   @return [::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::ProvisioningIssue]
  #     Output only. Information about issues with provisioning a Managed
  #     Certificate.
  # @!attribute [r] authorization_attempt_info
  #   @return [::Array<::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::AuthorizationAttemptInfo>]
  #     Output only. Detailed state of the latest authorization attempt for each
  #     domain specified for managed certificate resource.
  class ManagedCertificate
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Information about issues with provisioning a Managed Certificate.
    # @!attribute [r] reason
    #   @return [::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::ProvisioningIssue::Reason]
    #     Output only. Reason for provisioning failures.
    # @!attribute [r] details
    #   @return [::String]
    #     Output only. Human readable explanation about the issue. Provided to
    #     help address the configuration issues. Not guaranteed to be stable. For
    #     programmatic access use Reason enum.
    class ProvisioningIssue
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods

      # Reason for provisioning failures.
      module Reason
        # Reason is unspecified.
        REASON_UNSPECIFIED = 0

        # Certificate provisioning failed due to an issue with one or more of
        # the domains on the certificate.
        # For details of which domains failed, consult the
        # `authorization_attempt_info` field.
        AUTHORIZATION_ISSUE = 1

        # Exceeded Certificate Authority quotas or internal rate limits of the
        # system. Provisioning may take longer to complete.
        RATE_LIMITED = 2
      end
    end

    # State of the latest attempt to authorize a domain for certificate
    # issuance.
    # @!attribute [rw] domain
    #   @return [::String]
    #     Domain name of the authorization attempt.
    # @!attribute [r] state
    #   @return [::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::AuthorizationAttemptInfo::State]
    #     Output only. State of the domain for managed certificate issuance.
    # @!attribute [r] failure_reason
    #   @return [::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::AuthorizationAttemptInfo::FailureReason]
    #     Output only. Reason for failure of the authorization attempt for the
    #     domain.
    # @!attribute [r] details
    #   @return [::String]
    #     Output only. Human readable explanation for reaching the state.
    #     Provided to help address the configuration issues. Not guaranteed to be
    #     stable. For programmatic access use FailureReason enum.
    class AuthorizationAttemptInfo
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods

      # State of the domain for managed certificate issuance.
      module State
        # State is unspecified.
        STATE_UNSPECIFIED = 0

        # Certificate provisioning for this domain is under way. Google Cloud
        # will attempt to authorize the domain.
        AUTHORIZING = 1

        # A managed certificate can be provisioned, no issues for this domain.
        AUTHORIZED = 6

        # Attempt to authorize the domain failed. This prevents the Managed
        # Certificate from being issued.
        # See `failure_reason` and `details` fields for more information.
        FAILED = 7
      end

      # Reason for failure of the authorization attempt for the domain.
      module FailureReason
        # FailureReason is unspecified.
        FAILURE_REASON_UNSPECIFIED = 0

        # There was a problem with the user's DNS or load balancer
        # configuration for this domain.
        CONFIG = 1

        # Certificate issuance forbidden by an explicit CAA record for the
        # domain or a failure to check CAA records for the domain.
        CAA = 2

        # Reached a CA or internal rate-limit for the domain,
        # e.g. for certificates per top-level private domain.
        RATE_LIMITED = 3
      end
    end

    # State of the managed certificate resource.
    module State
      # State is unspecified.
      STATE_UNSPECIFIED = 0

      # Certificate Manager attempts to provision or renew the certificate.
      # If the process takes longer than expected, consult the
      # `provisioning_issue` field.
      PROVISIONING = 1

      # Multiple certificate provisioning attempts failed and Certificate
      # Manager gave up. To try again, delete and create a new managed
      # Certificate resource.
      # For details see the `provisioning_issue` field.
      FAILED = 2

      # The certificate management is working, and a certificate has been
      # provisioned.
      ACTIVE = 3
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Certificate scope.
  module Scope
    # Certificates with default scope are served from core Google data centers.
    # If unsure, choose this option.
    DEFAULT = 0

    # Certificates with scope EDGE_CACHE are special-purposed certificates,
    # served from Edge Points of Presence.
    # See https://cloud.google.com/vpc/docs/edge-locations.
    EDGE_CACHE = 1

    # Certificates with ALL_REGIONS scope are served from all Google Cloud
    # regions. See https://cloud.google.com/compute/docs/regions-zones.
    ALL_REGIONS = 2
  end
end

#san_dnsnames::Array<::String> (readonly)

Returns Output only. The list of Subject Alternative Names of dnsName type defined in the certificate (see RFC 5280 4.2.1.6). Managed certificates that haven't been provisioned yet have this field populated with a value of the managed.domains field.

Returns:

  • (::Array<::String>)

    Output only. The list of Subject Alternative Names of dnsName type defined in the certificate (see RFC 5280 4.2.1.6). Managed certificates that haven't been provisioned yet have this field populated with a value of the managed.domains field.



470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
# File 'proto_docs/google/cloud/certificatemanager/v1/certificate_manager.rb', line 470

class Certificate
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Certificate data for a SelfManaged Certificate.
  # SelfManaged Certificates are uploaded by the user. Updating such
  # certificates before they expire remains the user's responsibility.
  # @!attribute [rw] pem_certificate
  #   @return [::String]
  #     Input only. The PEM-encoded certificate chain.
  #     Leaf certificate comes first, followed by intermediate ones if any.
  # @!attribute [rw] pem_private_key
  #   @return [::String]
  #     Input only. The PEM-encoded private key of the leaf certificate.
  class SelfManagedCertificate
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Configuration and state of a Managed Certificate.
  # Certificate Manager provisions and renews Managed Certificates
  # automatically, for as long as it's authorized to do so.
  # @!attribute [rw] domains
  #   @return [::Array<::String>]
  #     Immutable. The domains for which a managed SSL certificate will be
  #     generated. Wildcard domains are only supported with DNS challenge
  #     resolution.
  # @!attribute [rw] dns_authorizations
  #   @return [::Array<::String>]
  #     Immutable. Authorizations that will be used for performing domain
  #     authorization.
  # @!attribute [rw] issuance_config
  #   @return [::String]
  #     Immutable. The resource name for a
  #     {::Google::Cloud::CertificateManager::V1::CertificateIssuanceConfig CertificateIssuanceConfig}
  #     used to configure private PKI certificates in the format
  #     `projects/*/locations/*/certificateIssuanceConfigs/*`.
  #     If this field is not set, the certificates will instead be publicly
  #     signed as documented at
  #     https://cloud.google.com/load-balancing/docs/ssl-certificates/google-managed-certs#caa.
  # @!attribute [r] state
  #   @return [::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::State]
  #     Output only. State of the managed certificate resource.
  # @!attribute [r] provisioning_issue
  #   @return [::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::ProvisioningIssue]
  #     Output only. Information about issues with provisioning a Managed
  #     Certificate.
  # @!attribute [r] authorization_attempt_info
  #   @return [::Array<::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::AuthorizationAttemptInfo>]
  #     Output only. Detailed state of the latest authorization attempt for each
  #     domain specified for managed certificate resource.
  class ManagedCertificate
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Information about issues with provisioning a Managed Certificate.
    # @!attribute [r] reason
    #   @return [::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::ProvisioningIssue::Reason]
    #     Output only. Reason for provisioning failures.
    # @!attribute [r] details
    #   @return [::String]
    #     Output only. Human readable explanation about the issue. Provided to
    #     help address the configuration issues. Not guaranteed to be stable. For
    #     programmatic access use Reason enum.
    class ProvisioningIssue
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods

      # Reason for provisioning failures.
      module Reason
        # Reason is unspecified.
        REASON_UNSPECIFIED = 0

        # Certificate provisioning failed due to an issue with one or more of
        # the domains on the certificate.
        # For details of which domains failed, consult the
        # `authorization_attempt_info` field.
        AUTHORIZATION_ISSUE = 1

        # Exceeded Certificate Authority quotas or internal rate limits of the
        # system. Provisioning may take longer to complete.
        RATE_LIMITED = 2
      end
    end

    # State of the latest attempt to authorize a domain for certificate
    # issuance.
    # @!attribute [rw] domain
    #   @return [::String]
    #     Domain name of the authorization attempt.
    # @!attribute [r] state
    #   @return [::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::AuthorizationAttemptInfo::State]
    #     Output only. State of the domain for managed certificate issuance.
    # @!attribute [r] failure_reason
    #   @return [::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::AuthorizationAttemptInfo::FailureReason]
    #     Output only. Reason for failure of the authorization attempt for the
    #     domain.
    # @!attribute [r] details
    #   @return [::String]
    #     Output only. Human readable explanation for reaching the state.
    #     Provided to help address the configuration issues. Not guaranteed to be
    #     stable. For programmatic access use FailureReason enum.
    class AuthorizationAttemptInfo
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods

      # State of the domain for managed certificate issuance.
      module State
        # State is unspecified.
        STATE_UNSPECIFIED = 0

        # Certificate provisioning for this domain is under way. Google Cloud
        # will attempt to authorize the domain.
        AUTHORIZING = 1

        # A managed certificate can be provisioned, no issues for this domain.
        AUTHORIZED = 6

        # Attempt to authorize the domain failed. This prevents the Managed
        # Certificate from being issued.
        # See `failure_reason` and `details` fields for more information.
        FAILED = 7
      end

      # Reason for failure of the authorization attempt for the domain.
      module FailureReason
        # FailureReason is unspecified.
        FAILURE_REASON_UNSPECIFIED = 0

        # There was a problem with the user's DNS or load balancer
        # configuration for this domain.
        CONFIG = 1

        # Certificate issuance forbidden by an explicit CAA record for the
        # domain or a failure to check CAA records for the domain.
        CAA = 2

        # Reached a CA or internal rate-limit for the domain,
        # e.g. for certificates per top-level private domain.
        RATE_LIMITED = 3
      end
    end

    # State of the managed certificate resource.
    module State
      # State is unspecified.
      STATE_UNSPECIFIED = 0

      # Certificate Manager attempts to provision or renew the certificate.
      # If the process takes longer than expected, consult the
      # `provisioning_issue` field.
      PROVISIONING = 1

      # Multiple certificate provisioning attempts failed and Certificate
      # Manager gave up. To try again, delete and create a new managed
      # Certificate resource.
      # For details see the `provisioning_issue` field.
      FAILED = 2

      # The certificate management is working, and a certificate has been
      # provisioned.
      ACTIVE = 3
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Certificate scope.
  module Scope
    # Certificates with default scope are served from core Google data centers.
    # If unsure, choose this option.
    DEFAULT = 0

    # Certificates with scope EDGE_CACHE are special-purposed certificates,
    # served from Edge Points of Presence.
    # See https://cloud.google.com/vpc/docs/edge-locations.
    EDGE_CACHE = 1

    # Certificates with ALL_REGIONS scope are served from all Google Cloud
    # regions. See https://cloud.google.com/compute/docs/regions-zones.
    ALL_REGIONS = 2
  end
end

#scope::Google::Cloud::CertificateManager::V1::Certificate::Scope

Returns Immutable. The scope of the certificate.

Returns:



470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
# File 'proto_docs/google/cloud/certificatemanager/v1/certificate_manager.rb', line 470

class Certificate
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Certificate data for a SelfManaged Certificate.
  # SelfManaged Certificates are uploaded by the user. Updating such
  # certificates before they expire remains the user's responsibility.
  # @!attribute [rw] pem_certificate
  #   @return [::String]
  #     Input only. The PEM-encoded certificate chain.
  #     Leaf certificate comes first, followed by intermediate ones if any.
  # @!attribute [rw] pem_private_key
  #   @return [::String]
  #     Input only. The PEM-encoded private key of the leaf certificate.
  class SelfManagedCertificate
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Configuration and state of a Managed Certificate.
  # Certificate Manager provisions and renews Managed Certificates
  # automatically, for as long as it's authorized to do so.
  # @!attribute [rw] domains
  #   @return [::Array<::String>]
  #     Immutable. The domains for which a managed SSL certificate will be
  #     generated. Wildcard domains are only supported with DNS challenge
  #     resolution.
  # @!attribute [rw] dns_authorizations
  #   @return [::Array<::String>]
  #     Immutable. Authorizations that will be used for performing domain
  #     authorization.
  # @!attribute [rw] issuance_config
  #   @return [::String]
  #     Immutable. The resource name for a
  #     {::Google::Cloud::CertificateManager::V1::CertificateIssuanceConfig CertificateIssuanceConfig}
  #     used to configure private PKI certificates in the format
  #     `projects/*/locations/*/certificateIssuanceConfigs/*`.
  #     If this field is not set, the certificates will instead be publicly
  #     signed as documented at
  #     https://cloud.google.com/load-balancing/docs/ssl-certificates/google-managed-certs#caa.
  # @!attribute [r] state
  #   @return [::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::State]
  #     Output only. State of the managed certificate resource.
  # @!attribute [r] provisioning_issue
  #   @return [::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::ProvisioningIssue]
  #     Output only. Information about issues with provisioning a Managed
  #     Certificate.
  # @!attribute [r] authorization_attempt_info
  #   @return [::Array<::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::AuthorizationAttemptInfo>]
  #     Output only. Detailed state of the latest authorization attempt for each
  #     domain specified for managed certificate resource.
  class ManagedCertificate
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Information about issues with provisioning a Managed Certificate.
    # @!attribute [r] reason
    #   @return [::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::ProvisioningIssue::Reason]
    #     Output only. Reason for provisioning failures.
    # @!attribute [r] details
    #   @return [::String]
    #     Output only. Human readable explanation about the issue. Provided to
    #     help address the configuration issues. Not guaranteed to be stable. For
    #     programmatic access use Reason enum.
    class ProvisioningIssue
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods

      # Reason for provisioning failures.
      module Reason
        # Reason is unspecified.
        REASON_UNSPECIFIED = 0

        # Certificate provisioning failed due to an issue with one or more of
        # the domains on the certificate.
        # For details of which domains failed, consult the
        # `authorization_attempt_info` field.
        AUTHORIZATION_ISSUE = 1

        # Exceeded Certificate Authority quotas or internal rate limits of the
        # system. Provisioning may take longer to complete.
        RATE_LIMITED = 2
      end
    end

    # State of the latest attempt to authorize a domain for certificate
    # issuance.
    # @!attribute [rw] domain
    #   @return [::String]
    #     Domain name of the authorization attempt.
    # @!attribute [r] state
    #   @return [::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::AuthorizationAttemptInfo::State]
    #     Output only. State of the domain for managed certificate issuance.
    # @!attribute [r] failure_reason
    #   @return [::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::AuthorizationAttemptInfo::FailureReason]
    #     Output only. Reason for failure of the authorization attempt for the
    #     domain.
    # @!attribute [r] details
    #   @return [::String]
    #     Output only. Human readable explanation for reaching the state.
    #     Provided to help address the configuration issues. Not guaranteed to be
    #     stable. For programmatic access use FailureReason enum.
    class AuthorizationAttemptInfo
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods

      # State of the domain for managed certificate issuance.
      module State
        # State is unspecified.
        STATE_UNSPECIFIED = 0

        # Certificate provisioning for this domain is under way. Google Cloud
        # will attempt to authorize the domain.
        AUTHORIZING = 1

        # A managed certificate can be provisioned, no issues for this domain.
        AUTHORIZED = 6

        # Attempt to authorize the domain failed. This prevents the Managed
        # Certificate from being issued.
        # See `failure_reason` and `details` fields for more information.
        FAILED = 7
      end

      # Reason for failure of the authorization attempt for the domain.
      module FailureReason
        # FailureReason is unspecified.
        FAILURE_REASON_UNSPECIFIED = 0

        # There was a problem with the user's DNS or load balancer
        # configuration for this domain.
        CONFIG = 1

        # Certificate issuance forbidden by an explicit CAA record for the
        # domain or a failure to check CAA records for the domain.
        CAA = 2

        # Reached a CA or internal rate-limit for the domain,
        # e.g. for certificates per top-level private domain.
        RATE_LIMITED = 3
      end
    end

    # State of the managed certificate resource.
    module State
      # State is unspecified.
      STATE_UNSPECIFIED = 0

      # Certificate Manager attempts to provision or renew the certificate.
      # If the process takes longer than expected, consult the
      # `provisioning_issue` field.
      PROVISIONING = 1

      # Multiple certificate provisioning attempts failed and Certificate
      # Manager gave up. To try again, delete and create a new managed
      # Certificate resource.
      # For details see the `provisioning_issue` field.
      FAILED = 2

      # The certificate management is working, and a certificate has been
      # provisioned.
      ACTIVE = 3
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Certificate scope.
  module Scope
    # Certificates with default scope are served from core Google data centers.
    # If unsure, choose this option.
    DEFAULT = 0

    # Certificates with scope EDGE_CACHE are special-purposed certificates,
    # served from Edge Points of Presence.
    # See https://cloud.google.com/vpc/docs/edge-locations.
    EDGE_CACHE = 1

    # Certificates with ALL_REGIONS scope are served from all Google Cloud
    # regions. See https://cloud.google.com/compute/docs/regions-zones.
    ALL_REGIONS = 2
  end
end

#self_managed::Google::Cloud::CertificateManager::V1::Certificate::SelfManagedCertificate

Returns If set, defines data of a self-managed certificate.

Returns:



470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
# File 'proto_docs/google/cloud/certificatemanager/v1/certificate_manager.rb', line 470

class Certificate
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Certificate data for a SelfManaged Certificate.
  # SelfManaged Certificates are uploaded by the user. Updating such
  # certificates before they expire remains the user's responsibility.
  # @!attribute [rw] pem_certificate
  #   @return [::String]
  #     Input only. The PEM-encoded certificate chain.
  #     Leaf certificate comes first, followed by intermediate ones if any.
  # @!attribute [rw] pem_private_key
  #   @return [::String]
  #     Input only. The PEM-encoded private key of the leaf certificate.
  class SelfManagedCertificate
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Configuration and state of a Managed Certificate.
  # Certificate Manager provisions and renews Managed Certificates
  # automatically, for as long as it's authorized to do so.
  # @!attribute [rw] domains
  #   @return [::Array<::String>]
  #     Immutable. The domains for which a managed SSL certificate will be
  #     generated. Wildcard domains are only supported with DNS challenge
  #     resolution.
  # @!attribute [rw] dns_authorizations
  #   @return [::Array<::String>]
  #     Immutable. Authorizations that will be used for performing domain
  #     authorization.
  # @!attribute [rw] issuance_config
  #   @return [::String]
  #     Immutable. The resource name for a
  #     {::Google::Cloud::CertificateManager::V1::CertificateIssuanceConfig CertificateIssuanceConfig}
  #     used to configure private PKI certificates in the format
  #     `projects/*/locations/*/certificateIssuanceConfigs/*`.
  #     If this field is not set, the certificates will instead be publicly
  #     signed as documented at
  #     https://cloud.google.com/load-balancing/docs/ssl-certificates/google-managed-certs#caa.
  # @!attribute [r] state
  #   @return [::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::State]
  #     Output only. State of the managed certificate resource.
  # @!attribute [r] provisioning_issue
  #   @return [::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::ProvisioningIssue]
  #     Output only. Information about issues with provisioning a Managed
  #     Certificate.
  # @!attribute [r] authorization_attempt_info
  #   @return [::Array<::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::AuthorizationAttemptInfo>]
  #     Output only. Detailed state of the latest authorization attempt for each
  #     domain specified for managed certificate resource.
  class ManagedCertificate
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Information about issues with provisioning a Managed Certificate.
    # @!attribute [r] reason
    #   @return [::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::ProvisioningIssue::Reason]
    #     Output only. Reason for provisioning failures.
    # @!attribute [r] details
    #   @return [::String]
    #     Output only. Human readable explanation about the issue. Provided to
    #     help address the configuration issues. Not guaranteed to be stable. For
    #     programmatic access use Reason enum.
    class ProvisioningIssue
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods

      # Reason for provisioning failures.
      module Reason
        # Reason is unspecified.
        REASON_UNSPECIFIED = 0

        # Certificate provisioning failed due to an issue with one or more of
        # the domains on the certificate.
        # For details of which domains failed, consult the
        # `authorization_attempt_info` field.
        AUTHORIZATION_ISSUE = 1

        # Exceeded Certificate Authority quotas or internal rate limits of the
        # system. Provisioning may take longer to complete.
        RATE_LIMITED = 2
      end
    end

    # State of the latest attempt to authorize a domain for certificate
    # issuance.
    # @!attribute [rw] domain
    #   @return [::String]
    #     Domain name of the authorization attempt.
    # @!attribute [r] state
    #   @return [::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::AuthorizationAttemptInfo::State]
    #     Output only. State of the domain for managed certificate issuance.
    # @!attribute [r] failure_reason
    #   @return [::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::AuthorizationAttemptInfo::FailureReason]
    #     Output only. Reason for failure of the authorization attempt for the
    #     domain.
    # @!attribute [r] details
    #   @return [::String]
    #     Output only. Human readable explanation for reaching the state.
    #     Provided to help address the configuration issues. Not guaranteed to be
    #     stable. For programmatic access use FailureReason enum.
    class AuthorizationAttemptInfo
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods

      # State of the domain for managed certificate issuance.
      module State
        # State is unspecified.
        STATE_UNSPECIFIED = 0

        # Certificate provisioning for this domain is under way. Google Cloud
        # will attempt to authorize the domain.
        AUTHORIZING = 1

        # A managed certificate can be provisioned, no issues for this domain.
        AUTHORIZED = 6

        # Attempt to authorize the domain failed. This prevents the Managed
        # Certificate from being issued.
        # See `failure_reason` and `details` fields for more information.
        FAILED = 7
      end

      # Reason for failure of the authorization attempt for the domain.
      module FailureReason
        # FailureReason is unspecified.
        FAILURE_REASON_UNSPECIFIED = 0

        # There was a problem with the user's DNS or load balancer
        # configuration for this domain.
        CONFIG = 1

        # Certificate issuance forbidden by an explicit CAA record for the
        # domain or a failure to check CAA records for the domain.
        CAA = 2

        # Reached a CA or internal rate-limit for the domain,
        # e.g. for certificates per top-level private domain.
        RATE_LIMITED = 3
      end
    end

    # State of the managed certificate resource.
    module State
      # State is unspecified.
      STATE_UNSPECIFIED = 0

      # Certificate Manager attempts to provision or renew the certificate.
      # If the process takes longer than expected, consult the
      # `provisioning_issue` field.
      PROVISIONING = 1

      # Multiple certificate provisioning attempts failed and Certificate
      # Manager gave up. To try again, delete and create a new managed
      # Certificate resource.
      # For details see the `provisioning_issue` field.
      FAILED = 2

      # The certificate management is working, and a certificate has been
      # provisioned.
      ACTIVE = 3
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Certificate scope.
  module Scope
    # Certificates with default scope are served from core Google data centers.
    # If unsure, choose this option.
    DEFAULT = 0

    # Certificates with scope EDGE_CACHE are special-purposed certificates,
    # served from Edge Points of Presence.
    # See https://cloud.google.com/vpc/docs/edge-locations.
    EDGE_CACHE = 1

    # Certificates with ALL_REGIONS scope are served from all Google Cloud
    # regions. See https://cloud.google.com/compute/docs/regions-zones.
    ALL_REGIONS = 2
  end
end

#update_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. The last update timestamp of a Certificate.

Returns:



470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
# File 'proto_docs/google/cloud/certificatemanager/v1/certificate_manager.rb', line 470

class Certificate
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Certificate data for a SelfManaged Certificate.
  # SelfManaged Certificates are uploaded by the user. Updating such
  # certificates before they expire remains the user's responsibility.
  # @!attribute [rw] pem_certificate
  #   @return [::String]
  #     Input only. The PEM-encoded certificate chain.
  #     Leaf certificate comes first, followed by intermediate ones if any.
  # @!attribute [rw] pem_private_key
  #   @return [::String]
  #     Input only. The PEM-encoded private key of the leaf certificate.
  class SelfManagedCertificate
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Configuration and state of a Managed Certificate.
  # Certificate Manager provisions and renews Managed Certificates
  # automatically, for as long as it's authorized to do so.
  # @!attribute [rw] domains
  #   @return [::Array<::String>]
  #     Immutable. The domains for which a managed SSL certificate will be
  #     generated. Wildcard domains are only supported with DNS challenge
  #     resolution.
  # @!attribute [rw] dns_authorizations
  #   @return [::Array<::String>]
  #     Immutable. Authorizations that will be used for performing domain
  #     authorization.
  # @!attribute [rw] issuance_config
  #   @return [::String]
  #     Immutable. The resource name for a
  #     {::Google::Cloud::CertificateManager::V1::CertificateIssuanceConfig CertificateIssuanceConfig}
  #     used to configure private PKI certificates in the format
  #     `projects/*/locations/*/certificateIssuanceConfigs/*`.
  #     If this field is not set, the certificates will instead be publicly
  #     signed as documented at
  #     https://cloud.google.com/load-balancing/docs/ssl-certificates/google-managed-certs#caa.
  # @!attribute [r] state
  #   @return [::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::State]
  #     Output only. State of the managed certificate resource.
  # @!attribute [r] provisioning_issue
  #   @return [::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::ProvisioningIssue]
  #     Output only. Information about issues with provisioning a Managed
  #     Certificate.
  # @!attribute [r] authorization_attempt_info
  #   @return [::Array<::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::AuthorizationAttemptInfo>]
  #     Output only. Detailed state of the latest authorization attempt for each
  #     domain specified for managed certificate resource.
  class ManagedCertificate
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Information about issues with provisioning a Managed Certificate.
    # @!attribute [r] reason
    #   @return [::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::ProvisioningIssue::Reason]
    #     Output only. Reason for provisioning failures.
    # @!attribute [r] details
    #   @return [::String]
    #     Output only. Human readable explanation about the issue. Provided to
    #     help address the configuration issues. Not guaranteed to be stable. For
    #     programmatic access use Reason enum.
    class ProvisioningIssue
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods

      # Reason for provisioning failures.
      module Reason
        # Reason is unspecified.
        REASON_UNSPECIFIED = 0

        # Certificate provisioning failed due to an issue with one or more of
        # the domains on the certificate.
        # For details of which domains failed, consult the
        # `authorization_attempt_info` field.
        AUTHORIZATION_ISSUE = 1

        # Exceeded Certificate Authority quotas or internal rate limits of the
        # system. Provisioning may take longer to complete.
        RATE_LIMITED = 2
      end
    end

    # State of the latest attempt to authorize a domain for certificate
    # issuance.
    # @!attribute [rw] domain
    #   @return [::String]
    #     Domain name of the authorization attempt.
    # @!attribute [r] state
    #   @return [::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::AuthorizationAttemptInfo::State]
    #     Output only. State of the domain for managed certificate issuance.
    # @!attribute [r] failure_reason
    #   @return [::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::AuthorizationAttemptInfo::FailureReason]
    #     Output only. Reason for failure of the authorization attempt for the
    #     domain.
    # @!attribute [r] details
    #   @return [::String]
    #     Output only. Human readable explanation for reaching the state.
    #     Provided to help address the configuration issues. Not guaranteed to be
    #     stable. For programmatic access use FailureReason enum.
    class AuthorizationAttemptInfo
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods

      # State of the domain for managed certificate issuance.
      module State
        # State is unspecified.
        STATE_UNSPECIFIED = 0

        # Certificate provisioning for this domain is under way. Google Cloud
        # will attempt to authorize the domain.
        AUTHORIZING = 1

        # A managed certificate can be provisioned, no issues for this domain.
        AUTHORIZED = 6

        # Attempt to authorize the domain failed. This prevents the Managed
        # Certificate from being issued.
        # See `failure_reason` and `details` fields for more information.
        FAILED = 7
      end

      # Reason for failure of the authorization attempt for the domain.
      module FailureReason
        # FailureReason is unspecified.
        FAILURE_REASON_UNSPECIFIED = 0

        # There was a problem with the user's DNS or load balancer
        # configuration for this domain.
        CONFIG = 1

        # Certificate issuance forbidden by an explicit CAA record for the
        # domain or a failure to check CAA records for the domain.
        CAA = 2

        # Reached a CA or internal rate-limit for the domain,
        # e.g. for certificates per top-level private domain.
        RATE_LIMITED = 3
      end
    end

    # State of the managed certificate resource.
    module State
      # State is unspecified.
      STATE_UNSPECIFIED = 0

      # Certificate Manager attempts to provision or renew the certificate.
      # If the process takes longer than expected, consult the
      # `provisioning_issue` field.
      PROVISIONING = 1

      # Multiple certificate provisioning attempts failed and Certificate
      # Manager gave up. To try again, delete and create a new managed
      # Certificate resource.
      # For details see the `provisioning_issue` field.
      FAILED = 2

      # The certificate management is working, and a certificate has been
      # provisioned.
      ACTIVE = 3
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Certificate scope.
  module Scope
    # Certificates with default scope are served from core Google data centers.
    # If unsure, choose this option.
    DEFAULT = 0

    # Certificates with scope EDGE_CACHE are special-purposed certificates,
    # served from Edge Points of Presence.
    # See https://cloud.google.com/vpc/docs/edge-locations.
    EDGE_CACHE = 1

    # Certificates with ALL_REGIONS scope are served from all Google Cloud
    # regions. See https://cloud.google.com/compute/docs/regions-zones.
    ALL_REGIONS = 2
  end
end