google-cloud-api_gateway-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/api_gateway/v1/api_gateway_service/client.rb +2 -2
- data/lib/google/cloud/api_gateway/v1/api_gateway_service/operations.rb +2 -2
- data/lib/google/cloud/api_gateway/v1/api_gateway_service/rest/client.rb +13 -7
- data/lib/google/cloud/api_gateway/v1/api_gateway_service/rest/operations.rb +1 -1
- data/lib/google/cloud/api_gateway/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: 8a7b7c415fcd1751fb83c7e33e71b0596d79c41fdcbcfd3b0d4e7d84b9fcfac7
|
4
|
+
data.tar.gz: a779903129efc59b4610a32ea2dd1d14dcf70230fcb803b884ad18d62555175d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a3f1cec274883489d4632b07ae7d8b76b709507a7bfa725eb9bf809a01f7316fa79902f4592f4ac8702fe326aa34d20825ebc8d924219347fc559b3b287bdf02
|
7
|
+
data.tar.gz: f2eb3132b1780b7735ed1adcaf72696bbac3d25130bb3bd80f71b5d5e32e586d255a5604036ea43ac8bf1c6eed06a56dc93a1152dbf00ed07b666e29c86f4e8c
|
@@ -1793,8 +1793,8 @@ module Google
|
|
1793
1793
|
|
1794
1794
|
config_attr :endpoint, nil, ::String, nil
|
1795
1795
|
config_attr :credentials, nil do |value|
|
1796
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
1797
|
-
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
1796
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
1797
|
+
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
|
1798
1798
|
allowed.any? { |klass| klass === value }
|
1799
1799
|
end
|
1800
1800
|
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
|
@@ -265,10 +265,10 @@ module Google
|
|
265
265
|
# @param order_by [::String]
|
266
266
|
# Order by parameters.
|
267
267
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
268
|
-
# @yieldparam result [::Google::Cloud::ApiGateway::V1::
|
268
|
+
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::ApiGateway::V1::Gateway>]
|
269
269
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
270
270
|
#
|
271
|
-
# @return [::Google::Cloud::ApiGateway::V1::
|
271
|
+
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::ApiGateway::V1::Gateway>]
|
272
272
|
#
|
273
273
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
274
274
|
#
|
@@ -320,7 +320,9 @@ module Google
|
|
320
320
|
retry_policy: @config.retry_policy
|
321
321
|
|
322
322
|
@api_gateway_service_stub.list_gateways request, options do |result, operation|
|
323
|
+
result = ::Gapic::Rest::PagedEnumerable.new @api_gateway_service_stub, :list_gateways, "gateways", request, result, options
|
323
324
|
yield result, operation if block_given?
|
325
|
+
throw :response, result
|
324
326
|
end
|
325
327
|
rescue ::Gapic::Rest::Error => e
|
326
328
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -709,10 +711,10 @@ module Google
|
|
709
711
|
# @param order_by [::String]
|
710
712
|
# Order by parameters.
|
711
713
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
712
|
-
# @yieldparam result [::Google::Cloud::ApiGateway::V1::
|
714
|
+
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::ApiGateway::V1::Api>]
|
713
715
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
714
716
|
#
|
715
|
-
# @return [::Google::Cloud::ApiGateway::V1::
|
717
|
+
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::ApiGateway::V1::Api>]
|
716
718
|
#
|
717
719
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
718
720
|
#
|
@@ -764,7 +766,9 @@ module Google
|
|
764
766
|
retry_policy: @config.retry_policy
|
765
767
|
|
766
768
|
@api_gateway_service_stub.list_apis request, options do |result, operation|
|
769
|
+
result = ::Gapic::Rest::PagedEnumerable.new @api_gateway_service_stub, :list_apis, "apis", request, result, options
|
767
770
|
yield result, operation if block_given?
|
771
|
+
throw :response, result
|
768
772
|
end
|
769
773
|
rescue ::Gapic::Rest::Error => e
|
770
774
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -1153,10 +1157,10 @@ module Google
|
|
1153
1157
|
# @param order_by [::String]
|
1154
1158
|
# Order by parameters.
|
1155
1159
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
1156
|
-
# @yieldparam result [::Google::Cloud::ApiGateway::V1::
|
1160
|
+
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::ApiGateway::V1::ApiConfig>]
|
1157
1161
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
1158
1162
|
#
|
1159
|
-
# @return [::Google::Cloud::ApiGateway::V1::
|
1163
|
+
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::ApiGateway::V1::ApiConfig>]
|
1160
1164
|
#
|
1161
1165
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
1162
1166
|
#
|
@@ -1208,7 +1212,9 @@ module Google
|
|
1208
1212
|
retry_policy: @config.retry_policy
|
1209
1213
|
|
1210
1214
|
@api_gateway_service_stub.list_api_configs request, options do |result, operation|
|
1215
|
+
result = ::Gapic::Rest::PagedEnumerable.new @api_gateway_service_stub, :list_api_configs, "api_configs", request, result, options
|
1211
1216
|
yield result, operation if block_given?
|
1217
|
+
throw :response, result
|
1212
1218
|
end
|
1213
1219
|
rescue ::Gapic::Rest::Error => e
|
1214
1220
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -1666,7 +1672,7 @@ module Google
|
|
1666
1672
|
|
1667
1673
|
config_attr :endpoint, nil, ::String, nil
|
1668
1674
|
config_attr :credentials, nil do |value|
|
1669
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
1675
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
1670
1676
|
allowed.any? { |klass| klass === value }
|
1671
1677
|
end
|
1672
1678
|
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-api_gateway-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
|
@@ -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.
|
110
|
+
rubygems_version: 3.6.8
|
111
111
|
specification_version: 4
|
112
112
|
summary: API Client library for the API Gateway V1 API
|
113
113
|
test_files: []
|