google-cloud-datastream-v1 0.13.0 → 1.0.0

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: 39ce7079ddf9a1078eeb729792d2be749abcdb91ba3cc2f0bff1516aa43f482f
4
- data.tar.gz: cfca6f0c8a4c5723c52257160f96c8841a7088128e8e46934db7826c22362ca2
3
+ metadata.gz: de63ec8892e041d7eb71f776df32956737819583dd01000d6c004596e63028bd
4
+ data.tar.gz: 6d098d318f0fae96681788ed0cbd3473984f3163b5f1e6c9ca6e4a859aa39554
5
5
  SHA512:
6
- metadata.gz: 027f94683cfa66b99869bd7878d8894f28d90b9253a8063b6eaa2aa03c2e2e11ec382f229017255fd3e9a5be011b755470fd28a6c461169368357c529cb667d2
7
- data.tar.gz: ef77debc952ea1c543e7b4694f1b1ea02edf3062fec3703ba423be968b9a16ce5440a4b782824afd1824423736b6cc8f73e5d1740ccb3e45581cf8df252ed769
6
+ metadata.gz: 1ab5a56395711d723420d5628988d587f9be56a4f6a45a135a215907096383f251f05f6adb33aa8f1cb2e91496e60c55a288c2ea9867c09efce07c68b510b157
7
+ data.tar.gz: 950cc4943ff6c2597c0ab18b4d02d5e8368b2ee8dea7f6a31e76caf3d525f3330f7a9047c998d04efa07256595328b28f6f54bc742dda0e2f1069ebde541dcba
@@ -284,10 +284,10 @@ module Google
284
284
  # @param order_by [::String]
285
285
  # Order by fields for the result.
286
286
  # @yield [result, operation] Access the result along with the TransportOperation object
287
- # @yieldparam result [::Google::Cloud::Datastream::V1::ListConnectionProfilesResponse]
287
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Datastream::V1::ConnectionProfile>]
288
288
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
289
289
  #
290
- # @return [::Google::Cloud::Datastream::V1::ListConnectionProfilesResponse]
290
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Datastream::V1::ConnectionProfile>]
291
291
  #
292
292
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
293
293
  #
@@ -339,7 +339,9 @@ module Google
339
339
  retry_policy: @config.retry_policy
340
340
 
341
341
  @datastream_stub.list_connection_profiles request, options do |result, operation|
342
+ result = ::Gapic::Rest::PagedEnumerable.new @datastream_stub, :list_connection_profiles, "connection_profiles", request, result, options
342
343
  yield result, operation if block_given?
344
+ throw :response, result
343
345
  end
344
346
  rescue ::Gapic::Rest::Error => e
345
347
  raise ::Google::Cloud::Error.from_error(e)
@@ -896,10 +898,10 @@ module Google
896
898
  # @param order_by [::String]
897
899
  # Order by fields for the result.
898
900
  # @yield [result, operation] Access the result along with the TransportOperation object
899
- # @yieldparam result [::Google::Cloud::Datastream::V1::ListStreamsResponse]
901
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Datastream::V1::Stream>]
900
902
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
901
903
  #
902
- # @return [::Google::Cloud::Datastream::V1::ListStreamsResponse]
904
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Datastream::V1::Stream>]
903
905
  #
904
906
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
905
907
  #
@@ -951,7 +953,9 @@ module Google
951
953
  retry_policy: @config.retry_policy
952
954
 
953
955
  @datastream_stub.list_streams request, options do |result, operation|
956
+ result = ::Gapic::Rest::PagedEnumerable.new @datastream_stub, :list_streams, "streams", request, result, options
954
957
  yield result, operation if block_given?
958
+ throw :response, result
955
959
  end
956
960
  rescue ::Gapic::Rest::Error => e
957
961
  raise ::Google::Cloud::Error.from_error(e)
@@ -1890,10 +1894,10 @@ module Google
1890
1894
  # A page token, received from a previous `ListStaticIps` call.
1891
1895
  # will likely not be specified.
1892
1896
  # @yield [result, operation] Access the result along with the TransportOperation object
1893
- # @yieldparam result [::Gapic::Rest::PagedEnumerable<::String>]
1897
+ # @yieldparam result [::Google::Cloud::Datastream::V1::FetchStaticIpsResponse]
1894
1898
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
1895
1899
  #
1896
- # @return [::Gapic::Rest::PagedEnumerable<::String>]
1900
+ # @return [::Google::Cloud::Datastream::V1::FetchStaticIpsResponse]
1897
1901
  #
1898
1902
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
1899
1903
  #
@@ -1941,9 +1945,7 @@ module Google
1941
1945
  retry_policy: @config.retry_policy
1942
1946
 
1943
1947
  @datastream_stub.fetch_static_ips request, options do |result, operation|
1944
- result = ::Gapic::Rest::PagedEnumerable.new @datastream_stub, :fetch_static_ips, "static_ips", request, result, options
1945
1948
  yield result, operation if block_given?
1946
- throw :response, result
1947
1949
  end
1948
1950
  rescue ::Gapic::Rest::Error => e
1949
1951
  raise ::Google::Cloud::Error.from_error(e)
@@ -2173,10 +2175,10 @@ module Google
2173
2175
  # @param order_by [::String]
2174
2176
  # Order by fields for the result.
2175
2177
  # @yield [result, operation] Access the result along with the TransportOperation object
2176
- # @yieldparam result [::Google::Cloud::Datastream::V1::ListPrivateConnectionsResponse]
2178
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Datastream::V1::PrivateConnection>]
2177
2179
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
2178
2180
  #
2179
- # @return [::Google::Cloud::Datastream::V1::ListPrivateConnectionsResponse]
2181
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Datastream::V1::PrivateConnection>]
2180
2182
  #
2181
2183
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
2182
2184
  #
@@ -2228,7 +2230,9 @@ module Google
2228
2230
  retry_policy: @config.retry_policy
2229
2231
 
2230
2232
  @datastream_stub.list_private_connections request, options do |result, operation|
2233
+ result = ::Gapic::Rest::PagedEnumerable.new @datastream_stub, :list_private_connections, "private_connections", request, result, options
2231
2234
  yield result, operation if block_given?
2235
+ throw :response, result
2232
2236
  end
2233
2237
  rescue ::Gapic::Rest::Error => e
2234
2238
  raise ::Google::Cloud::Error.from_error(e)
@@ -2560,10 +2564,10 @@ module Google
2560
2564
  # @param order_by [::String]
2561
2565
  # Order by fields for the result.
2562
2566
  # @yield [result, operation] Access the result along with the TransportOperation object
2563
- # @yieldparam result [::Google::Cloud::Datastream::V1::ListRoutesResponse]
2567
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Datastream::V1::Route>]
2564
2568
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
2565
2569
  #
2566
- # @return [::Google::Cloud::Datastream::V1::ListRoutesResponse]
2570
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Datastream::V1::Route>]
2567
2571
  #
2568
2572
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
2569
2573
  #
@@ -2615,7 +2619,9 @@ module Google
2615
2619
  retry_policy: @config.retry_policy
2616
2620
 
2617
2621
  @datastream_stub.list_routes request, options do |result, operation|
2622
+ result = ::Gapic::Rest::PagedEnumerable.new @datastream_stub, :list_routes, "routes", request, result, options
2618
2623
  yield result, operation if block_given?
2624
+ throw :response, result
2619
2625
  end
2620
2626
  rescue ::Gapic::Rest::Error => e
2621
2627
  raise ::Google::Cloud::Error.from_error(e)
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Datastream
23
23
  module V1
24
- VERSION = "0.13.0"
24
+ VERSION = "1.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-datastream-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.0
4
+ version: 1.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
@@ -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.2
151
+ rubygems_version: 3.6.3
152
152
  specification_version: 4
153
153
  summary: API Client library for the Datastream V1 API
154
154
  test_files: []