google-cloud-notebooks-v1 0.11.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: 538bd8d92c017233eb96d34a16602809d8aea6ca2d6f99b1104f44104d763add
4
- data.tar.gz: 3ee928e6bfe4d9fbc5681e53ad58124aa828c80c76f4091b4a4e0d668dc67eca
3
+ metadata.gz: 915729e5939bc27e9e7f46f19389550964ad8bdb8f3567fbcd29d3fe6671c3c5
4
+ data.tar.gz: 7a5667c358551d4be9d6d6bed80347cb98e207b35ec800e84189557589fb323e
5
5
  SHA512:
6
- metadata.gz: 9d41c5cac2a312be770acfab84bc964b6b224b7bf3f6b90656d23d3a25c4a3ae3bcfa59e2007e3f2c2b1cdd838bd741f48964156be707ee2e5d2772e8f2a6da6
7
- data.tar.gz: 76bdb238556d1fa73acad2c0c4d74441d8bf09780516ad46773c8e4d1ecb7bc8a376c566fc9c729c9e51a8c53c1d3e0047a260a67df36ad26306bb94f8882112
6
+ metadata.gz: 0c2b6f8fa0d8d26e688ec3c0103e853a1ac1386ce6263692d0cc02140e72f72a76b6ad4b99246fd84f35e05214b1df2447aaf8b41e8198b11155bc95fe8628b1
7
+ data.tar.gz: 5edb9cb6201a4fdeefd75d88a070acc776df805380bada3d5ea0c37c19224069a1843df50e44723b05e3de9f06f7c2d5ca5f13ba8f0a247d9b4c73274257d0ef
@@ -276,10 +276,10 @@ module Google
276
276
  # A previous returned page token that can be used to continue listing
277
277
  # from the last result.
278
278
  # @yield [result, operation] Access the result along with the TransportOperation object
279
- # @yieldparam result [::Google::Cloud::Notebooks::V1::ListRuntimesResponse]
279
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Notebooks::V1::Runtime>]
280
280
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
281
281
  #
282
- # @return [::Google::Cloud::Notebooks::V1::ListRuntimesResponse]
282
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Notebooks::V1::Runtime>]
283
283
  #
284
284
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
285
285
  #
@@ -331,7 +331,9 @@ module Google
331
331
  retry_policy: @config.retry_policy
332
332
 
333
333
  @managed_notebook_service_stub.list_runtimes request, options do |result, operation|
334
+ result = ::Gapic::Rest::PagedEnumerable.new @managed_notebook_service_stub, :list_runtimes, "runtimes", request, result, options
334
335
  yield result, operation if block_given?
336
+ throw :response, result
335
337
  end
336
338
  rescue ::Gapic::Rest::Error => e
337
339
  raise ::Google::Cloud::Error.from_error(e)
@@ -320,10 +320,10 @@ module Google
320
320
  # A previous returned page token that can be used to continue listing
321
321
  # from the last result.
322
322
  # @yield [result, operation] Access the result along with the TransportOperation object
323
- # @yieldparam result [::Google::Cloud::Notebooks::V1::ListInstancesResponse]
323
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Notebooks::V1::Instance>]
324
324
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
325
325
  #
326
- # @return [::Google::Cloud::Notebooks::V1::ListInstancesResponse]
326
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Notebooks::V1::Instance>]
327
327
  #
328
328
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
329
329
  #
@@ -375,7 +375,9 @@ module Google
375
375
  retry_policy: @config.retry_policy
376
376
 
377
377
  @notebook_service_stub.list_instances request, options do |result, operation|
378
+ result = ::Gapic::Rest::PagedEnumerable.new @notebook_service_stub, :list_instances, "instances", request, result, options
378
379
  yield result, operation if block_given?
380
+ throw :response, result
379
381
  end
380
382
  rescue ::Gapic::Rest::Error => e
381
383
  raise ::Google::Cloud::Error.from_error(e)
@@ -2189,10 +2191,10 @@ module Google
2189
2191
  # A previous returned page token that can be used to continue listing from
2190
2192
  # the last result.
2191
2193
  # @yield [result, operation] Access the result along with the TransportOperation object
2192
- # @yieldparam result [::Google::Cloud::Notebooks::V1::ListEnvironmentsResponse]
2194
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Notebooks::V1::Environment>]
2193
2195
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
2194
2196
  #
2195
- # @return [::Google::Cloud::Notebooks::V1::ListEnvironmentsResponse]
2197
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Notebooks::V1::Environment>]
2196
2198
  #
2197
2199
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
2198
2200
  #
@@ -2244,7 +2246,9 @@ module Google
2244
2246
  retry_policy: @config.retry_policy
2245
2247
 
2246
2248
  @notebook_service_stub.list_environments request, options do |result, operation|
2249
+ result = ::Gapic::Rest::PagedEnumerable.new @notebook_service_stub, :list_environments, "environments", request, result, options
2247
2250
  yield result, operation if block_given?
2251
+ throw :response, result
2248
2252
  end
2249
2253
  rescue ::Gapic::Rest::Error => e
2250
2254
  raise ::Google::Cloud::Error.from_error(e)
@@ -2542,10 +2546,10 @@ module Google
2542
2546
  # @param order_by [::String]
2543
2547
  # Field to order results by.
2544
2548
  # @yield [result, operation] Access the result along with the TransportOperation object
2545
- # @yieldparam result [::Google::Cloud::Notebooks::V1::ListSchedulesResponse]
2549
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Notebooks::V1::Schedule>]
2546
2550
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
2547
2551
  #
2548
- # @return [::Google::Cloud::Notebooks::V1::ListSchedulesResponse]
2552
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Notebooks::V1::Schedule>]
2549
2553
  #
2550
2554
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
2551
2555
  #
@@ -2597,7 +2601,9 @@ module Google
2597
2601
  retry_policy: @config.retry_policy
2598
2602
 
2599
2603
  @notebook_service_stub.list_schedules request, options do |result, operation|
2604
+ result = ::Gapic::Rest::PagedEnumerable.new @notebook_service_stub, :list_schedules, "schedules", request, result, options
2600
2605
  yield result, operation if block_given?
2606
+ throw :response, result
2601
2607
  end
2602
2608
  rescue ::Gapic::Rest::Error => e
2603
2609
  raise ::Google::Cloud::Error.from_error(e)
@@ -2983,10 +2989,10 @@ module Google
2983
2989
  # @param order_by [::String]
2984
2990
  # Sort by field.
2985
2991
  # @yield [result, operation] Access the result along with the TransportOperation object
2986
- # @yieldparam result [::Google::Cloud::Notebooks::V1::ListExecutionsResponse]
2992
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Notebooks::V1::Execution>]
2987
2993
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
2988
2994
  #
2989
- # @return [::Google::Cloud::Notebooks::V1::ListExecutionsResponse]
2995
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Notebooks::V1::Execution>]
2990
2996
  #
2991
2997
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
2992
2998
  #
@@ -3038,7 +3044,9 @@ module Google
3038
3044
  retry_policy: @config.retry_policy
3039
3045
 
3040
3046
  @notebook_service_stub.list_executions request, options do |result, operation|
3047
+ result = ::Gapic::Rest::PagedEnumerable.new @notebook_service_stub, :list_executions, "executions", request, result, options
3041
3048
  yield result, operation if block_given?
3049
+ throw :response, result
3042
3050
  end
3043
3051
  rescue ::Gapic::Rest::Error => e
3044
3052
  raise ::Google::Cloud::Error.from_error(e)
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Notebooks
23
23
  module V1
24
- VERSION = "0.11.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-notebooks-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.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
@@ -174,7 +174,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
174
174
  - !ruby/object:Gem::Version
175
175
  version: '0'
176
176
  requirements: []
177
- rubygems_version: 3.6.2
177
+ rubygems_version: 3.6.3
178
178
  specification_version: 4
179
179
  summary: Notebooks API is used to manage notebook resources in Google Cloud.
180
180
  test_files: []