google-cloud-batch-v1 0.21.0 → 1.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: 7c6d395c50daba4f41cd99b061f77f688f1d73030a432778d69591e95cc3069e
4
- data.tar.gz: 5dacafb4a952376415f0a8dc8705e4764d994921514b9af0b4c88eef20cc077b
3
+ metadata.gz: b822f46d30d5a5620a763f7737d65810b4248c796be3fd2b42d83a6501d0f9c0
4
+ data.tar.gz: 315bd0c00e30b1be6954c39dffa334a8df8ec38010a1289cb2ab0b112aa79e9b
5
5
  SHA512:
6
- metadata.gz: b038c928bd1ce7036bb5549e17518bb893221bf5e69d92e4a6a9d06ec2e43cf8dfb608c6d63894aaa5da0b4120dea1bc049895fcdba541097edf860613d89700
7
- data.tar.gz: cd1f31c364e3e16b405fb44fce6ce95ac39e6a6f368b293c9532829105352ef34b8b12780fee71b4eb2c6c4a022987643a40c82162979ac992e0261f17d88d67
6
+ metadata.gz: b32d740def6b95fc2f8afeb8a1836340cd5b140f0ddf68bcb4d0061baa6174601be041cf80dee526cfcb779dba235667e96f0a1f3b8de07c662ae04430b52c8d
7
+ data.tar.gz: d05a7b3769ca92c9005f1e88ee2800717976a66e0a73a49e3f1b7dc519fce93e30c622c41f6557e6206e788a202924fb98792fb5328838e3f8290fc74e9602be
@@ -549,10 +549,10 @@ module Google
549
549
  # @param page_token [::String]
550
550
  # Page token.
551
551
  # @yield [result, operation] Access the result along with the TransportOperation object
552
- # @yieldparam result [::Google::Cloud::Batch::V1::ListJobsResponse]
552
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Batch::V1::Job>]
553
553
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
554
554
  #
555
- # @return [::Google::Cloud::Batch::V1::ListJobsResponse]
555
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Batch::V1::Job>]
556
556
  #
557
557
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
558
558
  #
@@ -604,7 +604,9 @@ module Google
604
604
  retry_policy: @config.retry_policy
605
605
 
606
606
  @batch_service_stub.list_jobs request, options do |result, operation|
607
+ result = ::Gapic::Rest::PagedEnumerable.new @batch_service_stub, :list_jobs, "jobs", request, result, options
607
608
  yield result, operation if block_given?
609
+ throw :response, result
608
610
  end
609
611
  rescue ::Gapic::Rest::Error => e
610
612
  raise ::Google::Cloud::Error.from_error(e)
@@ -719,10 +721,10 @@ module Google
719
721
  # @param page_token [::String]
720
722
  # Page token.
721
723
  # @yield [result, operation] Access the result along with the TransportOperation object
722
- # @yieldparam result [::Google::Cloud::Batch::V1::ListTasksResponse]
724
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Batch::V1::Task>]
723
725
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
724
726
  #
725
- # @return [::Google::Cloud::Batch::V1::ListTasksResponse]
727
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Batch::V1::Task>]
726
728
  #
727
729
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
728
730
  #
@@ -774,7 +776,9 @@ module Google
774
776
  retry_policy: @config.retry_policy
775
777
 
776
778
  @batch_service_stub.list_tasks request, options do |result, operation|
779
+ result = ::Gapic::Rest::PagedEnumerable.new @batch_service_stub, :list_tasks, "tasks", request, result, options
777
780
  yield result, operation if block_given?
781
+ throw :response, result
778
782
  end
779
783
  rescue ::Gapic::Rest::Error => e
780
784
  raise ::Google::Cloud::Error.from_error(e)
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Batch
23
23
  module V1
24
- VERSION = "0.21.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-batch-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.21.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
@@ -160,7 +160,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
160
160
  - !ruby/object:Gem::Version
161
161
  version: '0'
162
162
  requirements: []
163
- rubygems_version: 3.6.2
163
+ rubygems_version: 3.6.3
164
164
  specification_version: 4
165
165
  summary: An API to manage the running of Batch resources on Google Cloud Platform.
166
166
  test_files: []