google-cloud-certificate_manager-v1 0.11.0 → 1.0.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 14483e329fffbb70ca0ba36408171e6da3bacca08234c692e2da2dba59978568
4
- data.tar.gz: 135660177141529c3d2c04ebb087a2bf5d486654a064c07b4b5e323c380d848a
3
+ metadata.gz: 065cbb22fe0e8db4d2c48ebd6664f5b3d46a4deae5bd8e993f30569cfd85ada4
4
+ data.tar.gz: 9250c54428f6d2898b1bcf3e74925bec3f979d326b63aed6633daa36bf6bd66d
5
5
  SHA512:
6
- metadata.gz: e1fbb0274c76307cd8cc0a270a8bc9849a0a205cd41570baf744facb82560276e220a3111201ccf999b28c4442d75ad64bd7c4d8da91a82cbcbcbce37b704629
7
- data.tar.gz: 182bc63b0f296d5242db2f8def96a77553e8e0007c9b54c84525ee97f1fb3182fc8a63d9f4d713283debe0fc0959d983d12e2092b55c19cf24f9fcaaa8c4a253
6
+ metadata.gz: d11d1e1e9af3552b0806414f2530890eb8f332d97a33c6daabf67851e4f932a7cd765fc5c9f8477696c984c9820cb58d1bb43b102644a53d11f8740a9c3da8ed
7
+ data.tar.gz: f56a8267b8377ff1591ce8977f94aee4bcd9c4edb5ca8e0928ff357e7d1bf8b4a126c222b43c609e146633ebcb4bb227e9991d0d5bc0c028886c0564f2b5bff1
data/README.md CHANGED
@@ -86,7 +86,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
86
86
 
87
87
  ## Supported Ruby Versions
88
88
 
89
- This library is supported on Ruby 2.7+.
89
+ This library is supported on Ruby 3.0+.
90
90
 
91
91
  Google provides official support for Ruby versions that are actively supported
92
92
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
@@ -3209,6 +3209,13 @@ module Google
3209
3209
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
3210
3210
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
3211
3211
  # * (`nil`) indicating no credentials
3212
+ #
3213
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
3214
+ # external source for authentication to Google Cloud, you must validate it before
3215
+ # providing it to a Google API client library. Providing an unvalidated credential
3216
+ # configuration to Google APIs can compromise the security of your systems and data.
3217
+ # For more information, refer to [Validate credential configurations from external
3218
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
3212
3219
  # @return [::Object]
3213
3220
  # @!attribute [rw] scope
3214
3221
  # The OAuth scopes
@@ -640,6 +640,13 @@ module Google
640
640
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
641
641
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
642
642
  # * (`nil`) indicating no credentials
643
+ #
644
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
645
+ # external source for authentication to Google Cloud, you must validate it before
646
+ # providing it to a Google API client library. Providing an unvalidated credential
647
+ # configuration to Google APIs can compromise the security of your systems and data.
648
+ # For more information, refer to [Validate credential configurations from external
649
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
643
650
  # @return [::Object]
644
651
  # @!attribute [rw] scope
645
652
  # The OAuth scopes
@@ -386,10 +386,10 @@ module Google
386
386
  # results. The default sorting order is ascending. To specify descending
387
387
  # order for a field, add a suffix `" desc"`.
388
388
  # @yield [result, operation] Access the result along with the TransportOperation object
389
- # @yieldparam result [::Google::Cloud::CertificateManager::V1::ListCertificatesResponse]
389
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::CertificateManager::V1::Certificate>]
390
390
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
391
391
  #
392
- # @return [::Google::Cloud::CertificateManager::V1::ListCertificatesResponse]
392
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::CertificateManager::V1::Certificate>]
393
393
  #
394
394
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
395
395
  #
@@ -441,7 +441,9 @@ module Google
441
441
  retry_policy: @config.retry_policy
442
442
 
443
443
  @certificate_manager_stub.list_certificates request, options do |result, operation|
444
+ result = ::Gapic::Rest::PagedEnumerable.new @certificate_manager_stub, :list_certificates, "certificates", request, result, options
444
445
  yield result, operation if block_given?
446
+ throw :response, result
445
447
  end
446
448
  rescue ::Gapic::Rest::Error => e
447
449
  raise ::Google::Cloud::Error.from_error(e)
@@ -831,10 +833,10 @@ module Google
831
833
  # returned results. The default sorting order is ascending. To specify
832
834
  # descending order for a field, add a suffix `" desc"`.
833
835
  # @yield [result, operation] Access the result along with the TransportOperation object
834
- # @yieldparam result [::Google::Cloud::CertificateManager::V1::ListCertificateMapsResponse]
836
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::CertificateManager::V1::CertificateMap>]
835
837
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
836
838
  #
837
- # @return [::Google::Cloud::CertificateManager::V1::ListCertificateMapsResponse]
839
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::CertificateManager::V1::CertificateMap>]
838
840
  #
839
841
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
840
842
  #
@@ -886,7 +888,9 @@ module Google
886
888
  retry_policy: @config.retry_policy
887
889
 
888
890
  @certificate_manager_stub.list_certificate_maps request, options do |result, operation|
891
+ result = ::Gapic::Rest::PagedEnumerable.new @certificate_manager_stub, :list_certificate_maps, "certificate_maps", request, result, options
889
892
  yield result, operation if block_given?
893
+ throw :response, result
890
894
  end
891
895
  rescue ::Gapic::Rest::Error => e
892
896
  raise ::Google::Cloud::Error.from_error(e)
@@ -1283,10 +1287,10 @@ module Google
1283
1287
  # the order of the returned results. The default sorting order is ascending.
1284
1288
  # To specify descending order for a field, add a suffix `" desc"`.
1285
1289
  # @yield [result, operation] Access the result along with the TransportOperation object
1286
- # @yieldparam result [::Google::Cloud::CertificateManager::V1::ListCertificateMapEntriesResponse]
1290
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::CertificateManager::V1::CertificateMapEntry>]
1287
1291
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1288
1292
  #
1289
- # @return [::Google::Cloud::CertificateManager::V1::ListCertificateMapEntriesResponse]
1293
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::CertificateManager::V1::CertificateMapEntry>]
1290
1294
  #
1291
1295
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1292
1296
  #
@@ -1338,7 +1342,9 @@ module Google
1338
1342
  retry_policy: @config.retry_policy
1339
1343
 
1340
1344
  @certificate_manager_stub.list_certificate_map_entries request, options do |result, operation|
1345
+ result = ::Gapic::Rest::PagedEnumerable.new @certificate_manager_stub, :list_certificate_map_entries, "certificate_map_entries", request, result, options
1341
1346
  yield result, operation if block_given?
1347
+ throw :response, result
1342
1348
  end
1343
1349
  rescue ::Gapic::Rest::Error => e
1344
1350
  raise ::Google::Cloud::Error.from_error(e)
@@ -1728,10 +1734,10 @@ module Google
1728
1734
  # returned results. The default sorting order is ascending. To specify
1729
1735
  # descending order for a field, add a suffix `" desc"`.
1730
1736
  # @yield [result, operation] Access the result along with the TransportOperation object
1731
- # @yieldparam result [::Google::Cloud::CertificateManager::V1::ListDnsAuthorizationsResponse]
1737
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::CertificateManager::V1::DnsAuthorization>]
1732
1738
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1733
1739
  #
1734
- # @return [::Google::Cloud::CertificateManager::V1::ListDnsAuthorizationsResponse]
1740
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::CertificateManager::V1::DnsAuthorization>]
1735
1741
  #
1736
1742
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1737
1743
  #
@@ -1783,7 +1789,9 @@ module Google
1783
1789
  retry_policy: @config.retry_policy
1784
1790
 
1785
1791
  @certificate_manager_stub.list_dns_authorizations request, options do |result, operation|
1792
+ result = ::Gapic::Rest::PagedEnumerable.new @certificate_manager_stub, :list_dns_authorizations, "dns_authorizations", request, result, options
1786
1793
  yield result, operation if block_given?
1794
+ throw :response, result
1787
1795
  end
1788
1796
  rescue ::Gapic::Rest::Error => e
1789
1797
  raise ::Google::Cloud::Error.from_error(e)
@@ -2174,10 +2182,10 @@ module Google
2174
2182
  # returned results. The default sorting order is ascending. To specify
2175
2183
  # descending order for a field, add a suffix `" desc"`.
2176
2184
  # @yield [result, operation] Access the result along with the TransportOperation object
2177
- # @yieldparam result [::Google::Cloud::CertificateManager::V1::ListCertificateIssuanceConfigsResponse]
2185
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::CertificateManager::V1::CertificateIssuanceConfig>]
2178
2186
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
2179
2187
  #
2180
- # @return [::Google::Cloud::CertificateManager::V1::ListCertificateIssuanceConfigsResponse]
2188
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::CertificateManager::V1::CertificateIssuanceConfig>]
2181
2189
  #
2182
2190
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
2183
2191
  #
@@ -2229,7 +2237,9 @@ module Google
2229
2237
  retry_policy: @config.retry_policy
2230
2238
 
2231
2239
  @certificate_manager_stub.list_certificate_issuance_configs request, options do |result, operation|
2240
+ result = ::Gapic::Rest::PagedEnumerable.new @certificate_manager_stub, :list_certificate_issuance_configs, "certificate_issuance_configs", request, result, options
2232
2241
  yield result, operation if block_given?
2242
+ throw :response, result
2233
2243
  end
2234
2244
  rescue ::Gapic::Rest::Error => e
2235
2245
  raise ::Google::Cloud::Error.from_error(e)
@@ -2528,10 +2538,10 @@ module Google
2528
2538
  # returned results. The default sorting order is ascending. To specify
2529
2539
  # descending order for a field, add a suffix `" desc"`.
2530
2540
  # @yield [result, operation] Access the result along with the TransportOperation object
2531
- # @yieldparam result [::Google::Cloud::CertificateManager::V1::ListTrustConfigsResponse]
2541
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::CertificateManager::V1::TrustConfig>]
2532
2542
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
2533
2543
  #
2534
- # @return [::Google::Cloud::CertificateManager::V1::ListTrustConfigsResponse]
2544
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::CertificateManager::V1::TrustConfig>]
2535
2545
  #
2536
2546
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
2537
2547
  #
@@ -2583,7 +2593,9 @@ module Google
2583
2593
  retry_policy: @config.retry_policy
2584
2594
 
2585
2595
  @certificate_manager_stub.list_trust_configs request, options do |result, operation|
2596
+ result = ::Gapic::Rest::PagedEnumerable.new @certificate_manager_stub, :list_trust_configs, "trust_configs", request, result, options
2586
2597
  yield result, operation if block_given?
2598
+ throw :response, result
2587
2599
  end
2588
2600
  rescue ::Gapic::Rest::Error => e
2589
2601
  raise ::Google::Cloud::Error.from_error(e)
@@ -2986,6 +2998,13 @@ module Google
2986
2998
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
2987
2999
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
2988
3000
  # * (`nil`) indicating no credentials
3001
+ #
3002
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
3003
+ # external source for authentication to Google Cloud, you must validate it before
3004
+ # providing it to a Google API client library. Providing an unvalidated credential
3005
+ # configuration to Google APIs can compromise the security of your systems and data.
3006
+ # For more information, refer to [Validate credential configurations from external
3007
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
2989
3008
  # @return [::Object]
2990
3009
  # @!attribute [rw] scope
2991
3010
  # The OAuth scopes
@@ -502,6 +502,13 @@ module Google
502
502
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
503
503
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
504
504
  # * (`nil`) indicating no credentials
505
+ #
506
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
507
+ # external source for authentication to Google Cloud, you must validate it before
508
+ # providing it to a Google API client library. Providing an unvalidated credential
509
+ # configuration to Google APIs can compromise the security of your systems and data.
510
+ # For more information, refer to [Validate credential configurations from external
511
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
505
512
  # @return [::Object]
506
513
  # @!attribute [rw] scope
507
514
  # The OAuth scopes
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module CertificateManager
23
23
  module V1
24
- VERSION = "0.11.0"
24
+ VERSION = "1.0.0"
25
25
  end
26
26
  end
27
27
  end
@@ -409,6 +409,14 @@ module Google
409
409
  # @return [::Array<::String>]
410
410
  # An allowlist of the fully qualified names of RPCs that should be included
411
411
  # on public client surfaces.
412
+ # @!attribute [rw] generate_omitted_as_internal
413
+ # @return [::Boolean]
414
+ # Setting this to true indicates to the client generators that methods
415
+ # that would be excluded from the generation should instead be generated
416
+ # in a way that indicates these methods should not be consumed by
417
+ # end users. How this is expressed is up to individual language
418
+ # implementations to decide. Some examples may be: added annotations,
419
+ # obfuscated identifiers, or other language idiomatic patterns.
412
420
  class SelectiveGapicGeneration
413
421
  include ::Google::Protobuf::MessageExts
414
422
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -449,9 +449,13 @@ module Google
449
449
  # @!attribute [rw] self_managed
450
450
  # @return [::Google::Cloud::CertificateManager::V1::Certificate::SelfManagedCertificate]
451
451
  # If set, defines data of a self-managed certificate.
452
+ #
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.
452
454
  # @!attribute [rw] managed
453
455
  # @return [::Google::Cloud::CertificateManager::V1::Certificate::ManagedCertificate]
454
456
  # If set, contains configuration and state of a managed certificate.
457
+ #
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.
455
459
  # @!attribute [r] san_dnsnames
456
460
  # @return [::Array<::String>]
457
461
  # Output only. The list of Subject Alternative Names of dnsName type defined
@@ -691,11 +695,15 @@ module Google
691
695
  # Output only. This field returns the resource name in the following
692
696
  # format:
693
697
  # `//compute.googleapis.com/projects/*/global/targetHttpsProxies/*`.
698
+ #
699
+ # Note: The following fields are mutually exclusive: `target_https_proxy`, `target_ssl_proxy`. If a field in that set is populated, all other fields in the set will automatically be cleared.
694
700
  # @!attribute [r] target_ssl_proxy
695
701
  # @return [::String]
696
702
  # Output only. This field returns the resource name in the following
697
703
  # format:
698
704
  # `//compute.googleapis.com/projects/*/global/targetSslProxies/*`.
705
+ #
706
+ # Note: The following fields are mutually exclusive: `target_ssl_proxy`, `target_https_proxy`. If a field in that set is populated, all other fields in the set will automatically be cleared.
699
707
  # @!attribute [r] ip_configs
700
708
  # @return [::Array<::Google::Cloud::CertificateManager::V1::CertificateMap::GclbTarget::IpConfig>]
701
709
  # Output only. IP configurations for this Target Proxy where the
@@ -750,9 +758,13 @@ module Google
750
758
  # A Hostname (FQDN, e.g. `example.com`) or a wildcard hostname expression
751
759
  # (`*.example.com`) for a set of hostnames with common suffix. Used as
752
760
  # Server Name Indication (SNI) for selecting a proper certificate.
761
+ #
762
+ # Note: The following fields are mutually exclusive: `hostname`, `matcher`. If a field in that set is populated, all other fields in the set will automatically be cleared.
753
763
  # @!attribute [rw] matcher
754
764
  # @return [::Google::Cloud::CertificateManager::V1::CertificateMapEntry::Matcher]
755
765
  # A predefined matcher for particular cases, other than SNI selection.
766
+ #
767
+ # 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.
756
768
  # @!attribute [rw] certificates
757
769
  # @return [::Array<::String>]
758
770
  # A set of Certificates defines for the given `hostname`. There can be
@@ -40,6 +40,8 @@ module Google
40
40
  # @!attribute [rw] error
41
41
  # @return [::Google::Rpc::Status]
42
42
  # The error result of the operation in case of failure or cancellation.
43
+ #
44
+ # Note: The following fields are mutually exclusive: `error`, `response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
43
45
  # @!attribute [rw] response
44
46
  # @return [::Google::Protobuf::Any]
45
47
  # The normal, successful response of the operation. If the original
@@ -50,6 +52,8 @@ module Google
50
52
  # is the original method name. For example, if the original method name
51
53
  # is `TakeSnapshot()`, the inferred response type is
52
54
  # `TakeSnapshotResponse`.
55
+ #
56
+ # Note: The following fields are mutually exclusive: `response`, `error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
53
57
  class Operation
54
58
  include ::Google::Protobuf::MessageExts
55
59
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-certificate_manager-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-10 00:00:00.000000000 Z
10
+ date: 2025-02-07 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: gapic-common
@@ -16,7 +15,7 @@ dependencies:
16
15
  requirements:
17
16
  - - ">="
18
17
  - !ruby/object:Gem::Version
19
- version: 0.24.0
18
+ version: 0.25.0
20
19
  - - "<"
21
20
  - !ruby/object:Gem::Version
22
21
  version: 2.a
@@ -26,7 +25,7 @@ dependencies:
26
25
  requirements:
27
26
  - - ">="
28
27
  - !ruby/object:Gem::Version
29
- version: 0.24.0
28
+ version: 0.25.0
30
29
  - - "<"
31
30
  - !ruby/object:Gem::Version
32
31
  version: 2.a
@@ -115,7 +114,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
115
114
  licenses:
116
115
  - Apache-2.0
117
116
  metadata: {}
118
- post_install_message:
119
117
  rdoc_options: []
120
118
  require_paths:
121
119
  - lib
@@ -123,15 +121,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
123
121
  requirements:
124
122
  - - ">="
125
123
  - !ruby/object:Gem::Version
126
- version: '2.7'
124
+ version: '3.0'
127
125
  required_rubygems_version: !ruby/object:Gem::Requirement
128
126
  requirements:
129
127
  - - ">="
130
128
  - !ruby/object:Gem::Version
131
129
  version: '0'
132
130
  requirements: []
133
- rubygems_version: 3.5.23
134
- signing_key:
131
+ rubygems_version: 3.6.3
135
132
  specification_version: 4
136
133
  summary: API Client library for the Certificate Manager V1 API
137
134
  test_files: []