google-cloud-certificate_manager-v1 1.5.0 → 1.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -5
  3. data/lib/google/cloud/certificate_manager/v1/bindings_override.rb +1 -1
  4. data/lib/google/cloud/certificate_manager/v1/certificate_manager/client.rb +156 -50
  5. data/lib/google/cloud/certificate_manager/v1/certificate_manager/credentials.rb +1 -1
  6. data/lib/google/cloud/certificate_manager/v1/certificate_manager/operations.rb +1 -1
  7. data/lib/google/cloud/certificate_manager/v1/certificate_manager/paths.rb +1 -1
  8. data/lib/google/cloud/certificate_manager/v1/certificate_manager/rest/client.rb +149 -50
  9. data/lib/google/cloud/certificate_manager/v1/certificate_manager/rest/operations.rb +1 -1
  10. data/lib/google/cloud/certificate_manager/v1/certificate_manager/rest/service_stub.rb +63 -1
  11. data/lib/google/cloud/certificate_manager/v1/certificate_manager/rest.rb +1 -1
  12. data/lib/google/cloud/certificate_manager/v1/certificate_manager.rb +1 -1
  13. data/lib/google/cloud/certificate_manager/v1/rest.rb +1 -1
  14. data/lib/google/cloud/certificate_manager/v1/version.rb +1 -1
  15. data/lib/google/cloud/certificate_manager/v1.rb +1 -1
  16. data/lib/google/cloud/certificatemanager/v1/certificate_issuance_config_pb.rb +3 -1
  17. data/lib/google/cloud/certificatemanager/v1/certificate_manager_pb.rb +8 -1
  18. data/lib/google/cloud/certificatemanager/v1/certificate_manager_services_pb.rb +3 -1
  19. data/lib/google/cloud/certificatemanager/v1/trust_config_pb.rb +2 -1
  20. data/lib/google-cloud-certificate_manager-v1.rb +1 -1
  21. data/proto_docs/google/api/client.rb +1 -1
  22. data/proto_docs/google/api/field_behavior.rb +1 -1
  23. data/proto_docs/google/api/field_info.rb +88 -0
  24. data/proto_docs/google/api/launch_stage.rb +1 -1
  25. data/proto_docs/google/api/resource.rb +1 -1
  26. data/proto_docs/google/cloud/certificatemanager/v1/certificate_issuance_config.rb +43 -13
  27. data/proto_docs/google/cloud/certificatemanager/v1/certificate_manager.rb +261 -74
  28. data/proto_docs/google/cloud/certificatemanager/v1/trust_config.rb +60 -16
  29. data/proto_docs/google/longrunning/operations.rb +1 -1
  30. data/proto_docs/google/protobuf/any.rb +1 -1
  31. data/proto_docs/google/protobuf/duration.rb +1 -1
  32. data/proto_docs/google/protobuf/empty.rb +1 -1
  33. data/proto_docs/google/protobuf/field_mask.rb +1 -1
  34. data/proto_docs/google/protobuf/timestamp.rb +8 -7
  35. data/proto_docs/google/rpc/status.rb +1 -1
  36. metadata +11 -9
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright 2022 Google LLC
3
+ # Copyright 2026 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -28,20 +28,20 @@ module Google
28
28
  # listed, specified in the format `projects/*/locations/*`.
29
29
  # @!attribute [rw] page_size
30
30
  # @return [::Integer]
31
- # Maximum number of certificates to return per call.
31
+ # Optional. Maximum number of certificates to return per call.
32
32
  # @!attribute [rw] page_token
33
33
  # @return [::String]
34
- # The value returned by the last `ListCertificatesResponse`. Indicates that
35
- # this is a continuation of a prior `ListCertificates` call, and that the
36
- # system should return the next page of data.
34
+ # Optional. The value returned by the last `ListCertificatesResponse`.
35
+ # Indicates that this is a continuation of a prior `ListCertificates` call,
36
+ # and that the system should return the next page of data.
37
37
  # @!attribute [rw] filter
38
38
  # @return [::String]
39
- # Filter expression to restrict the Certificates returned.
39
+ # Optional. Filter expression to restrict the Certificates returned.
40
40
  # @!attribute [rw] order_by
41
41
  # @return [::String]
42
- # A list of Certificate field names used to specify the order of the returned
43
- # results. The default sorting order is ascending. To specify descending
44
- # order for a field, add a suffix `" desc"`.
42
+ # Optional. A list of Certificate field names used to specify the order of
43
+ # the returned results. The default sorting order is ascending. To specify
44
+ # descending order for a field, add a suffix `" desc"`.
45
45
  class ListCertificatesRequest
46
46
  include ::Google::Protobuf::MessageExts
47
47
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -121,19 +121,19 @@ module Google
121
121
  # be listed, specified in the format `projects/*/locations/*`.
122
122
  # @!attribute [rw] page_size
123
123
  # @return [::Integer]
124
- # Maximum number of certificate maps to return per call.
124
+ # Optional. Maximum number of certificate maps to return per call.
125
125
  # @!attribute [rw] page_token
126
126
  # @return [::String]
127
- # The value returned by the last `ListCertificateMapsResponse`. Indicates
128
- # that this is a continuation of a prior `ListCertificateMaps` call, and that
129
- # the system should return the next page of data.
127
+ # Optional. The value returned by the last `ListCertificateMapsResponse`.
128
+ # Indicates that this is a continuation of a prior `ListCertificateMaps`
129
+ # call, and that the system should return the next page of data.
130
130
  # @!attribute [rw] filter
131
131
  # @return [::String]
132
- # Filter expression to restrict the Certificates Maps returned.
132
+ # Optional. Filter expression to restrict the Certificates Maps returned.
133
133
  # @!attribute [rw] order_by
134
134
  # @return [::String]
135
- # A list of Certificate Map field names used to specify the order of the
136
- # returned results. The default sorting order is ascending. To specify
135
+ # Optional. A list of Certificate Map field names used to specify the order
136
+ # of the returned results. The default sorting order is ascending. To specify
137
137
  # descending order for a field, add a suffix `" desc"`.
138
138
  class ListCertificateMapsRequest
139
139
  include ::Google::Protobuf::MessageExts
@@ -215,22 +215,23 @@ module Google
215
215
  # `projects/*/locations/*/certificateMaps/*`.
216
216
  # @!attribute [rw] page_size
217
217
  # @return [::Integer]
218
- # Maximum number of certificate map entries to return. The service may return
219
- # fewer than this value.
220
- # If unspecified, at most 50 certificate map entries will be returned.
221
- # The maximum value is 1000; values above 1000 will be coerced to 1000.
218
+ # Optional. Maximum number of certificate map entries to return. The service
219
+ # may return fewer than this value. If unspecified, at most 50 certificate
220
+ # map entries will be returned. The maximum value is 1000; values above 1000
221
+ # will be coerced to 1000.
222
222
  # @!attribute [rw] page_token
223
223
  # @return [::String]
224
- # The value returned by the last `ListCertificateMapEntriesResponse`.
225
- # Indicates that this is a continuation of a prior
226
- # `ListCertificateMapEntries` call, and that the system should return the
227
- # next page of data.
224
+ # Optional. The value returned by the last
225
+ # `ListCertificateMapEntriesResponse`. Indicates that this is a continuation
226
+ # of a prior `ListCertificateMapEntries` call, and that the system should
227
+ # return the next page of data.
228
228
  # @!attribute [rw] filter
229
229
  # @return [::String]
230
- # Filter expression to restrict the returned Certificate Map Entries.
230
+ # Optional. Filter expression to restrict the returned Certificate Map
231
+ # Entries.
231
232
  # @!attribute [rw] order_by
232
233
  # @return [::String]
233
- # A list of Certificate Map Entry field names used to specify
234
+ # Optional. A list of Certificate Map Entry field names used to specify
234
235
  # the order of the returned results. The default sorting order is ascending.
235
236
  # To specify descending order for a field, add a suffix `" desc"`.
236
237
  class ListCertificateMapEntriesRequest
@@ -312,19 +313,19 @@ module Google
312
313
  # be listed, specified in the format `projects/*/locations/*`.
313
314
  # @!attribute [rw] page_size
314
315
  # @return [::Integer]
315
- # Maximum number of dns authorizations to return per call.
316
+ # Optional. Maximum number of dns authorizations to return per call.
316
317
  # @!attribute [rw] page_token
317
318
  # @return [::String]
318
- # The value returned by the last `ListDnsAuthorizationsResponse`. Indicates
319
- # that this is a continuation of a prior `ListDnsAuthorizations` call, and
320
- # that the system should return the next page of data.
319
+ # Optional. The value returned by the last `ListDnsAuthorizationsResponse`.
320
+ # Indicates that this is a continuation of a prior `ListDnsAuthorizations`
321
+ # call, and that the system should return the next page of data.
321
322
  # @!attribute [rw] filter
322
323
  # @return [::String]
323
- # Filter expression to restrict the Dns Authorizations returned.
324
+ # Optional. Filter expression to restrict the Dns Authorizations returned.
324
325
  # @!attribute [rw] order_by
325
326
  # @return [::String]
326
- # A list of Dns Authorization field names used to specify the order of the
327
- # returned results. The default sorting order is ascending. To specify
327
+ # Optional. A list of Dns Authorization field names used to specify the order
328
+ # of the returned results. The default sorting order is ascending. To specify
328
329
  # descending order for a field, add a suffix `" desc"`.
329
330
  class ListDnsAuthorizationsRequest
330
331
  include ::Google::Protobuf::MessageExts
@@ -418,9 +419,10 @@ module Google
418
419
  # @return [::Boolean]
419
420
  # Identifies whether the user has requested cancellation
420
421
  # of the operation. Operations that have successfully been cancelled
421
- # have [Operation.error][] value with a
422
- # {::Google::Rpc::Status#code google.rpc.Status.code} of 1, corresponding to
423
- # `Code.CANCELLED`.
422
+ # have
423
+ # {::Google::Longrunning::Operation#error google.longrunning.Operation.error}
424
+ # value with a {::Google::Rpc::Status#code google.rpc.Status.code} of `1`,
425
+ # corresponding to `Code.CANCELLED`.
424
426
  # @!attribute [rw] api_version
425
427
  # @return [::String]
426
428
  # API version used to start the operation.
@@ -432,11 +434,12 @@ module Google
432
434
  # Defines TLS certificate.
433
435
  # @!attribute [rw] name
434
436
  # @return [::String]
435
- # A user-defined name of the certificate. Certificate names must be unique
436
- # globally and match pattern `projects/*/locations/*/certificates/*`.
437
+ # Identifier. A user-defined name of the certificate. Certificate names must
438
+ # be unique globally and match pattern
439
+ # `projects/*/locations/*/certificates/*`.
437
440
  # @!attribute [rw] description
438
441
  # @return [::String]
439
- # One or more paragraphs of text description of a certificate.
442
+ # Optional. One or more paragraphs of text description of a certificate.
440
443
  # @!attribute [r] create_time
441
444
  # @return [::Google::Protobuf::Timestamp]
442
445
  # Output only. The creation timestamp of a Certificate.
@@ -445,17 +448,23 @@ module Google
445
448
  # Output only. The last update timestamp of a Certificate.
446
449
  # @!attribute [rw] labels
447
450
  # @return [::Google::Protobuf::Map{::String => ::String}]
448
- # Set of labels associated with a Certificate.
451
+ # Optional. Set of labels associated with a Certificate.
449
452
  # @!attribute [rw] self_managed
450
453
  # @return [::Google::Cloud::CertificateManager::V1::Certificate::SelfManagedCertificate]
451
454
  # If set, defines data of a self-managed certificate.
452
455
  #
453
- # Note: The following fields are mutually exclusive: `self_managed`, `managed`. If a field in that set is populated, all other fields in the set will automatically be cleared.
456
+ # Note: The following fields are mutually exclusive: `self_managed`, `managed`, `managed_identity`. If a field in that set is populated, all other fields in the set will automatically be cleared.
454
457
  # @!attribute [rw] managed
455
458
  # @return [::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate]
456
459
  # If set, contains configuration and state of a managed certificate.
457
460
  #
458
- # Note: The following fields are mutually exclusive: `managed`, `self_managed`. If a field in that set is populated, all other fields in the set will automatically be cleared.
461
+ # Note: The following fields are mutually exclusive: `managed`, `self_managed`, `managed_identity`. If a field in that set is populated, all other fields in the set will automatically be cleared.
462
+ # @!attribute [rw] managed_identity
463
+ # @return [::Google::Cloud::CertificateManager::V1::Certificate::ManagedIdentityCertificate]
464
+ # If set, contains configuration and state of a managed identity
465
+ # certificate.
466
+ #
467
+ # Note: The following fields are mutually exclusive: `managed_identity`, `self_managed`, `managed`. If a field in that set is populated, all other fields in the set will automatically be cleared.
459
468
  # @!attribute [r] san_dnsnames
460
469
  # @return [::Array<::String>]
461
470
  # Output only. The list of Subject Alternative Names of dnsName type defined
@@ -470,7 +479,16 @@ module Google
470
479
  # Output only. The expiry timestamp of a Certificate.
471
480
  # @!attribute [rw] scope
472
481
  # @return [::Google::Cloud::CertificateManager::V1::Certificate::Scope]
473
- # Immutable. The scope of the certificate.
482
+ # Optional. Immutable. The scope of the certificate.
483
+ # @!attribute [r] used_by
484
+ # @return [::Array<::Google::Cloud::CertificateManager::V1::Certificate::UsedBy>]
485
+ # Output only. The list of resources that use this Certificate.
486
+ # @!attribute [rw] tags
487
+ # @return [::Google::Protobuf::Map{::String => ::String}]
488
+ # Optional. Input only. Immutable. Tag keys/values directly bound to this
489
+ # resource. For example:
490
+ # "123/environment": "production",
491
+ # "123/costCenter": "marketing"
474
492
  class Certificate
475
493
  include ::Google::Protobuf::MessageExts
476
494
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -480,11 +498,12 @@ module Google
480
498
  # certificates before they expire remains the user's responsibility.
481
499
  # @!attribute [rw] pem_certificate
482
500
  # @return [::String]
483
- # Input only. The PEM-encoded certificate chain.
501
+ # Optional. Input only. The PEM-encoded certificate chain.
484
502
  # Leaf certificate comes first, followed by intermediate ones if any.
485
503
  # @!attribute [rw] pem_private_key
486
504
  # @return [::String]
487
- # Input only. The PEM-encoded private key of the leaf certificate.
505
+ # Optional. Input only. The PEM-encoded private key of the leaf
506
+ # certificate.
488
507
  class SelfManagedCertificate
489
508
  include ::Google::Protobuf::MessageExts
490
509
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -495,16 +514,16 @@ module Google
495
514
  # automatically, for as long as it's authorized to do so.
496
515
  # @!attribute [rw] domains
497
516
  # @return [::Array<::String>]
498
- # Immutable. The domains for which a managed SSL certificate will be
499
- # generated. Wildcard domains are only supported with DNS challenge
517
+ # Optional. Immutable. The domains for which a managed SSL certificate will
518
+ # be generated. Wildcard domains are only supported with DNS challenge
500
519
  # resolution.
501
520
  # @!attribute [rw] dns_authorizations
502
521
  # @return [::Array<::String>]
503
- # Immutable. Authorizations that will be used for performing domain
504
- # authorization.
522
+ # Optional. Immutable. Authorizations that will be used for performing
523
+ # domain authorization.
505
524
  # @!attribute [rw] issuance_config
506
525
  # @return [::String]
507
- # Immutable. The resource name for a
526
+ # Optional. Immutable. The resource name for a
508
527
  # {::Google::Cloud::CertificateManager::V1::CertificateIssuanceConfig CertificateIssuanceConfig}
509
528
  # used to configure private PKI certificates in the format
510
529
  # `projects/*/locations/*/certificateIssuanceConfigs/*`.
@@ -558,9 +577,9 @@ module Google
558
577
 
559
578
  # State of the latest attempt to authorize a domain for certificate
560
579
  # issuance.
561
- # @!attribute [rw] domain
580
+ # @!attribute [r] domain
562
581
  # @return [::String]
563
- # Domain name of the authorization attempt.
582
+ # Output only. Domain name of the authorization attempt.
564
583
  # @!attribute [r] state
565
584
  # @return [::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::AuthorizationAttemptInfo::State]
566
585
  # Output only. State of the domain for managed certificate issuance.
@@ -573,10 +592,98 @@ module Google
573
592
  # Output only. Human readable explanation for reaching the state.
574
593
  # Provided to help address the configuration issues. Not guaranteed to be
575
594
  # stable. For programmatic access use FailureReason enum.
595
+ # @!attribute [r] attempt_time
596
+ # @return [::Google::Protobuf::Timestamp]
597
+ # Output only. The timestamp, when the authorization attempt was made.
598
+ # @!attribute [r] troubleshooting
599
+ # @return [::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::AuthorizationAttemptInfo::Troubleshooting]
600
+ # Output only. Troubleshooting information for the authorization attempt.
601
+ # This field is only populated if the authorization attempt failed.
576
602
  class AuthorizationAttemptInfo
577
603
  include ::Google::Protobuf::MessageExts
578
604
  extend ::Google::Protobuf::MessageExts::ClassMethods
579
605
 
606
+ # Troubleshooting information for the authorization attempt.
607
+ # @!attribute [r] issues
608
+ # @return [::Array<::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::AuthorizationAttemptInfo::Troubleshooting::Issue>]
609
+ # Output only. The list of issues discovered during the authorization
610
+ # attempt.
611
+ # @!attribute [r] cname
612
+ # @return [::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::AuthorizationAttemptInfo::Troubleshooting::CNAME]
613
+ # Output only. CNAME troubleshooting information.
614
+ # @!attribute [r] ips
615
+ # @return [::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::AuthorizationAttemptInfo::Troubleshooting::IPs]
616
+ # Output only. IPs troubleshooting information.
617
+ class Troubleshooting
618
+ include ::Google::Protobuf::MessageExts
619
+ extend ::Google::Protobuf::MessageExts::ClassMethods
620
+
621
+ # CNAME troubleshooting information.
622
+ # @!attribute [r] name
623
+ # @return [::String]
624
+ # Output only. The name of the CNAME record for the domain, equals to
625
+ # `dns_resource_record.name` in the corresponding `DnsAuthorization`.
626
+ # @!attribute [r] expected_data
627
+ # @return [::String]
628
+ # Output only. The expected value of the CNAME record for the domain,
629
+ # equals to `dns_resource_record.data` in the corresponding
630
+ # `DnsAuthorization`.
631
+ # @!attribute [r] resolved_data
632
+ # @return [::Array<::String>]
633
+ # Output only. The resolved CNAME chain.
634
+ # Empty list if the CNAME record for `CNAME.name` is not found.
635
+ # Otherwise the first item is the value of the CNAME record for
636
+ # `CNAME.name`.
637
+ # If the CNAME chain is longer, the second item is the value of the
638
+ # CNAME record for the first item, and so on.
639
+ class CNAME
640
+ include ::Google::Protobuf::MessageExts
641
+ extend ::Google::Protobuf::MessageExts::ClassMethods
642
+ end
643
+
644
+ # IPs troubleshooting information.
645
+ # @!attribute [r] serving
646
+ # @return [::Array<::String>]
647
+ # Output only. The list of IP addresses, where the certificate is
648
+ # attached and port 443 is open.
649
+ # @!attribute [r] serving_on_alt_ports
650
+ # @return [::Array<::String>]
651
+ # Output only. The list of IP addresses, where the certificate is
652
+ # attached, but port 443 is not open.
653
+ # @!attribute [r] resolved
654
+ # @return [::Array<::String>]
655
+ # Output only. The list of IP addresses resolved from the domain's
656
+ # A/AAAA records. Can contain both ipv4 and ipv6 addresses.
657
+ class IPs
658
+ include ::Google::Protobuf::MessageExts
659
+ extend ::Google::Protobuf::MessageExts::ClassMethods
660
+ end
661
+
662
+ # The issue discovered during the authorization attempt.
663
+ module Issue
664
+ # Issue is unspecified.
665
+ ISSUE_UNSPECIFIED = 0
666
+
667
+ # The resolved CNAME value doesn't match the expected CNAME.
668
+ CNAME_MISMATCH = 1
669
+
670
+ # Domain has A/AAAA records that point to IPs, where the certificate
671
+ # is not attached.
672
+ RESOLVED_TO_NOT_SERVING = 2
673
+
674
+ # Domain has A/AAAA records that point to IPs, where the certificate
675
+ # is attached, but port 443 is not open.
676
+ RESOLVED_TO_SERVING_ON_ALT_PORTS = 3
677
+
678
+ # Domain doesn't have any A/AAAA records.
679
+ NO_RESOLVED_IPS = 4
680
+
681
+ # Certificate is not configured to be served from any IPs (e.g.
682
+ # Certificate is not attached to any load balancer).
683
+ CERTIFICATE_NOT_ATTACHED = 5
684
+ end
685
+ end
686
+
580
687
  # State of the domain for managed certificate issuance.
581
688
  module State
582
689
  # State is unspecified.
@@ -636,6 +743,38 @@ module Google
636
743
  end
637
744
  end
638
745
 
746
+ # Configuration and state of a Managed Identity Certificate.
747
+ # Certificate Manager provisions and renews Managed Identity Certificates
748
+ # automatically, for as long as it's authorized to do so.
749
+ # @!attribute [rw] identity
750
+ # @return [::String]
751
+ # Required. Immutable. SPIFFE ID of the Managed Identity used for this
752
+ # certificate.
753
+ # @!attribute [r] state
754
+ # @return [::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::State]
755
+ # Output only. State of the managed certificate resource.
756
+ # @!attribute [r] provisioning_issue
757
+ # @return [::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate::ProvisioningIssue]
758
+ # Output only. Information about issues with provisioning a managed
759
+ # certificate.
760
+ class ManagedIdentityCertificate
761
+ include ::Google::Protobuf::MessageExts
762
+ extend ::Google::Protobuf::MessageExts::ClassMethods
763
+ end
764
+
765
+ # Defines a resource that uses the certificate.
766
+ # @!attribute [r] name
767
+ # @return [::String]
768
+ # Output only. Full name of the resource
769
+ # https://google.aip.dev/122#full-resource-names, e.g.
770
+ # `//certificatemanager.googleapis.com/projects/*/locations/*/certificateMaps/*/certificateMapEntries/*`
771
+ # or
772
+ # `//compute.googleapis.com/projects/*/locations/*/targetHttpsProxies/*`.
773
+ class UsedBy
774
+ include ::Google::Protobuf::MessageExts
775
+ extend ::Google::Protobuf::MessageExts::ClassMethods
776
+ end
777
+
639
778
  # @!attribute [rw] key
640
779
  # @return [::String]
641
780
  # @!attribute [rw] value
@@ -645,32 +784,48 @@ module Google
645
784
  extend ::Google::Protobuf::MessageExts::ClassMethods
646
785
  end
647
786
 
787
+ # @!attribute [rw] key
788
+ # @return [::String]
789
+ # @!attribute [rw] value
790
+ # @return [::String]
791
+ class TagsEntry
792
+ include ::Google::Protobuf::MessageExts
793
+ extend ::Google::Protobuf::MessageExts::ClassMethods
794
+ end
795
+
648
796
  # Certificate scope.
649
797
  module Scope
650
- # Certificates with default scope are served from core Google data centers.
651
- # If unsure, choose this option.
798
+ # Use the DEFAULT scope if you plan to use the certificate with global
799
+ # external Application Load Balancer, global external proxy Network
800
+ # Load Balancer, or any of the regional Google Cloud services.
652
801
  DEFAULT = 0
653
802
 
654
- # Certificates with scope EDGE_CACHE are special-purposed certificates,
655
- # served from Edge Points of Presence.
803
+ # Use the EDGE_CACHE scope if you plan to use the certificate with Media
804
+ # CDN.
805
+ # The certificates are served from Edge Points of Presence.
656
806
  # See https://cloud.google.com/vpc/docs/edge-locations.
657
807
  EDGE_CACHE = 1
658
808
 
659
- # Certificates with ALL_REGIONS scope are served from all Google Cloud
809
+ # Use the ALL_REGIONS scope if you plan to use the certificate with
810
+ # cross-region internal Application Load Balancer.
811
+ # The certificates are served from all Google Cloud
660
812
  # regions. See https://cloud.google.com/compute/docs/regions-zones.
661
813
  ALL_REGIONS = 2
814
+
815
+ # Associated with certificates used as client certificates in Backend mTLS.
816
+ CLIENT_AUTH = 3
662
817
  end
663
818
  end
664
819
 
665
820
  # Defines a collection of certificate configurations.
666
821
  # @!attribute [rw] name
667
822
  # @return [::String]
668
- # A user-defined name of the Certificate Map. Certificate Map names must be
669
- # unique globally and match pattern
823
+ # Identifier. A user-defined name of the Certificate Map. Certificate Map
824
+ # names must be unique globally and match pattern
670
825
  # `projects/*/locations/*/certificateMaps/*`.
671
826
  # @!attribute [rw] description
672
827
  # @return [::String]
673
- # One or more paragraphs of text description of a certificate map.
828
+ # Optional. One or more paragraphs of text description of a certificate map.
674
829
  # @!attribute [r] create_time
675
830
  # @return [::Google::Protobuf::Timestamp]
676
831
  # Output only. The creation timestamp of a Certificate Map.
@@ -679,12 +834,18 @@ module Google
679
834
  # Output only. The update timestamp of a Certificate Map.
680
835
  # @!attribute [rw] labels
681
836
  # @return [::Google::Protobuf::Map{::String => ::String}]
682
- # Set of labels associated with a Certificate Map.
837
+ # Optional. Set of labels associated with a Certificate Map.
683
838
  # @!attribute [r] gclb_targets
684
839
  # @return [::Array<::Google::Cloud::CertificateManager::V1::CertificateMap::GclbTarget>]
685
840
  # Output only. A list of GCLB targets that use this Certificate Map.
686
841
  # A Target Proxy is only present on this list if it's attached to a
687
842
  # Forwarding Rule.
843
+ # @!attribute [rw] tags
844
+ # @return [::Google::Protobuf::Map{::String => ::String}]
845
+ # Optional. Input only. Immutable. Tag keys/values directly bound to this
846
+ # resource. For example:
847
+ # "123/environment": "production",
848
+ # "123/costCenter": "marketing"
688
849
  class CertificateMap
689
850
  include ::Google::Protobuf::MessageExts
690
851
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -733,17 +894,27 @@ module Google
733
894
  include ::Google::Protobuf::MessageExts
734
895
  extend ::Google::Protobuf::MessageExts::ClassMethods
735
896
  end
897
+
898
+ # @!attribute [rw] key
899
+ # @return [::String]
900
+ # @!attribute [rw] value
901
+ # @return [::String]
902
+ class TagsEntry
903
+ include ::Google::Protobuf::MessageExts
904
+ extend ::Google::Protobuf::MessageExts::ClassMethods
905
+ end
736
906
  end
737
907
 
738
908
  # Defines a certificate map entry.
739
909
  # @!attribute [rw] name
740
910
  # @return [::String]
741
- # A user-defined name of the Certificate Map Entry. Certificate Map Entry
742
- # names must be unique globally and match pattern
911
+ # Identifier. A user-defined name of the Certificate Map Entry. Certificate
912
+ # Map Entry names must be unique globally and match pattern
743
913
  # `projects/*/locations/*/certificateMaps/*/certificateMapEntries/*`.
744
914
  # @!attribute [rw] description
745
915
  # @return [::String]
746
- # One or more paragraphs of text description of a certificate map entry.
916
+ # Optional. One or more paragraphs of text description of a certificate map
917
+ # entry.
747
918
  # @!attribute [r] create_time
748
919
  # @return [::Google::Protobuf::Timestamp]
749
920
  # Output only. The creation timestamp of a Certificate Map Entry.
@@ -752,7 +923,7 @@ module Google
752
923
  # Output only. The update timestamp of a Certificate Map Entry.
753
924
  # @!attribute [rw] labels
754
925
  # @return [::Google::Protobuf::Map{::String => ::String}]
755
- # Set of labels associated with a Certificate Map Entry.
926
+ # Optional. Set of labels associated with a Certificate Map Entry.
756
927
  # @!attribute [rw] hostname
757
928
  # @return [::String]
758
929
  # A Hostname (FQDN, e.g. `example.com`) or a wildcard hostname expression
@@ -767,8 +938,8 @@ module Google
767
938
  # Note: The following fields are mutually exclusive: `matcher`, `hostname`. If a field in that set is populated, all other fields in the set will automatically be cleared.
768
939
  # @!attribute [rw] certificates
769
940
  # @return [::Array<::String>]
770
- # A set of Certificates defines for the given `hostname`. There can be
771
- # defined up to four certificates in each Certificate Map Entry. Each
941
+ # Optional. A set of Certificates defines for the given `hostname`. There can
942
+ # be defined up to four certificates in each Certificate Map Entry. Each
772
943
  # certificate must match pattern `projects/*/locations/*/certificates/*`.
773
944
  # @!attribute [r] state
774
945
  # @return [::Google::Cloud::CertificateManager::V1::ServingState]
@@ -802,8 +973,8 @@ module Google
802
973
  # for certificate issuance.
803
974
  # @!attribute [rw] name
804
975
  # @return [::String]
805
- # A user-defined name of the dns authorization. DnsAuthorization names must
806
- # be unique globally and match pattern
976
+ # Identifier. A user-defined name of the dns authorization. DnsAuthorization
977
+ # names must be unique globally and match pattern
807
978
  # `projects/*/locations/*/dnsAuthorizations/*`.
808
979
  # @!attribute [r] create_time
809
980
  # @return [::Google::Protobuf::Timestamp]
@@ -813,10 +984,10 @@ module Google
813
984
  # Output only. The last update timestamp of a DnsAuthorization.
814
985
  # @!attribute [rw] labels
815
986
  # @return [::Google::Protobuf::Map{::String => ::String}]
816
- # Set of labels associated with a DnsAuthorization.
987
+ # Optional. Set of labels associated with a DnsAuthorization.
817
988
  # @!attribute [rw] description
818
989
  # @return [::String]
819
- # One or more paragraphs of text description of a DnsAuthorization.
990
+ # Optional. One or more paragraphs of text description of a DnsAuthorization.
820
991
  # @!attribute [rw] domain
821
992
  # @return [::String]
822
993
  # Required. Immutable. A domain that is being authorized. A DnsAuthorization
@@ -829,9 +1000,16 @@ module Google
829
1000
  # configuration.
830
1001
  # @!attribute [rw] type
831
1002
  # @return [::Google::Cloud::CertificateManager::V1::DnsAuthorization::Type]
832
- # Immutable. Type of DnsAuthorization. If unset during resource creation the
833
- # following default will be used:
834
- # - in location global: FIXED_RECORD.
1003
+ # Optional. Immutable. Type of DnsAuthorization. If unset during resource
1004
+ # creation the following default will be used:
1005
+ # - in location `global`: FIXED_RECORD,
1006
+ # - in other locations: PER_PROJECT_RECORD.
1007
+ # @!attribute [rw] tags
1008
+ # @return [::Google::Protobuf::Map{::String => ::String}]
1009
+ # Optional. Input only. Immutable. Tag keys/values directly bound to this
1010
+ # resource. For example:
1011
+ # "123/environment": "production",
1012
+ # "123/costCenter": "marketing"
835
1013
  class DnsAuthorization
836
1014
  include ::Google::Protobuf::MessageExts
837
1015
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -864,6 +1042,15 @@ module Google
864
1042
  extend ::Google::Protobuf::MessageExts::ClassMethods
865
1043
  end
866
1044
 
1045
+ # @!attribute [rw] key
1046
+ # @return [::String]
1047
+ # @!attribute [rw] value
1048
+ # @return [::String]
1049
+ class TagsEntry
1050
+ include ::Google::Protobuf::MessageExts
1051
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1052
+ end
1053
+
867
1054
  # DnsAuthorization type.
868
1055
  module Type
869
1056
  # Type is unspecified.