google-cloud-security-private_ca-v1 1.2.0 → 2.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: c4007044092c5cda3f2175ce76fe347dac3b7db30740fd2dfc82fa2fe5b34d18
4
- data.tar.gz: 06bc6bfe6f32cf09ac199f9fd5c703b7712951b80343c9ed4c2fc3b600f48864
3
+ metadata.gz: 93dae9f053eeeaab933da33dd97cf73dc96d4d21be43f9ac11de438b53361e22
4
+ data.tar.gz: 1cdea993568d35afcf3908eae2e11d20ed508869972504d049dd22b8bff098ea
5
5
  SHA512:
6
- metadata.gz: 95e13b49cb7bac5be983410d1c7464b38b8cd0ad9c31e08ba015dd9d5a35d6ee11f4df690cd9896277c39c079b59be05a63686c559a7118cf6acfff954093181
7
- data.tar.gz: ad04188403e4db9b2996e381036a44aff1682c9ff9f8e5026b8de3b8c250337e16793c96fb3c20c2c6b8d4f1aa1b69da53e370b8a8a31be62b91a661406c61f0
6
+ metadata.gz: bb487debb2dcd2f30822d509a29d79435e065542e8d00d701615560c7926bbd70216106d87df234fffb0569266815b1c19424902c91e7697a1d2cbd642f81866
7
+ data.tar.gz: 679b2456d38cd53c8a0c7b41f4fbfbabff35fc98f7c42d47c1fb683a30745768c1cb7176cf94552e4f933a32e9857c8c8eee1a64a8aa2879f5501f4810d35697
@@ -490,10 +490,10 @@ module Google
490
490
  # supported fields and syntax, see [Certificates Sorting
491
491
  # documentation](https://cloud.google.com/certificate-authority-service/docs/sorting-filtering-certificates#sorting_support).
492
492
  # @yield [result, operation] Access the result along with the TransportOperation object
493
- # @yieldparam result [::Google::Cloud::Security::PrivateCA::V1::ListCertificatesResponse]
493
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Security::PrivateCA::V1::Certificate>]
494
494
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
495
495
  #
496
- # @return [::Google::Cloud::Security::PrivateCA::V1::ListCertificatesResponse]
496
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Security::PrivateCA::V1::Certificate>]
497
497
  #
498
498
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
499
499
  #
@@ -545,7 +545,9 @@ module Google
545
545
  retry_policy: @config.retry_policy
546
546
 
547
547
  @certificate_authority_service_stub.list_certificates request, options do |result, operation|
548
+ result = ::Gapic::Rest::PagedEnumerable.new @certificate_authority_service_stub, :list_certificates, "certificates", request, result, options
548
549
  yield result, operation if block_given?
550
+ throw :response, result
549
551
  end
550
552
  rescue ::Gapic::Rest::Error => e
551
553
  raise ::Google::Cloud::Error.from_error(e)
@@ -1403,10 +1405,10 @@ module Google
1403
1405
  # @param order_by [::String]
1404
1406
  # Optional. Specify how the results should be sorted.
1405
1407
  # @yield [result, operation] Access the result along with the TransportOperation object
1406
- # @yieldparam result [::Google::Cloud::Security::PrivateCA::V1::ListCertificateAuthoritiesResponse]
1408
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Security::PrivateCA::V1::CertificateAuthority>]
1407
1409
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1408
1410
  #
1409
- # @return [::Google::Cloud::Security::PrivateCA::V1::ListCertificateAuthoritiesResponse]
1411
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Security::PrivateCA::V1::CertificateAuthority>]
1410
1412
  #
1411
1413
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1412
1414
  #
@@ -1458,7 +1460,9 @@ module Google
1458
1460
  retry_policy: @config.retry_policy
1459
1461
 
1460
1462
  @certificate_authority_service_stub.list_certificate_authorities request, options do |result, operation|
1463
+ result = ::Gapic::Rest::PagedEnumerable.new @certificate_authority_service_stub, :list_certificate_authorities, "certificate_authorities", request, result, options
1461
1464
  yield result, operation if block_given?
1465
+ throw :response, result
1462
1466
  end
1463
1467
  rescue ::Gapic::Rest::Error => e
1464
1468
  raise ::Google::Cloud::Error.from_error(e)
@@ -2121,10 +2125,10 @@ module Google
2121
2125
  # @param order_by [::String]
2122
2126
  # Optional. Specify how the results should be sorted.
2123
2127
  # @yield [result, operation] Access the result along with the TransportOperation object
2124
- # @yieldparam result [::Google::Cloud::Security::PrivateCA::V1::ListCaPoolsResponse]
2128
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Security::PrivateCA::V1::CaPool>]
2125
2129
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
2126
2130
  #
2127
- # @return [::Google::Cloud::Security::PrivateCA::V1::ListCaPoolsResponse]
2131
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Security::PrivateCA::V1::CaPool>]
2128
2132
  #
2129
2133
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
2130
2134
  #
@@ -2176,7 +2180,9 @@ module Google
2176
2180
  retry_policy: @config.retry_policy
2177
2181
 
2178
2182
  @certificate_authority_service_stub.list_ca_pools request, options do |result, operation|
2183
+ result = ::Gapic::Rest::PagedEnumerable.new @certificate_authority_service_stub, :list_ca_pools, "ca_pools", request, result, options
2179
2184
  yield result, operation if block_given?
2185
+ throw :response, result
2180
2186
  end
2181
2187
  rescue ::Gapic::Rest::Error => e
2182
2188
  raise ::Google::Cloud::Error.from_error(e)
@@ -2510,10 +2516,10 @@ module Google
2510
2516
  # @param order_by [::String]
2511
2517
  # Optional. Specify how the results should be sorted.
2512
2518
  # @yield [result, operation] Access the result along with the TransportOperation object
2513
- # @yieldparam result [::Google::Cloud::Security::PrivateCA::V1::ListCertificateRevocationListsResponse]
2519
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Security::PrivateCA::V1::CertificateRevocationList>]
2514
2520
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
2515
2521
  #
2516
- # @return [::Google::Cloud::Security::PrivateCA::V1::ListCertificateRevocationListsResponse]
2522
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Security::PrivateCA::V1::CertificateRevocationList>]
2517
2523
  #
2518
2524
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
2519
2525
  #
@@ -2565,7 +2571,9 @@ module Google
2565
2571
  retry_policy: @config.retry_policy
2566
2572
 
2567
2573
  @certificate_authority_service_stub.list_certificate_revocation_lists request, options do |result, operation|
2574
+ result = ::Gapic::Rest::PagedEnumerable.new @certificate_authority_service_stub, :list_certificate_revocation_lists, "certificate_revocation_lists", request, result, options
2568
2575
  yield result, operation if block_given?
2576
+ throw :response, result
2569
2577
  end
2570
2578
  rescue ::Gapic::Rest::Error => e
2571
2579
  raise ::Google::Cloud::Error.from_error(e)
@@ -3015,10 +3023,10 @@ module Google
3015
3023
  # @param order_by [::String]
3016
3024
  # Optional. Specify how the results should be sorted.
3017
3025
  # @yield [result, operation] Access the result along with the TransportOperation object
3018
- # @yieldparam result [::Google::Cloud::Security::PrivateCA::V1::ListCertificateTemplatesResponse]
3026
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Security::PrivateCA::V1::CertificateTemplate>]
3019
3027
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
3020
3028
  #
3021
- # @return [::Google::Cloud::Security::PrivateCA::V1::ListCertificateTemplatesResponse]
3029
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Security::PrivateCA::V1::CertificateTemplate>]
3022
3030
  #
3023
3031
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
3024
3032
  #
@@ -3070,7 +3078,9 @@ module Google
3070
3078
  retry_policy: @config.retry_policy
3071
3079
 
3072
3080
  @certificate_authority_service_stub.list_certificate_templates request, options do |result, operation|
3081
+ result = ::Gapic::Rest::PagedEnumerable.new @certificate_authority_service_stub, :list_certificate_templates, "certificate_templates", request, result, options
3073
3082
  yield result, operation if block_given?
3083
+ throw :response, result
3074
3084
  end
3075
3085
  rescue ::Gapic::Rest::Error => e
3076
3086
  raise ::Google::Cloud::Error.from_error(e)
@@ -22,7 +22,7 @@ module Google
22
22
  module Security
23
23
  module PrivateCA
24
24
  module V1
25
- VERSION = "1.2.0"
25
+ VERSION = "2.0.0"
26
26
  end
27
27
  end
28
28
  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
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-security-private_ca-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-01-29 00:00:00.000000000 Z
10
+ date: 2025-02-07 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: gapic-common
@@ -148,7 +148,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
148
148
  - !ruby/object:Gem::Version
149
149
  version: '0'
150
150
  requirements: []
151
- rubygems_version: 3.6.2
151
+ rubygems_version: 3.6.3
152
152
  specification_version: 4
153
153
  summary: The Certificate Authority Service API is a highly-available, scalable service
154
154
  that enables you to simplify and automate the management of private certificate