google-apis-run_v2 0.28.0 → 0.30.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/run_v2/classes.rb +24 -3
- data/lib/google/apis/run_v2/gem_version.rb +2 -2
- data/lib/google/apis/run_v2/representations.rb +13 -0
- data/lib/google/apis/run_v2/service.rb +40 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: edece6803dd7e6164e8b8710ec130df162f3ae4c946d2b28ce9b6a08fe3955bf
|
4
|
+
data.tar.gz: 694914d3a8de8eb341d7b8ee8cd8cd3fb22ce92f6f1b8517a612d6ed8a66a9e1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2fd7ef5fde1bbbe8202df278e3e6d90091eb4b7ee80df707cf84363594a9002fd521d8ce253e68526a99ec7d02da7e8eca6dc98ec9b659ad525b3766d125131a
|
7
|
+
data.tar.gz: b53dbbbc587d02d7c69018363b71590e262431c9c98cf4ca622339fd7229e5589876df6da3b5a1c6c73276b2668c33dd5b286350b90c0daffa5bf00b2efee3a4
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-run_v2
|
2
2
|
|
3
|
+
### v0.30.0 (2023-01-29)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230122
|
6
|
+
|
7
|
+
### v0.29.0 (2023-01-22)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230113
|
10
|
+
|
3
11
|
### v0.28.0 (2023-01-08)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230102
|
@@ -175,9 +175,9 @@ module Google
|
|
175
175
|
# @return [Array<Google::Apis::RunV2::GoogleCloudRunV2EnvVar>]
|
176
176
|
attr_accessor :env
|
177
177
|
|
178
|
-
# Required.
|
179
|
-
#
|
180
|
-
# images
|
178
|
+
# Required. Name of the container image in Dockerhub, Google Artifact Registry,
|
179
|
+
# or Google Container Registry. If the host is not provided, Dockerhub is
|
180
|
+
# assumed. More info: https://kubernetes.io/docs/concepts/containers/images
|
181
181
|
# Corresponds to the JSON property `image`
|
182
182
|
# @return [String]
|
183
183
|
attr_accessor :image
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.30.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 = "
|
25
|
+
REVISION = "20230122"
|
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.
|
4
|
+
version: 0.30.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-
|
11
|
+
date: 2023-01-29 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-run_v2/v0.30.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: []
|