google-apis-run_v1 0.32.0 → 0.35.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: d0e55169191d7edc323e7f6f38d8e74d1a9f7aea1af7134f4efacbea08c31c42
4
- data.tar.gz: 915a9edfabd780ccf95db37d4c95d622b8931fedc9379ace04e390a551f574f9
3
+ metadata.gz: 1fb2b05dc942506676d98040d92f4c9fe3a86561f34a0ad3ed9a5478081abd69
4
+ data.tar.gz: 95ab9a7f2518a011cdc1e4fea759f8cbfd9775b5aedec135c8c1ddd369de43e7
5
5
  SHA512:
6
- metadata.gz: ac75d0ddffe9642f597bce5c2d3d023b9cb375836026ae1e64e69146b31483b9cdba8afbb5280532e09ac42bc3047639d3c4ea000d4a5f81cbeb607d38ddbafd
7
- data.tar.gz: 914975e2ad9751a04b9419c9d21f38e733186b682b9ef1fca0877627d99227cb021135284f18cff658956b590f5666ebff423f8234f83491d2dab5884ac38b43
6
+ metadata.gz: 1b2a70fc78da3d8edc28e8f95eabb3733b7154ba660f05925f9e00345c72620c3e1b2485df79f0a78f8b5b67a9bee55774ee66e753a5a769c89810186d5c86b0
7
+ data.tar.gz: 2778c57d43ea1db4af3fbdf148cf0d372a68a0eb5cd359f114ebc3e6ca5db9449b99430e0662202ca9ccbb9f955743f2008c9ee1fd37e937b1bf86f87097fcdf
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-run_v1
2
2
 
3
+ ### v0.35.0 (2022-08-10)
4
+
5
+ * Regenerated from discovery document revision 20220807
6
+
7
+ ### v0.34.0 (2022-08-03)
8
+
9
+ * Regenerated from discovery document revision 20220731
10
+
11
+ ### v0.33.0 (2022-07-13)
12
+
13
+ * Regenerated from discovery document revision 20220710
14
+ * Regenerated using generator version 0.9.0
15
+
3
16
  ### v0.32.0 (2022-06-30)
4
17
 
5
18
  * Regenerated using generator version 0.8.0
@@ -170,25 +170,28 @@ module Google
170
170
  # anyone who is authenticated with a Google account or a service account. * `
171
171
  # user:`emailid``: An email address that represents a specific Google account.
172
172
  # For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
173
- # address that represents a service account. For example, `my-other-app@appspot.
174
- # gserviceaccount.com`. * `group:`emailid``: An email address that represents a
175
- # Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid=
176
- # `uniqueid``: An email address (plus unique identifier) representing a user
177
- # that has been recently deleted. For example, `alice@example.com?uid=
178
- # 123456789012345678901`. If the user is recovered, this value reverts to `user:`
179
- # emailid`` and the recovered user retains the role in the binding. * `deleted:
180
- # serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique
181
- # identifier) representing a service account that has been recently deleted. For
182
- # example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
183
- # If the service account is undeleted, this value reverts to `serviceAccount:`
184
- # emailid`` and the undeleted service account retains the role in the binding. *
185
- # `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
186
- # identifier) representing a Google group that has been recently deleted. For
187
- # example, `admins@example.com?uid=123456789012345678901`. If the group is
188
- # recovered, this value reverts to `group:`emailid`` and the recovered group
189
- # retains the role in the binding. * `domain:`domain``: The G Suite domain (
190
- # primary) that represents all the users of that domain. For example, `google.
191
- # com` or `example.com`.
173
+ # address that represents a Google service account. For example, `my-other-app@
174
+ # appspot.gserviceaccount.com`. * `serviceAccount:`projectid`.svc.id.goog[`
175
+ # namespace`/`kubernetes-sa`]`: An identifier for a [Kubernetes service account](
176
+ # https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-
177
+ # accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`
178
+ # . * `group:`emailid``: An email address that represents a Google group. For
179
+ # example, `admins@example.com`. * `deleted:user:`emailid`?uid=`uniqueid``: An
180
+ # email address (plus unique identifier) representing a user that has been
181
+ # recently deleted. For example, `alice@example.com?uid=123456789012345678901`.
182
+ # If the user is recovered, this value reverts to `user:`emailid`` and the
183
+ # recovered user retains the role in the binding. * `deleted:serviceAccount:`
184
+ # emailid`?uid=`uniqueid``: An email address (plus unique identifier)
185
+ # representing a service account that has been recently deleted. For example, `
186
+ # my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the
187
+ # service account is undeleted, this value reverts to `serviceAccount:`emailid``
188
+ # and the undeleted service account retains the role in the binding. * `deleted:
189
+ # group:`emailid`?uid=`uniqueid``: An email address (plus unique identifier)
190
+ # representing a Google group that has been recently deleted. For example, `
191
+ # admins@example.com?uid=123456789012345678901`. If the group is recovered, this
192
+ # value reverts to `group:`emailid`` and the recovered group retains the role in
193
+ # the binding. * `domain:`domain``: The G Suite domain (primary) that represents
194
+ # all the users of that domain. For example, `google.com` or `example.com`.
192
195
  # Corresponds to the JSON property `members`
193
196
  # @return [Array<String>]
194
197
  attr_accessor :members
@@ -211,6 +214,19 @@ module Google
211
214
  end
212
215
  end
213
216
 
217
+ # Request message for cancelling an execution.
218
+ class CancelExecutionRequest
219
+ include Google::Apis::Core::Hashable
220
+
221
+ def initialize(**args)
222
+ update!(**args)
223
+ end
224
+
225
+ # Update properties of this object
226
+ def update!(**args)
227
+ end
228
+ end
229
+
214
230
  # Not supported by Cloud Run ConfigMapEnvSource selects a ConfigMap to populate
215
231
  # the environment variables with. The contents of the target ConfigMap's Data
216
232
  # field will represent the key-value pairs as environment variables.
@@ -1193,8 +1209,7 @@ module Google
1193
1209
  end
1194
1210
  end
1195
1211
 
1196
- # Not supported by Cloud Run GRPCAction describes an action involving a GRPC
1197
- # port.
1212
+ # GRPCAction describes an action involving a GRPC port.
1198
1213
  class GrpcAction
1199
1214
  include Google::Apis::Core::Hashable
1200
1215
 
@@ -1313,8 +1328,7 @@ module Google
1313
1328
  end
1314
1329
  end
1315
1330
 
1316
- # Not supported by Cloud Run HTTPGetAction describes an action based on HTTP Get
1317
- # requests.
1331
+ # HTTPGetAction describes an action based on HTTP Get requests.
1318
1332
  class HttpGetAction
1319
1333
  include Google::Apis::Core::Hashable
1320
1334
 
@@ -1352,8 +1366,7 @@ module Google
1352
1366
  end
1353
1367
  end
1354
1368
 
1355
- # Not supported by Cloud Run HTTPHeader describes a custom header to be used in
1356
- # HTTP probes
1369
+ # HTTPHeader describes a custom header to be used in HTTP probes
1357
1370
  class HttpHeader
1358
1371
  include Google::Apis::Core::Hashable
1359
1372
 
@@ -2160,8 +2173,9 @@ module Google
2160
2173
  # when creating resources, although some resources may allow a client to request
2161
2174
  # the generation of an appropriate name automatically. Name is primarily
2162
2175
  # intended for creation idempotence and configuration definition. Cannot be
2163
- # updated. More info: https://kubernetes.io/docs/user-guide/identifiers#names +
2164
- # optional
2176
+ # updated. More info: https://kubernetes.io/docs/user-guide/identifiers#names If
2177
+ # ObjectMeta is part of a namespaces.services.create request, name must contain
2178
+ # fewer than 50 characters. +optional
2165
2179
  # Corresponds to the JSON property `name`
2166
2180
  # @return [String]
2167
2181
  attr_accessor :name
@@ -2403,14 +2417,12 @@ module Google
2403
2417
  # @return [Fixnum]
2404
2418
  attr_accessor :failure_threshold
2405
2419
 
2406
- # Not supported by Cloud Run GRPCAction describes an action involving a GRPC
2407
- # port.
2420
+ # GRPCAction describes an action involving a GRPC port.
2408
2421
  # Corresponds to the JSON property `grpc`
2409
2422
  # @return [Google::Apis::RunV1::GrpcAction]
2410
2423
  attr_accessor :grpc
2411
2424
 
2412
- # Not supported by Cloud Run HTTPGetAction describes an action based on HTTP Get
2413
- # requests.
2425
+ # HTTPGetAction describes an action based on HTTP Get requests.
2414
2426
  # Corresponds to the JSON property `httpGet`
2415
2427
  # @return [Google::Apis::RunV1::HttpGetAction]
2416
2428
  attr_accessor :http_get
@@ -2437,8 +2449,7 @@ module Google
2437
2449
  # @return [Fixnum]
2438
2450
  attr_accessor :success_threshold
2439
2451
 
2440
- # Not supported by Cloud Run TCPSocketAction describes an action based on
2441
- # opening a socket
2452
+ # TCPSocketAction describes an action based on opening a socket
2442
2453
  # Corresponds to the JSON property `tcpSocket`
2443
2454
  # @return [Google::Apis::RunV1::TcpSocketAction]
2444
2455
  attr_accessor :tcp_socket
@@ -2976,7 +2987,7 @@ module Google
2976
2987
 
2977
2988
  # Integer representation of mode bits to use on created files by default. Must
2978
2989
  # be a value between 01 and 0777 (octal). If 0 or not set, it will default to
2979
- # 0644. Directories within the path are not affected by this setting. Notes *
2990
+ # 0444. Directories within the path are not affected by this setting. Notes *
2980
2991
  # Internally, a umask of 0222 will be applied to any non-zero value. * This is
2981
2992
  # an integer representation of the mode bits. So, the octal integer value should
2982
2993
  # look exactly as the chmod numeric notation with a leading zero. Some examples:
@@ -3426,8 +3437,7 @@ module Google
3426
3437
  end
3427
3438
  end
3428
3439
 
3429
- # Not supported by Cloud Run TCPSocketAction describes an action based on
3430
- # opening a socket
3440
+ # TCPSocketAction describes an action based on opening a socket
3431
3441
  class TcpSocketAction
3432
3442
  include Google::Apis::Core::Hashable
3433
3443
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module RunV1
18
18
  # Version of the google-apis-run_v1 gem
19
- GEM_VERSION = "0.32.0"
19
+ GEM_VERSION = "0.35.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.8.0"
22
+ GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220617"
25
+ REVISION = "20220807"
26
26
  end
27
27
  end
28
28
  end
@@ -52,6 +52,12 @@ module Google
52
52
  include Google::Apis::Core::JsonObjectSupport
53
53
  end
54
54
 
55
+ class CancelExecutionRequest
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
55
61
  class ConfigMapEnvSource
56
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
63
 
@@ -568,6 +574,12 @@ module Google
568
574
  end
569
575
  end
570
576
 
577
+ class CancelExecutionRequest
578
+ # @private
579
+ class Representation < Google::Apis::Core::JsonRepresentation
580
+ end
581
+ end
582
+
571
583
  class ConfigMapEnvSource
572
584
  # @private
573
585
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -352,6 +352,41 @@ module Google
352
352
  execute_or_queue_command(command, &block)
353
353
  end
354
354
 
355
+ # Cancel an execution.
356
+ # @param [String] name
357
+ # Required. The name of the execution to cancel. Replace `namespace` with the
358
+ # project ID or number. It takes the form namespaces/`namespace`. For example:
359
+ # namespaces/PROJECT_ID
360
+ # @param [Google::Apis::RunV1::CancelExecutionRequest] cancel_execution_request_object
361
+ # @param [String] fields
362
+ # Selector specifying which fields to include in a partial response.
363
+ # @param [String] quota_user
364
+ # Available to use for quota purposes for server-side applications. Can be any
365
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
366
+ # @param [Google::Apis::RequestOptions] options
367
+ # Request-specific options
368
+ #
369
+ # @yield [result, err] Result & error if block supplied
370
+ # @yieldparam result [Google::Apis::RunV1::Execution] parsed result object
371
+ # @yieldparam err [StandardError] error object if request failed
372
+ #
373
+ # @return [Google::Apis::RunV1::Execution]
374
+ #
375
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
376
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
377
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
378
+ def cancel_execution(name, cancel_execution_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
379
+ command = make_simple_command(:post, 'apis/run.googleapis.com/v1/{+name}:cancel', options)
380
+ command.request_representation = Google::Apis::RunV1::CancelExecutionRequest::Representation
381
+ command.request_object = cancel_execution_request_object
382
+ command.response_representation = Google::Apis::RunV1::Execution::Representation
383
+ command.response_class = Google::Apis::RunV1::Execution
384
+ command.params['name'] = name unless name.nil?
385
+ command.query['fields'] = fields unless fields.nil?
386
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
387
+ execute_or_queue_command(command, &block)
388
+ end
389
+
355
390
  # Delete an execution.
356
391
  # @param [String] name
357
392
  # Required. The name of the execution to delete. Replace `namespace` with the
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-run_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.32.0
4
+ version: 0.35.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: 2022-07-04 00:00:00.000000000 Z
11
+ date: 2022-08-15 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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-run_v1/v0.32.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-run_v1/v0.35.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-run_v1
63
63
  post_install_message:
64
64
  rdoc_options: []