google-apis-run_v2 0.28.0 → 0.29.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: 997654f8ebd93143ccbb16bc1a5ad684de77e326791b2c3ed65422932bc1b880
4
- data.tar.gz: dd60fed779ae0c94c3ee6b4bb7f7080124da723f3cf64127eeb4cb55bd854cd8
3
+ metadata.gz: 88bb5fa299726bc7f6780b4058608fca20566da5ebc93c73dae9a84b91ca3852
4
+ data.tar.gz: 7bb4da159e65453398285319b6df3f307be2dd28a0e4bc61d9c1a5de0c4bb587
5
5
  SHA512:
6
- metadata.gz: 369ba883ea5d5b2f965549a28f68c3691b8c807761763c04bec733678eb5da73319a7d477c5cb47bd7bedda590119a1ae7e54120825b042eded59424f187ee2e
7
- data.tar.gz: f14b6fece68809f8b9168469ddf5c7bed28a9b712c3f821b61e21c50cf964a88e611ed1d2119550214d185a35c209f804417e79e1f964fb4da6e3ddcf2bde1ab
6
+ metadata.gz: f0b9644f9e690358177a417b32d36786ce96a67223d80bfe95723d5eadaff6d15930d43f6a4149a236aebbff5cd18dce6d1d32addacd7848e259df07120c6820
7
+ data.tar.gz: 5f7dc90436ac4346ab93a2ebaeaf9672bd607543012f7ff2a2c0427aefbaad462b609de0d7b4758b133e919091b279718d1b2fa62b223ff9f3f4b76af0ca82f9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-run_v2
2
2
 
3
+ ### v0.29.0 (2023-01-22)
4
+
5
+ * Regenerated from discovery document revision 20230113
6
+
3
7
  ### v0.28.0 (2023-01-08)
4
8
 
5
9
  * Regenerated from discovery document revision 20230102
@@ -2787,6 +2787,27 @@ module Google
2787
2787
  end
2788
2788
  end
2789
2789
 
2790
+ # The request message for Operations.WaitOperation.
2791
+ class GoogleLongrunningWaitOperationRequest
2792
+ include Google::Apis::Core::Hashable
2793
+
2794
+ # The maximum duration to wait before timing out. If left blank, the wait will
2795
+ # be at most the time permitted by the underlying HTTP/RPC protocol. If RPC
2796
+ # context deadline is also specified, the shorter one will be used.
2797
+ # Corresponds to the JSON property `timeout`
2798
+ # @return [String]
2799
+ attr_accessor :timeout
2800
+
2801
+ def initialize(**args)
2802
+ update!(**args)
2803
+ end
2804
+
2805
+ # Update properties of this object
2806
+ def update!(**args)
2807
+ @timeout = args[:timeout] if args.key?(:timeout)
2808
+ end
2809
+ end
2810
+
2790
2811
  # A generic empty message that you can re-use to avoid defining duplicated empty
2791
2812
  # messages in your APIs. A typical example is to use it as the request or the
2792
2813
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module RunV2
18
18
  # Version of the google-apis-run_v2 gem
19
- GEM_VERSION = "0.28.0"
19
+ GEM_VERSION = "0.29.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.11.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230102"
25
+ REVISION = "20230113"
26
26
  end
27
27
  end
28
28
  end
@@ -304,6 +304,12 @@ module Google
304
304
  include Google::Apis::Core::JsonObjectSupport
305
305
  end
306
306
 
307
+ class GoogleLongrunningWaitOperationRequest
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
307
313
  class GoogleProtobufEmpty
308
314
  class Representation < Google::Apis::Core::JsonRepresentation; end
309
315
 
@@ -930,6 +936,13 @@ module Google
930
936
  end
931
937
  end
932
938
 
939
+ class GoogleLongrunningWaitOperationRequest
940
+ # @private
941
+ class Representation < Google::Apis::Core::JsonRepresentation
942
+ property :timeout, as: 'timeout'
943
+ end
944
+ end
945
+
933
946
  class GoogleProtobufEmpty
934
947
  # @private
935
948
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -705,6 +705,46 @@ module Google
705
705
  execute_or_queue_command(command, &block)
706
706
  end
707
707
 
708
+ # Waits until the specified long-running operation is done or reaches at most a
709
+ # specified timeout, returning the latest state. If the operation is already
710
+ # done, the latest state is immediately returned. If the timeout specified is
711
+ # greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If
712
+ # the server does not support this method, it returns `google.rpc.Code.
713
+ # UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return
714
+ # the latest state before the specified timeout (including immediately), meaning
715
+ # even an immediate response is no guarantee that the operation is done.
716
+ # @param [String] name
717
+ # The name of the operation resource to wait on.
718
+ # @param [Google::Apis::RunV2::GoogleLongrunningWaitOperationRequest] google_longrunning_wait_operation_request_object
719
+ # @param [String] fields
720
+ # Selector specifying which fields to include in a partial response.
721
+ # @param [String] quota_user
722
+ # Available to use for quota purposes for server-side applications. Can be any
723
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
724
+ # @param [Google::Apis::RequestOptions] options
725
+ # Request-specific options
726
+ #
727
+ # @yield [result, err] Result & error if block supplied
728
+ # @yieldparam result [Google::Apis::RunV2::GoogleLongrunningOperation] parsed result object
729
+ # @yieldparam err [StandardError] error object if request failed
730
+ #
731
+ # @return [Google::Apis::RunV2::GoogleLongrunningOperation]
732
+ #
733
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
734
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
735
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
736
+ def wait_project_location_operation(name, google_longrunning_wait_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
737
+ command = make_simple_command(:post, 'v2/{+name}:wait', options)
738
+ command.request_representation = Google::Apis::RunV2::GoogleLongrunningWaitOperationRequest::Representation
739
+ command.request_object = google_longrunning_wait_operation_request_object
740
+ command.response_representation = Google::Apis::RunV2::GoogleLongrunningOperation::Representation
741
+ command.response_class = Google::Apis::RunV2::GoogleLongrunningOperation
742
+ command.params['name'] = name unless name.nil?
743
+ command.query['fields'] = fields unless fields.nil?
744
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
745
+ execute_or_queue_command(command, &block)
746
+ end
747
+
708
748
  # Creates a new Service in a given project and location.
709
749
  # @param [String] parent
710
750
  # Required. The location and project in which this service should be created.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-run_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.28.0
4
+ version: 0.29.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-08 00:00:00.000000000 Z
11
+ date: 2023-01-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-run_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-run_v2/v0.28.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-run_v2/v0.29.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-run_v2
63
63
  post_install_message:
64
64
  rdoc_options: []