google-cloud-security-private_ca-v1beta1 0.11.0 → 0.12.1

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: 8d28a7d2d97df7892345256c737d78a559877b07d0c9bf566dc7a3c00a55c7c5
4
- data.tar.gz: 8de20ba5dc64488fd32e90ff297e0154fd4f87b93e9d525e7f0c9b9864c282e4
3
+ metadata.gz: 01fc7b4beb7dbaad06148bd829cce1eda6e96003c8c6a55265b645dd21e1604d
4
+ data.tar.gz: 3cfce8fd4ca6b5a48288d83904abed88d6f91fc200f971ee3cd3643d756497d7
5
5
  SHA512:
6
- metadata.gz: 9a57713d0b0e260126dfa6ac678b676ea6326868a733b0e690daaac4dd88c0bfded89b3d8ff2f32fdd9c651b44d32ea2fb7df6b3d31c851e99fb065706137324
7
- data.tar.gz: 6d614d07dfd75869c0e16a133a91e95f6949f3f333a26a48235de583a0a4fdf248ce15250238cdf0c915acfeaf233b6f6a008dfb9a7c36c1d41d503e55baf8a0
6
+ metadata.gz: 81f86d2a37d7a7b98ccd7b705e2a1ecb33b7df3c4ac8a99b7f1dfee20157720d5b0641b2bd973c6fd86a2a236525d297ce18ff621730c9f3f65a9b3061b2dfbe
7
+ data.tar.gz: c5b935cd786a9486ca34778b332500c8362f8d6cb0d20573894c3b65ff4668e4b85349b71e818f3eeaaefeeee871e9a72b6705b6a6752ac1b6c3461ac086ddff
@@ -2379,8 +2379,8 @@ module Google
2379
2379
 
2380
2380
  config_attr :endpoint, nil, ::String, nil
2381
2381
  config_attr :credentials, nil do |value|
2382
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
2383
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
2382
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
2383
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
2384
2384
  allowed.any? { |klass| klass === value }
2385
2385
  end
2386
2386
  config_attr :scope, nil, ::String, ::Array, nil
@@ -702,8 +702,8 @@ module Google
702
702
 
703
703
  config_attr :endpoint, nil, ::String, nil
704
704
  config_attr :credentials, nil do |value|
705
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
706
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
705
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
706
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
707
707
  allowed.any? { |klass| klass === value }
708
708
  end
709
709
  config_attr :scope, nil, ::String, ::Array, nil
@@ -418,10 +418,10 @@ module Google
418
418
  # and syntax, see [Certificates Sorting
419
419
  # documentation](https://cloud.google.com/certificate-authority-service/docs/sorting-filtering-certificates#sorting_support).
420
420
  # @yield [result, operation] Access the result along with the TransportOperation object
421
- # @yieldparam result [::Google::Cloud::Security::PrivateCA::V1beta1::ListCertificatesResponse]
421
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Security::PrivateCA::V1beta1::Certificate>]
422
422
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
423
423
  #
424
- # @return [::Google::Cloud::Security::PrivateCA::V1beta1::ListCertificatesResponse]
424
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Security::PrivateCA::V1beta1::Certificate>]
425
425
  #
426
426
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
427
427
  #
@@ -473,7 +473,9 @@ module Google
473
473
  retry_policy: @config.retry_policy
474
474
 
475
475
  @certificate_authority_service_stub.list_certificates request, options do |result, operation|
476
+ result = ::Gapic::Rest::PagedEnumerable.new @certificate_authority_service_stub, :list_certificates, "certificates", request, result, options
476
477
  yield result, operation if block_given?
478
+ throw :response, result
477
479
  end
478
480
  rescue ::Gapic::Rest::Error => e
479
481
  raise ::Google::Cloud::Error.from_error(e)
@@ -1295,10 +1297,10 @@ module Google
1295
1297
  # @param order_by [::String]
1296
1298
  # Optional. Specify how the results should be sorted.
1297
1299
  # @yield [result, operation] Access the result along with the TransportOperation object
1298
- # @yieldparam result [::Google::Cloud::Security::PrivateCA::V1beta1::ListCertificateAuthoritiesResponse]
1300
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthority>]
1299
1301
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1300
1302
  #
1301
- # @return [::Google::Cloud::Security::PrivateCA::V1beta1::ListCertificateAuthoritiesResponse]
1303
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Security::PrivateCA::V1beta1::CertificateAuthority>]
1302
1304
  #
1303
1305
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1304
1306
  #
@@ -1350,7 +1352,9 @@ module Google
1350
1352
  retry_policy: @config.retry_policy
1351
1353
 
1352
1354
  @certificate_authority_service_stub.list_certificate_authorities request, options do |result, operation|
1355
+ result = ::Gapic::Rest::PagedEnumerable.new @certificate_authority_service_stub, :list_certificate_authorities, "certificate_authorities", request, result, options
1353
1356
  yield result, operation if block_given?
1357
+ throw :response, result
1354
1358
  end
1355
1359
  rescue ::Gapic::Rest::Error => e
1356
1360
  raise ::Google::Cloud::Error.from_error(e)
@@ -1779,10 +1783,10 @@ module Google
1779
1783
  # @param order_by [::String]
1780
1784
  # Optional. Specify how the results should be sorted.
1781
1785
  # @yield [result, operation] Access the result along with the TransportOperation object
1782
- # @yieldparam result [::Google::Cloud::Security::PrivateCA::V1beta1::ListCertificateRevocationListsResponse]
1786
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Security::PrivateCA::V1beta1::CertificateRevocationList>]
1783
1787
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1784
1788
  #
1785
- # @return [::Google::Cloud::Security::PrivateCA::V1beta1::ListCertificateRevocationListsResponse]
1789
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Security::PrivateCA::V1beta1::CertificateRevocationList>]
1786
1790
  #
1787
1791
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1788
1792
  #
@@ -1834,7 +1838,9 @@ module Google
1834
1838
  retry_policy: @config.retry_policy
1835
1839
 
1836
1840
  @certificate_authority_service_stub.list_certificate_revocation_lists request, options do |result, operation|
1841
+ result = ::Gapic::Rest::PagedEnumerable.new @certificate_authority_service_stub, :list_certificate_revocation_lists, "certificate_revocation_lists", request, result, options
1837
1842
  yield result, operation if block_given?
1843
+ throw :response, result
1838
1844
  end
1839
1845
  rescue ::Gapic::Rest::Error => e
1840
1846
  raise ::Google::Cloud::Error.from_error(e)
@@ -2058,10 +2064,10 @@ module Google
2058
2064
  # @param order_by [::String]
2059
2065
  # Optional. Specify how the results should be sorted.
2060
2066
  # @yield [result, operation] Access the result along with the TransportOperation object
2061
- # @yieldparam result [::Google::Cloud::Security::PrivateCA::V1beta1::ListReusableConfigsResponse]
2067
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Security::PrivateCA::V1beta1::ReusableConfig>]
2062
2068
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
2063
2069
  #
2064
- # @return [::Google::Cloud::Security::PrivateCA::V1beta1::ListReusableConfigsResponse]
2070
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Security::PrivateCA::V1beta1::ReusableConfig>]
2065
2071
  #
2066
2072
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
2067
2073
  #
@@ -2113,7 +2119,9 @@ module Google
2113
2119
  retry_policy: @config.retry_policy
2114
2120
 
2115
2121
  @certificate_authority_service_stub.list_reusable_configs request, options do |result, operation|
2122
+ result = ::Gapic::Rest::PagedEnumerable.new @certificate_authority_service_stub, :list_reusable_configs, "reusable_configs", request, result, options
2116
2123
  yield result, operation if block_given?
2124
+ throw :response, result
2117
2125
  end
2118
2126
  rescue ::Gapic::Rest::Error => e
2119
2127
  raise ::Google::Cloud::Error.from_error(e)
@@ -2215,7 +2223,7 @@ module Google
2215
2223
 
2216
2224
  config_attr :endpoint, nil, ::String, nil
2217
2225
  config_attr :credentials, nil do |value|
2218
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
2226
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
2219
2227
  allowed.any? { |klass| klass === value }
2220
2228
  end
2221
2229
  config_attr :scope, nil, ::String, ::Array, nil
@@ -557,7 +557,7 @@ module Google
557
557
 
558
558
  config_attr :endpoint, nil, ::String, nil
559
559
  config_attr :credentials, nil do |value|
560
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
560
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
561
561
  allowed.any? { |klass| klass === value }
562
562
  end
563
563
  config_attr :scope, nil, ::String, ::Array, nil
@@ -22,7 +22,7 @@ module Google
22
22
  module Security
23
23
  module PrivateCA
24
24
  module V1beta1
25
- VERSION = "0.11.0"
25
+ VERSION = "0.12.1"
26
26
  end
27
27
  end
28
28
  end
@@ -221,6 +221,12 @@ module Google
221
221
  # Pythonic which are included in `protobuf>=5.29.x`. This feature will be
222
222
  # enabled by default 1 month after launching the feature in preview
223
223
  # packages.
224
+ # @!attribute [rw] unversioned_package_disabled
225
+ # @return [::Boolean]
226
+ # Disables generation of an unversioned Python package for this client
227
+ # library. This means that the module names will need to be versioned in
228
+ # import statements. For example `import google.cloud.library_v2` instead
229
+ # of `import google.cloud.library`.
224
230
  class ExperimentalFeatures
225
231
  include ::Google::Protobuf::MessageExts
226
232
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -409,6 +415,14 @@ module Google
409
415
  # @return [::Array<::String>]
410
416
  # An allowlist of the fully qualified names of RPCs that should be included
411
417
  # on public client surfaces.
418
+ # @!attribute [rw] generate_omitted_as_internal
419
+ # @return [::Boolean]
420
+ # Setting this to true indicates to the client generators that methods
421
+ # that would be excluded from the generation should instead be generated
422
+ # in a way that indicates these methods should not be consumed by
423
+ # end users. How this is expressed is up to individual language
424
+ # implementations to decide. Some examples may be: added annotations,
425
+ # obfuscated identifiers, or other language idiomatic patterns.
412
426
  class SelectiveGapicGeneration
413
427
  include ::Google::Protobuf::MessageExts
414
428
  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-v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.12.1
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: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: gapic-common
@@ -107,7 +107,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
107
107
  - !ruby/object:Gem::Version
108
108
  version: '0'
109
109
  requirements: []
110
- rubygems_version: 3.6.2
110
+ rubygems_version: 3.6.8
111
111
  specification_version: 4
112
112
  summary: API Client library for the Certificate Authority Service V1beta1 API
113
113
  test_files: []