google-apis-run_v1 0.34.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: d4a3f528b93ebfc1687e8c41846ded2da016b3c26616c58b9410e7e9c2baee04
4
- data.tar.gz: fb7ae31ebe6dce44790717a70587e0fed58ec65fb6f5522d034f3fc93d667a21
3
+ metadata.gz: 1fb2b05dc942506676d98040d92f4c9fe3a86561f34a0ad3ed9a5478081abd69
4
+ data.tar.gz: 95ab9a7f2518a011cdc1e4fea759f8cbfd9775b5aedec135c8c1ddd369de43e7
5
5
  SHA512:
6
- metadata.gz: 6767126dc0a8be370ab7d829b45c04155bd9b2b46221ac41bf59da04c2b5e96eb2ebb166a991bb2292adbf137b5c2fbdab8e9d41e8e30b37ff069e73a4de5ded
7
- data.tar.gz: bee36f6b73811839203b9ee33049ae78fb07f630b0775cf951f11b8e2b946e1aa5f3e317aa1615c2df5a339f8a1d3d535688c16e508cc66887ff7da3690b273c
6
+ metadata.gz: 1b2a70fc78da3d8edc28e8f95eabb3733b7154ba660f05925f9e00345c72620c3e1b2485df79f0a78f8b5b67a9bee55774ee66e753a5a769c89810186d5c86b0
7
+ data.tar.gz: 2778c57d43ea1db4af3fbdf148cf0d372a68a0eb5cd359f114ebc3e6ca5db9449b99430e0662202ca9ccbb9f955743f2008c9ee1fd37e937b1bf86f87097fcdf
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.34.0 (2022-08-03)
4
8
 
5
9
  * Regenerated from discovery document revision 20220731
@@ -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
 
@@ -2404,14 +2417,12 @@ module Google
2404
2417
  # @return [Fixnum]
2405
2418
  attr_accessor :failure_threshold
2406
2419
 
2407
- # Not supported by Cloud Run GRPCAction describes an action involving a GRPC
2408
- # port.
2420
+ # GRPCAction describes an action involving a GRPC port.
2409
2421
  # Corresponds to the JSON property `grpc`
2410
2422
  # @return [Google::Apis::RunV1::GrpcAction]
2411
2423
  attr_accessor :grpc
2412
2424
 
2413
- # Not supported by Cloud Run HTTPGetAction describes an action based on HTTP Get
2414
- # requests.
2425
+ # HTTPGetAction describes an action based on HTTP Get requests.
2415
2426
  # Corresponds to the JSON property `httpGet`
2416
2427
  # @return [Google::Apis::RunV1::HttpGetAction]
2417
2428
  attr_accessor :http_get
@@ -2438,8 +2449,7 @@ module Google
2438
2449
  # @return [Fixnum]
2439
2450
  attr_accessor :success_threshold
2440
2451
 
2441
- # Not supported by Cloud Run TCPSocketAction describes an action based on
2442
- # opening a socket
2452
+ # TCPSocketAction describes an action based on opening a socket
2443
2453
  # Corresponds to the JSON property `tcpSocket`
2444
2454
  # @return [Google::Apis::RunV1::TcpSocketAction]
2445
2455
  attr_accessor :tcp_socket
@@ -3427,8 +3437,7 @@ module Google
3427
3437
  end
3428
3438
  end
3429
3439
 
3430
- # Not supported by Cloud Run TCPSocketAction describes an action based on
3431
- # opening a socket
3440
+ # TCPSocketAction describes an action based on opening a socket
3432
3441
  class TcpSocketAction
3433
3442
  include Google::Apis::Core::Hashable
3434
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.34.0"
19
+ GEM_VERSION = "0.35.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220731"
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.34.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-08-08 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.34.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: []