google-cloud-config_service-v1 1.3.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/config_service/v1/config/client.rb +2 -2
- data/lib/google/cloud/config_service/v1/config/operations.rb +2 -2
- data/lib/google/cloud/config_service/v1/config/rest/client.rb +21 -11
- data/lib/google/cloud/config_service/v1/config/rest/operations.rb +1 -1
- data/lib/google/cloud/config_service/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: f471e422af32cb5b7018956b7aa89a772ab5e7b984e891609df14673db2ea2c7
|
4
|
+
data.tar.gz: 1a0e89d5633a44a2060ecf83ef9150cd493bd2e1304936aee4ba3e462258c3fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2026d379c5731b1e3dc3384886984df3079aca1a70cc44d99de0417eb27cb6819053134e946e8f1d9f7ca79ed96dced58a64be9c8b82f84812c5671254136969
|
7
|
+
data.tar.gz: 489fd74409f20182235a8836273fe9a6cffe089d9e11e9a8a36744c451c6295385c14559583f95fdd02c9f73e22cfb07bd9ff4106fdf33bd8fef4dfa7e5c9049
|
@@ -2672,8 +2672,8 @@ module Google
|
|
2672
2672
|
|
2673
2673
|
config_attr :endpoint, nil, ::String, nil
|
2674
2674
|
config_attr :credentials, nil do |value|
|
2675
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
2676
|
-
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
2675
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
2676
|
+
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
|
2677
2677
|
allowed.any? { |klass| klass === value }
|
2678
2678
|
end
|
2679
2679
|
config_attr :scope, nil, ::String, ::Array, nil
|
@@ -701,8 +701,8 @@ module Google
|
|
701
701
|
|
702
702
|
config_attr :endpoint, nil, ::String, nil
|
703
703
|
config_attr :credentials, nil do |value|
|
704
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
705
|
-
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
704
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
705
|
+
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
|
706
706
|
allowed.any? { |klass| klass === value }
|
707
707
|
end
|
708
708
|
config_attr :scope, nil, ::String, ::Array, nil
|
@@ -285,10 +285,10 @@ module Google
|
|
285
285
|
# @param order_by [::String]
|
286
286
|
# Field to use to sort the list.
|
287
287
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
288
|
-
# @yieldparam result [::Google::Cloud::ConfigService::V1::
|
288
|
+
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::ConfigService::V1::Deployment>]
|
289
289
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
290
290
|
#
|
291
|
-
# @return [::Google::Cloud::ConfigService::V1::
|
291
|
+
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::ConfigService::V1::Deployment>]
|
292
292
|
#
|
293
293
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
294
294
|
#
|
@@ -340,7 +340,9 @@ module Google
|
|
340
340
|
retry_policy: @config.retry_policy
|
341
341
|
|
342
342
|
@config_stub.list_deployments request, options do |result, operation|
|
343
|
+
result = ::Gapic::Rest::PagedEnumerable.new @config_stub, :list_deployments, "deployments", request, result, options
|
343
344
|
yield result, operation if block_given?
|
345
|
+
throw :response, result
|
344
346
|
end
|
345
347
|
rescue ::Gapic::Rest::Error => e
|
346
348
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -808,10 +810,10 @@ module Google
|
|
808
810
|
# @param order_by [::String]
|
809
811
|
# Field to use to sort the list.
|
810
812
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
811
|
-
# @yieldparam result [::Google::Cloud::ConfigService::V1::
|
813
|
+
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::ConfigService::V1::Revision>]
|
812
814
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
813
815
|
#
|
814
|
-
# @return [::Google::Cloud::ConfigService::V1::
|
816
|
+
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::ConfigService::V1::Revision>]
|
815
817
|
#
|
816
818
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
817
819
|
#
|
@@ -863,7 +865,9 @@ module Google
|
|
863
865
|
retry_policy: @config.retry_policy
|
864
866
|
|
865
867
|
@config_stub.list_revisions request, options do |result, operation|
|
868
|
+
result = ::Gapic::Rest::PagedEnumerable.new @config_stub, :list_revisions, "revisions", request, result, options
|
866
869
|
yield result, operation if block_given?
|
870
|
+
throw :response, result
|
867
871
|
end
|
868
872
|
rescue ::Gapic::Rest::Error => e
|
869
873
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -1074,10 +1078,10 @@ module Google
|
|
1074
1078
|
# @param order_by [::String]
|
1075
1079
|
# Field to use to sort the list.
|
1076
1080
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
1077
|
-
# @yieldparam result [::Google::Cloud::ConfigService::V1::
|
1081
|
+
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::ConfigService::V1::Resource>]
|
1078
1082
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
1079
1083
|
#
|
1080
|
-
# @return [::Google::Cloud::ConfigService::V1::
|
1084
|
+
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::ConfigService::V1::Resource>]
|
1081
1085
|
#
|
1082
1086
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
1083
1087
|
#
|
@@ -1129,7 +1133,9 @@ module Google
|
|
1129
1133
|
retry_policy: @config.retry_policy
|
1130
1134
|
|
1131
1135
|
@config_stub.list_resources request, options do |result, operation|
|
1136
|
+
result = ::Gapic::Rest::PagedEnumerable.new @config_stub, :list_resources, "resources", request, result, options
|
1132
1137
|
yield result, operation if block_given?
|
1138
|
+
throw :response, result
|
1133
1139
|
end
|
1134
1140
|
rescue ::Gapic::Rest::Error => e
|
1135
1141
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -1964,10 +1970,10 @@ module Google
|
|
1964
1970
|
# @param order_by [::String]
|
1965
1971
|
# Optional. Field to use to sort the list.
|
1966
1972
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
1967
|
-
# @yieldparam result [::Google::Cloud::ConfigService::V1::
|
1973
|
+
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::ConfigService::V1::Preview>]
|
1968
1974
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
1969
1975
|
#
|
1970
|
-
# @return [::Google::Cloud::ConfigService::V1::
|
1976
|
+
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::ConfigService::V1::Preview>]
|
1971
1977
|
#
|
1972
1978
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
1973
1979
|
#
|
@@ -2019,7 +2025,9 @@ module Google
|
|
2019
2025
|
retry_policy: @config.retry_policy
|
2020
2026
|
|
2021
2027
|
@config_stub.list_previews request, options do |result, operation|
|
2028
|
+
result = ::Gapic::Rest::PagedEnumerable.new @config_stub, :list_previews, "previews", request, result, options
|
2022
2029
|
yield result, operation if block_given?
|
2030
|
+
throw :response, result
|
2023
2031
|
end
|
2024
2032
|
rescue ::Gapic::Rest::Error => e
|
2025
2033
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -2250,10 +2258,10 @@ module Google
|
|
2250
2258
|
# @param order_by [::String]
|
2251
2259
|
# Optional. Field to use to sort the list.
|
2252
2260
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
2253
|
-
# @yieldparam result [::Google::Cloud::ConfigService::V1::
|
2261
|
+
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::ConfigService::V1::TerraformVersion>]
|
2254
2262
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
2255
2263
|
#
|
2256
|
-
# @return [::Google::Cloud::ConfigService::V1::
|
2264
|
+
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::ConfigService::V1::TerraformVersion>]
|
2257
2265
|
#
|
2258
2266
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
2259
2267
|
#
|
@@ -2305,7 +2313,9 @@ module Google
|
|
2305
2313
|
retry_policy: @config.retry_policy
|
2306
2314
|
|
2307
2315
|
@config_stub.list_terraform_versions request, options do |result, operation|
|
2316
|
+
result = ::Gapic::Rest::PagedEnumerable.new @config_stub, :list_terraform_versions, "terraform_versions", request, result, options
|
2308
2317
|
yield result, operation if block_given?
|
2318
|
+
throw :response, result
|
2309
2319
|
end
|
2310
2320
|
rescue ::Gapic::Rest::Error => e
|
2311
2321
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -2487,7 +2497,7 @@ module Google
|
|
2487
2497
|
|
2488
2498
|
config_attr :endpoint, nil, ::String, nil
|
2489
2499
|
config_attr :credentials, nil do |value|
|
2490
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
2500
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
2491
2501
|
allowed.any? { |klass| klass === value }
|
2492
2502
|
end
|
2493
2503
|
config_attr :scope, nil, ::String, ::Array, nil
|
@@ -556,7 +556,7 @@ module Google
|
|
556
556
|
|
557
557
|
config_attr :endpoint, nil, ::String, nil
|
558
558
|
config_attr :credentials, nil do |value|
|
559
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
559
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
560
560
|
allowed.any? { |klass| klass === value }
|
561
561
|
end
|
562
562
|
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-config_service-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
|
@@ -146,7 +146,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
146
146
|
- !ruby/object:Gem::Version
|
147
147
|
version: '0'
|
148
148
|
requirements: []
|
149
|
-
rubygems_version: 3.6.
|
149
|
+
rubygems_version: 3.6.8
|
150
150
|
specification_version: 4
|
151
151
|
summary: Creates and manages Google Cloud Platform resources and infrastructure.
|
152
152
|
test_files: []
|