google-cloud-api_gateway-v1 1.2.0 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7e2641a295c554c69a2aa92db49e4dc4ed076b15e9696cbc10d2a2db9fdd7dee
4
- data.tar.gz: 2f37d4de18c09d6734e6dbf309530f6ad0b4cf95b66d7950b429c5171e3dbef6
3
+ metadata.gz: 3b7bb865cbced66d5cafa085a47501a6763e37cb16673dfb88e203fda29b782e
4
+ data.tar.gz: c50e9610c14d5b63bf7ea72874902e086729079c6f33066b0ca367acc48343f8
5
5
  SHA512:
6
- metadata.gz: a6e0afa3499bde104e4968d1a0bd43667aaa0b272e7ecd13a8a99762f00b26ef6ff487e42b1deb91341962f779aef17cb952761da84ad24adc703f9ca8cc2f84
7
- data.tar.gz: 0b6dac4dfd2d681cb7302480d3e9cb1668aea2c462b22478a49d92a186be969398eebcafd1c9a74c395ddb39c5ba73d8f03f1c33d424f69288cd70185cc73a0c
6
+ metadata.gz: 64d0851b85dd2d187e033cefb73dd3969616105fd7207c9f2cdd2aff8e68a6f8a4c5c4dd4da31204cfc31b7fc4983bbab86a3226fad999b3763ec80b89f923d7
7
+ data.tar.gz: 784b66408f01d6fd1d56b010fc2b47d9f51491eaa83fa8d4928f26f7e5e75b0cb59274434e1c9e2f8dc05f427c0ebadcbd7527d59b476e15b62a61731557641e
@@ -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::ListGatewaysResponse]
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::ListGatewaysResponse]
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::ListApisResponse]
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::ListApisResponse]
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::ListApiConfigsResponse]
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::ListApiConfigsResponse]
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)
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module ApiGateway
23
23
  module V1
24
- VERSION = "1.2.0"
24
+ VERSION = "2.0.0"
25
25
  end
26
26
  end
27
27
  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-api_gateway-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
@@ -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.3
111
111
  specification_version: 4
112
112
  summary: API Client library for the API Gateway V1 API
113
113
  test_files: []