google-apis-run_v2 0.11.0 → 0.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/lib/google/apis/run_v2/classes.rb +23 -83
- data/lib/google/apis/run_v2/gem_version.rb +2 -2
- data/lib/google/apis/run_v2/representations.rb +2 -23
- data/lib/google/apis/run_v2/service.rb +20 -20
- 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: eb358b06a6492aa65677a3903126a8ce66f1382e9ca60f1913cfeb66cfec99d8
|
4
|
+
data.tar.gz: 73c27f4962c73ab05fac799d120e5e5e99cdb5018fb92b08e3ded386010c3ad6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f84e2e149ea27b27e35be9e6a7f9b6019ccaf59656036cebde1dff5fbc3939ed387862a55f7cfc8116680582cad672ccfb1a3f8657a3c90dfdf2f5ad3ff2bd3e
|
7
|
+
data.tar.gz: 2a9d66907d2f99bae11f3fd9529e42a2aa9b2db688c93dd429ea20aaf5ab34eb07d3e5a68ab8e69e7be09d8d9926b4f6ebe1252d28e29631b9a988ac655f9561
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release history for google-apis-run_v2
|
2
2
|
|
3
|
+
### v0.14.0 (2022-05-12)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220506
|
6
|
+
|
7
|
+
### v0.13.0 (2022-05-04)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220429
|
10
|
+
|
11
|
+
### v0.12.0 (2022-04-27)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220422
|
14
|
+
|
3
15
|
### v0.11.0 (2022-04-20)
|
4
16
|
|
5
17
|
* Regenerated from discovery document revision 20220415
|
@@ -34,12 +34,6 @@ module Google
|
|
34
34
|
# @return [String]
|
35
35
|
attr_accessor :breakglass_justification
|
36
36
|
|
37
|
-
# The path to a binary authorization policy. Format: projects/`project`/
|
38
|
-
# platforms/cloudRun/`policy-name`
|
39
|
-
# Corresponds to the JSON property `policy`
|
40
|
-
# @return [String]
|
41
|
-
attr_accessor :policy
|
42
|
-
|
43
37
|
# If True, indicates to use the default project's binary authorization policy.
|
44
38
|
# If False, binary authorization will be disabled.
|
45
39
|
# Corresponds to the JSON property `useDefault`
|
@@ -54,7 +48,6 @@ module Google
|
|
54
48
|
# Update properties of this object
|
55
49
|
def update!(**args)
|
56
50
|
@breakglass_justification = args[:breakglass_justification] if args.key?(:breakglass_justification)
|
57
|
-
@policy = args[:policy] if args.key?(:policy)
|
58
51
|
@use_default = args[:use_default] if args.key?(:use_default)
|
59
52
|
end
|
60
53
|
end
|
@@ -85,21 +78,11 @@ module Google
|
|
85
78
|
class GoogleCloudRunV2Condition
|
86
79
|
include Google::Apis::Core::Hashable
|
87
80
|
|
88
|
-
# A reason for the domain mapping condition.
|
89
|
-
# Corresponds to the JSON property `domainMappingReason`
|
90
|
-
# @return [String]
|
91
|
-
attr_accessor :domain_mapping_reason
|
92
|
-
|
93
81
|
# A reason for the execution condition.
|
94
82
|
# Corresponds to the JSON property `executionReason`
|
95
83
|
# @return [String]
|
96
84
|
attr_accessor :execution_reason
|
97
85
|
|
98
|
-
# A reason for the internal condition.
|
99
|
-
# Corresponds to the JSON property `internalReason`
|
100
|
-
# @return [String]
|
101
|
-
attr_accessor :internal_reason
|
102
|
-
|
103
86
|
# Last time the condition transitioned from one status to another.
|
104
87
|
# Corresponds to the JSON property `lastTransitionTime`
|
105
88
|
# @return [String]
|
@@ -144,9 +127,7 @@ module Google
|
|
144
127
|
|
145
128
|
# Update properties of this object
|
146
129
|
def update!(**args)
|
147
|
-
@domain_mapping_reason = args[:domain_mapping_reason] if args.key?(:domain_mapping_reason)
|
148
130
|
@execution_reason = args[:execution_reason] if args.key?(:execution_reason)
|
149
|
-
@internal_reason = args[:internal_reason] if args.key?(:internal_reason)
|
150
131
|
@last_transition_time = args[:last_transition_time] if args.key?(:last_transition_time)
|
151
132
|
@message = args[:message] if args.key?(:message)
|
152
133
|
@reason = args[:reason] if args.key?(:reason)
|
@@ -192,8 +173,9 @@ module Google
|
|
192
173
|
# @return [Array<Google::Apis::RunV2::GoogleCloudRunV2EnvVar>]
|
193
174
|
attr_accessor :env
|
194
175
|
|
195
|
-
# Required. URL of the Container image in Google Container Registry or
|
196
|
-
# More info: https://kubernetes.io/docs/concepts/containers/
|
176
|
+
# Required. URL of the Container image in Google Container Registry or Google
|
177
|
+
# Artifact Registry. More info: https://kubernetes.io/docs/concepts/containers/
|
178
|
+
# images
|
197
179
|
# Corresponds to the JSON property `image`
|
198
180
|
# @return [String]
|
199
181
|
attr_accessor :image
|
@@ -266,32 +248,6 @@ module Google
|
|
266
248
|
end
|
267
249
|
end
|
268
250
|
|
269
|
-
# ContainerStatus holds the information of container name and image digest value.
|
270
|
-
class GoogleCloudRunV2ContainerStatus
|
271
|
-
include Google::Apis::Core::Hashable
|
272
|
-
|
273
|
-
# ImageDigest holds the resolved digest for the image specified, regardless of
|
274
|
-
# whether a tag or digest was originally specified in the Container object.
|
275
|
-
# Corresponds to the JSON property `imageDigest`
|
276
|
-
# @return [String]
|
277
|
-
attr_accessor :image_digest
|
278
|
-
|
279
|
-
# The name of the container, if specified.
|
280
|
-
# Corresponds to the JSON property `name`
|
281
|
-
# @return [String]
|
282
|
-
attr_accessor :name
|
283
|
-
|
284
|
-
def initialize(**args)
|
285
|
-
update!(**args)
|
286
|
-
end
|
287
|
-
|
288
|
-
# Update properties of this object
|
289
|
-
def update!(**args)
|
290
|
-
@image_digest = args[:image_digest] if args.key?(:image_digest)
|
291
|
-
@name = args[:name] if args.key?(:name)
|
292
|
-
end
|
293
|
-
end
|
294
|
-
|
295
251
|
# EnvVar represents an environment variable present in a Container.
|
296
252
|
class GoogleCloudRunV2EnvVar
|
297
253
|
include Google::Apis::Core::Hashable
|
@@ -652,11 +608,6 @@ module Google
|
|
652
608
|
# @return [Array<Google::Apis::RunV2::GoogleCloudRunV2Condition>]
|
653
609
|
attr_accessor :conditions
|
654
610
|
|
655
|
-
# Output only. Status information for each of the containers specified.
|
656
|
-
# Corresponds to the JSON property `containerStatuses`
|
657
|
-
# @return [Array<Google::Apis::RunV2::GoogleCloudRunV2ContainerStatus>]
|
658
|
-
attr_accessor :container_statuses
|
659
|
-
|
660
611
|
# Output only. The creation time.
|
661
612
|
# Corresponds to the JSON property `createTime`
|
662
613
|
# @return [String]
|
@@ -791,7 +742,6 @@ module Google
|
|
791
742
|
@client = args[:client] if args.key?(:client)
|
792
743
|
@client_version = args[:client_version] if args.key?(:client_version)
|
793
744
|
@conditions = args[:conditions] if args.key?(:conditions)
|
794
|
-
@container_statuses = args[:container_statuses] if args.key?(:container_statuses)
|
795
745
|
@create_time = args[:create_time] if args.key?(:create_time)
|
796
746
|
@creator = args[:creator] if args.key?(:creator)
|
797
747
|
@delete_time = args[:delete_time] if args.key?(:delete_time)
|
@@ -990,17 +940,6 @@ module Google
|
|
990
940
|
# @return [Array<Google::Apis::RunV2::GoogleCloudRunV2Condition>]
|
991
941
|
attr_accessor :conditions
|
992
942
|
|
993
|
-
# Indicates whether Confidential Cloud Run is enabled in this Revision.
|
994
|
-
# Corresponds to the JSON property `confidential`
|
995
|
-
# @return [Boolean]
|
996
|
-
attr_accessor :confidential
|
997
|
-
alias_method :confidential?, :confidential
|
998
|
-
|
999
|
-
# Sets the maximum number of requests that each serving instance can receive.
|
1000
|
-
# Corresponds to the JSON property `containerConcurrency`
|
1001
|
-
# @return [Fixnum]
|
1002
|
-
attr_accessor :container_concurrency
|
1003
|
-
|
1004
943
|
# Holds the single container that defines the unit of execution for this
|
1005
944
|
# Revision.
|
1006
945
|
# Corresponds to the JSON property `containers`
|
@@ -1072,6 +1011,11 @@ module Google
|
|
1072
1011
|
# @return [String]
|
1073
1012
|
attr_accessor :log_uri
|
1074
1013
|
|
1014
|
+
# Sets the maximum number of requests that each serving instance can receive.
|
1015
|
+
# Corresponds to the JSON property `maxInstanceRequestConcurrency`
|
1016
|
+
# @return [Fixnum]
|
1017
|
+
attr_accessor :max_instance_request_concurrency
|
1018
|
+
|
1075
1019
|
# Output only. The unique name of this Revision.
|
1076
1020
|
# Corresponds to the JSON property `name`
|
1077
1021
|
# @return [String]
|
@@ -1147,8 +1091,6 @@ module Google
|
|
1147
1091
|
def update!(**args)
|
1148
1092
|
@annotations = args[:annotations] if args.key?(:annotations)
|
1149
1093
|
@conditions = args[:conditions] if args.key?(:conditions)
|
1150
|
-
@confidential = args[:confidential] if args.key?(:confidential)
|
1151
|
-
@container_concurrency = args[:container_concurrency] if args.key?(:container_concurrency)
|
1152
1094
|
@containers = args[:containers] if args.key?(:containers)
|
1153
1095
|
@create_time = args[:create_time] if args.key?(:create_time)
|
1154
1096
|
@delete_time = args[:delete_time] if args.key?(:delete_time)
|
@@ -1160,6 +1102,7 @@ module Google
|
|
1160
1102
|
@labels = args[:labels] if args.key?(:labels)
|
1161
1103
|
@launch_stage = args[:launch_stage] if args.key?(:launch_stage)
|
1162
1104
|
@log_uri = args[:log_uri] if args.key?(:log_uri)
|
1105
|
+
@max_instance_request_concurrency = args[:max_instance_request_concurrency] if args.key?(:max_instance_request_concurrency)
|
1163
1106
|
@name = args[:name] if args.key?(:name)
|
1164
1107
|
@observed_generation = args[:observed_generation] if args.key?(:observed_generation)
|
1165
1108
|
@reconciling = args[:reconciling] if args.key?(:reconciling)
|
@@ -1209,17 +1152,6 @@ module Google
|
|
1209
1152
|
# @return [Hash<String,String>]
|
1210
1153
|
attr_accessor :annotations
|
1211
1154
|
|
1212
|
-
# Enables Confidential Cloud Run in Revisions created using this template.
|
1213
|
-
# Corresponds to the JSON property `confidential`
|
1214
|
-
# @return [Boolean]
|
1215
|
-
attr_accessor :confidential
|
1216
|
-
alias_method :confidential?, :confidential
|
1217
|
-
|
1218
|
-
# Sets the maximum number of requests that each serving instance can receive.
|
1219
|
-
# Corresponds to the JSON property `containerConcurrency`
|
1220
|
-
# @return [Fixnum]
|
1221
|
-
attr_accessor :container_concurrency
|
1222
|
-
|
1223
1155
|
# Holds the single container that defines the unit of execution for this
|
1224
1156
|
# Revision.
|
1225
1157
|
# Corresponds to the JSON property `containers`
|
@@ -1243,6 +1175,11 @@ module Google
|
|
1243
1175
|
# @return [Hash<String,String>]
|
1244
1176
|
attr_accessor :labels
|
1245
1177
|
|
1178
|
+
# Sets the maximum number of requests that each serving instance can receive.
|
1179
|
+
# Corresponds to the JSON property `maxInstanceRequestConcurrency`
|
1180
|
+
# @return [Fixnum]
|
1181
|
+
attr_accessor :max_instance_request_concurrency
|
1182
|
+
|
1246
1183
|
# The unique name for the revision. If this field is omitted, it will be
|
1247
1184
|
# automatically generated based on the Service name.
|
1248
1185
|
# Corresponds to the JSON property `revision`
|
@@ -1287,12 +1224,11 @@ module Google
|
|
1287
1224
|
# Update properties of this object
|
1288
1225
|
def update!(**args)
|
1289
1226
|
@annotations = args[:annotations] if args.key?(:annotations)
|
1290
|
-
@confidential = args[:confidential] if args.key?(:confidential)
|
1291
|
-
@container_concurrency = args[:container_concurrency] if args.key?(:container_concurrency)
|
1292
1227
|
@containers = args[:containers] if args.key?(:containers)
|
1293
1228
|
@encryption_key = args[:encryption_key] if args.key?(:encryption_key)
|
1294
1229
|
@execution_environment = args[:execution_environment] if args.key?(:execution_environment)
|
1295
1230
|
@labels = args[:labels] if args.key?(:labels)
|
1231
|
+
@max_instance_request_concurrency = args[:max_instance_request_concurrency] if args.key?(:max_instance_request_concurrency)
|
1296
1232
|
@revision = args[:revision] if args.key?(:revision)
|
1297
1233
|
@scaling = args[:scaling] if args.key?(:scaling)
|
1298
1234
|
@service_account = args[:service_account] if args.key?(:service_account)
|
@@ -1483,7 +1419,9 @@ module Google
|
|
1483
1419
|
attr_accessor :expire_time
|
1484
1420
|
|
1485
1421
|
# Output only. A number that monotonically increases every time the user
|
1486
|
-
# modifies the desired state.
|
1422
|
+
# modifies the desired state. Please note that unlike v1, this is an int64 value.
|
1423
|
+
# As with most Google APIs, its JSON representation will be a `string` instead
|
1424
|
+
# of an `integer`.
|
1487
1425
|
# Corresponds to the JSON property `generation`
|
1488
1426
|
# @return [Fixnum]
|
1489
1427
|
attr_accessor :generation
|
@@ -1542,7 +1480,9 @@ module Google
|
|
1542
1480
|
|
1543
1481
|
# Output only. The generation of this Service currently serving traffic. See
|
1544
1482
|
# comments in `reconciling` for additional information on reconciliation process
|
1545
|
-
# in Cloud Run.
|
1483
|
+
# in Cloud Run. Please note that unlike v1, this is an int64 value. As with most
|
1484
|
+
# Google APIs, its JSON representation will be a `string` instead of an `integer`
|
1485
|
+
# .
|
1546
1486
|
# Corresponds to the JSON property `observedGeneration`
|
1547
1487
|
# @return [Fixnum]
|
1548
1488
|
attr_accessor :observed_generation
|
@@ -2201,8 +2141,8 @@ module Google
|
|
2201
2141
|
# "audit_log_configs": [ ` "log_type": "DATA_READ" `, ` "log_type": "DATA_WRITE"
|
2202
2142
|
# , "exempted_members": [ "user:aliya@example.com" ] ` ] ` ] ` For sampleservice,
|
2203
2143
|
# this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also
|
2204
|
-
# exempts jose@example.com from DATA_READ logging, and aliya@example.com
|
2205
|
-
# DATA_WRITE logging.
|
2144
|
+
# exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com`
|
2145
|
+
# from DATA_WRITE logging.
|
2206
2146
|
class GoogleIamV1AuditConfig
|
2207
2147
|
include Google::Apis::Core::Hashable
|
2208
2148
|
|
@@ -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.14.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220506"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -52,12 +52,6 @@ module Google
|
|
52
52
|
include Google::Apis::Core::JsonObjectSupport
|
53
53
|
end
|
54
54
|
|
55
|
-
class GoogleCloudRunV2ContainerStatus
|
56
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
-
|
58
|
-
include Google::Apis::Core::JsonObjectSupport
|
59
|
-
end
|
60
|
-
|
61
55
|
class GoogleCloudRunV2EnvVar
|
62
56
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
57
|
|
@@ -302,7 +296,6 @@ module Google
|
|
302
296
|
# @private
|
303
297
|
class Representation < Google::Apis::Core::JsonRepresentation
|
304
298
|
property :breakglass_justification, as: 'breakglassJustification'
|
305
|
-
property :policy, as: 'policy'
|
306
299
|
property :use_default, as: 'useDefault'
|
307
300
|
end
|
308
301
|
end
|
@@ -317,9 +310,7 @@ module Google
|
|
317
310
|
class GoogleCloudRunV2Condition
|
318
311
|
# @private
|
319
312
|
class Representation < Google::Apis::Core::JsonRepresentation
|
320
|
-
property :domain_mapping_reason, as: 'domainMappingReason'
|
321
313
|
property :execution_reason, as: 'executionReason'
|
322
|
-
property :internal_reason, as: 'internalReason'
|
323
314
|
property :last_transition_time, as: 'lastTransitionTime'
|
324
315
|
property :message, as: 'message'
|
325
316
|
property :reason, as: 'reason'
|
@@ -356,14 +347,6 @@ module Google
|
|
356
347
|
end
|
357
348
|
end
|
358
349
|
|
359
|
-
class GoogleCloudRunV2ContainerStatus
|
360
|
-
# @private
|
361
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
362
|
-
property :image_digest, as: 'imageDigest'
|
363
|
-
property :name, as: 'name'
|
364
|
-
end
|
365
|
-
end
|
366
|
-
|
367
350
|
class GoogleCloudRunV2EnvVar
|
368
351
|
# @private
|
369
352
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -443,8 +426,6 @@ module Google
|
|
443
426
|
property :client_version, as: 'clientVersion'
|
444
427
|
collection :conditions, as: 'conditions', class: Google::Apis::RunV2::GoogleCloudRunV2Condition, decorator: Google::Apis::RunV2::GoogleCloudRunV2Condition::Representation
|
445
428
|
|
446
|
-
collection :container_statuses, as: 'containerStatuses', class: Google::Apis::RunV2::GoogleCloudRunV2ContainerStatus, decorator: Google::Apis::RunV2::GoogleCloudRunV2ContainerStatus::Representation
|
447
|
-
|
448
429
|
property :create_time, as: 'createTime'
|
449
430
|
property :creator, as: 'creator'
|
450
431
|
property :delete_time, as: 'deleteTime'
|
@@ -528,8 +509,6 @@ module Google
|
|
528
509
|
hash :annotations, as: 'annotations'
|
529
510
|
collection :conditions, as: 'conditions', class: Google::Apis::RunV2::GoogleCloudRunV2Condition, decorator: Google::Apis::RunV2::GoogleCloudRunV2Condition::Representation
|
530
511
|
|
531
|
-
property :confidential, as: 'confidential'
|
532
|
-
property :container_concurrency, as: 'containerConcurrency'
|
533
512
|
collection :containers, as: 'containers', class: Google::Apis::RunV2::GoogleCloudRunV2Container, decorator: Google::Apis::RunV2::GoogleCloudRunV2Container::Representation
|
534
513
|
|
535
514
|
property :create_time, as: 'createTime'
|
@@ -542,6 +521,7 @@ module Google
|
|
542
521
|
hash :labels, as: 'labels'
|
543
522
|
property :launch_stage, as: 'launchStage'
|
544
523
|
property :log_uri, as: 'logUri'
|
524
|
+
property :max_instance_request_concurrency, as: 'maxInstanceRequestConcurrency'
|
545
525
|
property :name, as: 'name'
|
546
526
|
property :observed_generation, :numeric_string => true, as: 'observedGeneration'
|
547
527
|
property :reconciling, as: 'reconciling'
|
@@ -571,13 +551,12 @@ module Google
|
|
571
551
|
# @private
|
572
552
|
class Representation < Google::Apis::Core::JsonRepresentation
|
573
553
|
hash :annotations, as: 'annotations'
|
574
|
-
property :confidential, as: 'confidential'
|
575
|
-
property :container_concurrency, as: 'containerConcurrency'
|
576
554
|
collection :containers, as: 'containers', class: Google::Apis::RunV2::GoogleCloudRunV2Container, decorator: Google::Apis::RunV2::GoogleCloudRunV2Container::Representation
|
577
555
|
|
578
556
|
property :encryption_key, as: 'encryptionKey'
|
579
557
|
property :execution_environment, as: 'executionEnvironment'
|
580
558
|
hash :labels, as: 'labels'
|
559
|
+
property :max_instance_request_concurrency, as: 'maxInstanceRequestConcurrency'
|
581
560
|
property :revision, as: 'revision'
|
582
561
|
property :scaling, as: 'scaling', class: Google::Apis::RunV2::GoogleCloudRunV2RevisionScaling, decorator: Google::Apis::RunV2::GoogleCloudRunV2RevisionScaling::Representation
|
583
562
|
|
@@ -173,8 +173,9 @@ module Google
|
|
173
173
|
# Get the IAM Access Control policy currently in effect for the given Job. This
|
174
174
|
# result does not include any inherited policies.
|
175
175
|
# @param [String] resource
|
176
|
-
# REQUIRED: The resource for which the policy is being requested. See
|
177
|
-
#
|
176
|
+
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
177
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
178
|
+
# appropriate value for this field.
|
178
179
|
# @param [Fixnum] options_requested_policy_version
|
179
180
|
# Optional. The maximum policy version that will be used to format the policy.
|
180
181
|
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
@@ -264,8 +265,6 @@ module Google
|
|
264
265
|
# If set to true, and if the Job does not exist, it will create a new one.
|
265
266
|
# Caller must have both create and update permissions for this call if this is
|
266
267
|
# set to true.
|
267
|
-
# @param [String] update_mask
|
268
|
-
# The list of fields to be updated.
|
269
268
|
# @param [Boolean] validate_only
|
270
269
|
# Indicates that the request should be validated and default values populated,
|
271
270
|
# without persisting the request or updating any resources.
|
@@ -286,7 +285,7 @@ module Google
|
|
286
285
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
287
286
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
288
287
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
289
|
-
def patch_project_location_job(name, google_cloud_run_v2_job_object = nil, allow_missing: nil,
|
288
|
+
def patch_project_location_job(name, google_cloud_run_v2_job_object = nil, allow_missing: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
|
290
289
|
command = make_simple_command(:patch, 'v2/{+name}', options)
|
291
290
|
command.request_representation = Google::Apis::RunV2::GoogleCloudRunV2Job::Representation
|
292
291
|
command.request_object = google_cloud_run_v2_job_object
|
@@ -294,7 +293,6 @@ module Google
|
|
294
293
|
command.response_class = Google::Apis::RunV2::GoogleLongrunningOperation
|
295
294
|
command.params['name'] = name unless name.nil?
|
296
295
|
command.query['allowMissing'] = allow_missing unless allow_missing.nil?
|
297
|
-
command.query['updateMask'] = update_mask unless update_mask.nil?
|
298
296
|
command.query['validateOnly'] = validate_only unless validate_only.nil?
|
299
297
|
command.query['fields'] = fields unless fields.nil?
|
300
298
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -338,8 +336,9 @@ module Google
|
|
338
336
|
# Sets the IAM Access control policy for the specified Job. Overwrites any
|
339
337
|
# existing policy.
|
340
338
|
# @param [String] resource
|
341
|
-
# REQUIRED: The resource for which the policy is being specified. See
|
342
|
-
#
|
339
|
+
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
340
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
341
|
+
# appropriate value for this field.
|
343
342
|
# @param [Google::Apis::RunV2::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
|
344
343
|
# @param [String] fields
|
345
344
|
# Selector specifying which fields to include in a partial response.
|
@@ -373,8 +372,9 @@ module Google
|
|
373
372
|
# Returns permissions that a caller has on the specified Project. There are no
|
374
373
|
# permissions required for making this API call.
|
375
374
|
# @param [String] resource
|
376
|
-
# REQUIRED: The resource for which the policy detail is being requested. See
|
377
|
-
#
|
375
|
+
# REQUIRED: The resource for which the policy detail is being requested. See [
|
376
|
+
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
377
|
+
# appropriate value for this field.
|
378
378
|
# @param [Google::Apis::RunV2::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
|
379
379
|
# @param [String] fields
|
380
380
|
# Selector specifying which fields to include in a partial response.
|
@@ -823,8 +823,9 @@ module Google
|
|
823
823
|
# Get the IAM Access Control policy currently in effect for the given Cloud Run
|
824
824
|
# Service. This result does not include any inherited policies.
|
825
825
|
# @param [String] resource
|
826
|
-
# REQUIRED: The resource for which the policy is being requested. See
|
827
|
-
#
|
826
|
+
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
827
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
828
|
+
# appropriate value for this field.
|
828
829
|
# @param [Fixnum] options_requested_policy_version
|
829
830
|
# Optional. The maximum policy version that will be used to format the policy.
|
830
831
|
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
@@ -917,8 +918,6 @@ module Google
|
|
917
918
|
# If set to true, and if the Service does not exist, it will create a new one.
|
918
919
|
# Caller must have both create and update permissions for this call if this is
|
919
920
|
# set to true.
|
920
|
-
# @param [String] update_mask
|
921
|
-
# The list of fields to be updated.
|
922
921
|
# @param [Boolean] validate_only
|
923
922
|
# Indicates that the request should be validated and default values populated,
|
924
923
|
# without persisting the request or updating any resources.
|
@@ -939,7 +938,7 @@ module Google
|
|
939
938
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
940
939
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
941
940
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
942
|
-
def patch_project_location_service(name, google_cloud_run_v2_service_object = nil, allow_missing: nil,
|
941
|
+
def patch_project_location_service(name, google_cloud_run_v2_service_object = nil, allow_missing: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
|
943
942
|
command = make_simple_command(:patch, 'v2/{+name}', options)
|
944
943
|
command.request_representation = Google::Apis::RunV2::GoogleCloudRunV2Service::Representation
|
945
944
|
command.request_object = google_cloud_run_v2_service_object
|
@@ -947,7 +946,6 @@ module Google
|
|
947
946
|
command.response_class = Google::Apis::RunV2::GoogleLongrunningOperation
|
948
947
|
command.params['name'] = name unless name.nil?
|
949
948
|
command.query['allowMissing'] = allow_missing unless allow_missing.nil?
|
950
|
-
command.query['updateMask'] = update_mask unless update_mask.nil?
|
951
949
|
command.query['validateOnly'] = validate_only unless validate_only.nil?
|
952
950
|
command.query['fields'] = fields unless fields.nil?
|
953
951
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -957,8 +955,9 @@ module Google
|
|
957
955
|
# Sets the IAM Access control policy for the specified Service. Overwrites any
|
958
956
|
# existing policy.
|
959
957
|
# @param [String] resource
|
960
|
-
# REQUIRED: The resource for which the policy is being specified. See
|
961
|
-
#
|
958
|
+
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
959
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
960
|
+
# appropriate value for this field.
|
962
961
|
# @param [Google::Apis::RunV2::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
|
963
962
|
# @param [String] fields
|
964
963
|
# Selector specifying which fields to include in a partial response.
|
@@ -992,8 +991,9 @@ module Google
|
|
992
991
|
# Returns permissions that a caller has on the specified Project. There are no
|
993
992
|
# permissions required for making this API call.
|
994
993
|
# @param [String] resource
|
995
|
-
# REQUIRED: The resource for which the policy detail is being requested. See
|
996
|
-
#
|
994
|
+
# REQUIRED: The resource for which the policy detail is being requested. See [
|
995
|
+
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
996
|
+
# appropriate value for this field.
|
997
997
|
# @param [Google::Apis::RunV2::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
|
998
998
|
# @param [String] fields
|
999
999
|
# Selector specifying which fields to include in a partial response.
|
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.14.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-
|
11
|
+
date: 2022-05-16 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.14.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: []
|