google-cloud-security-private_ca-v1 1.2.0 → 2.0.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 +4 -4
- data/lib/google/cloud/security/private_ca/v1/certificate_authority_service/client.rb +2 -2
- data/lib/google/cloud/security/private_ca/v1/certificate_authority_service/operations.rb +2 -2
- data/lib/google/cloud/security/private_ca/v1/certificate_authority_service/rest/client.rb +21 -11
- data/lib/google/cloud/security/private_ca/v1/certificate_authority_service/rest/operations.rb +1 -1
- data/lib/google/cloud/security/private_ca/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +14 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3e932074942171353538741f4844762b9015e043d10225698f42c030d458de6b
|
4
|
+
data.tar.gz: a6862a5cc2d4996bcfaf21e0069c535dda678337719340e5b38b6ab1b777c733
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4fc603003e9b2ca055aa91bbf89e6df6968dc5bbd2aadf54754671aa4b8051cddf428e87d3054096a3397503fad8d57c7849af8b08a5523d3ed4f180955bc187
|
7
|
+
data.tar.gz: 6cce9625520b253ad0dd26a3af6d7092621ca2028dced2c8f5d70ce694a7603e7079806dfd7236753ebd9885adbccc62949fca3799e3bdc10920dcc51f8e09be
|
@@ -3505,8 +3505,8 @@ module Google
|
|
3505
3505
|
|
3506
3506
|
config_attr :endpoint, nil, ::String, nil
|
3507
3507
|
config_attr :credentials, nil do |value|
|
3508
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
3509
|
-
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
3508
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
3509
|
+
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
|
3510
3510
|
allowed.any? { |klass| klass === value }
|
3511
3511
|
end
|
3512
3512
|
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
|
@@ -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::
|
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::
|
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::
|
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::
|
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::
|
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::
|
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::
|
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::
|
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::
|
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::
|
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)
|
@@ -3278,7 +3288,7 @@ module Google
|
|
3278
3288
|
|
3279
3289
|
config_attr :endpoint, nil, ::String, nil
|
3280
3290
|
config_attr :credentials, nil do |value|
|
3281
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
3291
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
3282
3292
|
allowed.any? { |klass| klass === value }
|
3283
3293
|
end
|
3284
3294
|
config_attr :scope, nil, ::String, ::Array, nil
|
data/lib/google/cloud/security/private_ca/v1/certificate_authority_service/rest/operations.rb
CHANGED
@@ -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
|
@@ -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-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date:
|
10
|
+
date: 1980-01-02 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.
|
151
|
+
rubygems_version: 3.6.8
|
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
|