google-apis-run_v1 0.48.0 → 0.50.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 +8 -0
- data/lib/google/apis/run_v1/classes.rb +130 -96
- data/lib/google/apis/run_v1/gem_version.rb +2 -2
- data/lib/google/apis/run_v1/representations.rb +34 -0
- data/lib/google/apis/run_v1/service.rb +23 -27
- 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: 9ec18b9cfb10ccea43b0f8efa3fc7a8ab81dc17808b623fd8754f4c274bab2df
|
4
|
+
data.tar.gz: 9a9b0abf3bbe09c5d5724f69970701a81231bf42b55672412c37558b7c78ef04
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 59289c22eb15e317bcabb12fb6ef74c425a319402499a4bd13890e2520b15e20b2302a396db753d5c4b56f8874f70171c55ebfd6a12dee2103ba17faa2eaa335
|
7
|
+
data.tar.gz: '03833ee0c6710ee78c9b39e7cd2321feaaa1800ac14cae97e0495de8349748aede9a244e0d7bedb86f38544dbf29f879be800e76c7ffb989dad85f980002884b'
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-run_v1
|
2
2
|
|
3
|
+
### v0.50.0 (2023-04-23)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230416
|
6
|
+
|
7
|
+
### v0.49.0 (2023-04-16)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230409
|
10
|
+
|
3
11
|
### v0.48.0 (2023-03-26)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230305
|
@@ -363,8 +363,7 @@ module Google
|
|
363
363
|
# and optionally how the containers those revisions reference are built. Users
|
364
364
|
# create new Revisions by updating the Configuration's spec. The "latest created"
|
365
365
|
# revision's name is available under status, as is the "latest ready" revision'
|
366
|
-
# s name.
|
367
|
-
# overview.md#configuration
|
366
|
+
# s name.
|
368
367
|
class Configuration
|
369
368
|
include Google::Apis::Core::Hashable
|
370
369
|
|
@@ -416,8 +415,7 @@ module Google
|
|
416
415
|
include Google::Apis::Core::Hashable
|
417
416
|
|
418
417
|
# RevisionTemplateSpec describes the data a revision should have when created
|
419
|
-
# from a template.
|
420
|
-
# core/v1/types.go#L3179-L3190
|
418
|
+
# from a template.
|
421
419
|
# Corresponds to the JSON property `template`
|
422
420
|
# @return [Google::Apis::RunV1::RevisionTemplate]
|
423
421
|
attr_accessor :template
|
@@ -512,14 +510,13 @@ module Google
|
|
512
510
|
|
513
511
|
# Required. Name of the container image in Dockerhub, Google Artifact Registry,
|
514
512
|
# or Google Container Registry. If the host is not provided, Dockerhub is
|
515
|
-
# assumed.
|
513
|
+
# assumed.
|
516
514
|
# Corresponds to the JSON property `image`
|
517
515
|
# @return [String]
|
518
516
|
attr_accessor :image
|
519
517
|
|
520
518
|
# Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :
|
521
|
-
# latest tag is specified, or IfNotPresent otherwise.
|
522
|
-
# kubernetes.io/docs/concepts/containers/images#updating-images
|
519
|
+
# latest tag is specified, or IfNotPresent otherwise.
|
523
520
|
# Corresponds to the JSON property `imagePullPolicy`
|
524
521
|
# @return [String]
|
525
522
|
attr_accessor :image_pull_policy
|
@@ -530,9 +527,7 @@ module Google
|
|
530
527
|
# @return [Google::Apis::RunV1::Probe]
|
531
528
|
attr_accessor :liveness_probe
|
532
529
|
|
533
|
-
# Name of the container specified as a DNS_LABEL (RFC 1123).
|
534
|
-
# kubernetes.io/docs/concepts/overview/working-with-objects/names/#dns-label-
|
535
|
-
# names
|
530
|
+
# Name of the container specified as a DNS_LABEL (RFC 1123).
|
536
531
|
# Corresponds to the JSON property `name`
|
537
532
|
# @return [String]
|
538
533
|
attr_accessor :name
|
@@ -629,6 +624,38 @@ module Google
|
|
629
624
|
end
|
630
625
|
end
|
631
626
|
|
627
|
+
# Per container override specification.
|
628
|
+
class ContainerOverride
|
629
|
+
include Google::Apis::Core::Hashable
|
630
|
+
|
631
|
+
# Arguments to the entrypoint. Will replace existing args for override.
|
632
|
+
# Corresponds to the JSON property `args`
|
633
|
+
# @return [Array<String>]
|
634
|
+
attr_accessor :args
|
635
|
+
|
636
|
+
# List of environment variables to set in the container. Will be merged with
|
637
|
+
# existing env for override.
|
638
|
+
# Corresponds to the JSON property `env`
|
639
|
+
# @return [Array<Google::Apis::RunV1::EnvVar>]
|
640
|
+
attr_accessor :env
|
641
|
+
|
642
|
+
# The name of the container specified as a DNS_LABEL.
|
643
|
+
# Corresponds to the JSON property `name`
|
644
|
+
# @return [String]
|
645
|
+
attr_accessor :name
|
646
|
+
|
647
|
+
def initialize(**args)
|
648
|
+
update!(**args)
|
649
|
+
end
|
650
|
+
|
651
|
+
# Update properties of this object
|
652
|
+
def update!(**args)
|
653
|
+
@args = args[:args] if args.key?(:args)
|
654
|
+
@env = args[:env] if args.key?(:env)
|
655
|
+
@name = args[:name] if args.key?(:name)
|
656
|
+
end
|
657
|
+
end
|
658
|
+
|
632
659
|
# ContainerPort represents a network port in a single container.
|
633
660
|
class ContainerPort
|
634
661
|
include Google::Apis::Core::Hashable
|
@@ -919,16 +946,14 @@ module Google
|
|
919
946
|
|
920
947
|
# Optional. APIVersion defines the versioned schema of this representation of an
|
921
948
|
# object. Servers should convert recognized schemas to the latest internal value,
|
922
|
-
# and may reject unrecognized values.
|
923
|
-
# contributors/devel/sig-architecture/api-conventions.md#resources
|
949
|
+
# and may reject unrecognized values.
|
924
950
|
# Corresponds to the JSON property `apiVersion`
|
925
951
|
# @return [String]
|
926
952
|
attr_accessor :api_version
|
927
953
|
|
928
954
|
# Optional. Kind is a string value representing the REST resource this object
|
929
955
|
# represents. Servers may infer this from the endpoint the client submits
|
930
|
-
# requests to. Cannot be updated. In CamelCase.
|
931
|
-
# community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
956
|
+
# requests to. Cannot be updated. In CamelCase.
|
932
957
|
# Corresponds to the JSON property `kind`
|
933
958
|
# @return [String]
|
934
959
|
attr_accessor :kind
|
@@ -1118,8 +1143,7 @@ module Google
|
|
1118
1143
|
end
|
1119
1144
|
|
1120
1145
|
# ExecutionTemplateSpec describes the metadata and spec an Execution should have
|
1121
|
-
# when created from a job.
|
1122
|
-
# e771f807/core/v1/types.go#L3179-L3190
|
1146
|
+
# when created from a job.
|
1123
1147
|
class ExecutionTemplateSpec
|
1124
1148
|
include Google::Apis::Core::Hashable
|
1125
1149
|
|
@@ -1208,9 +1232,8 @@ module Google
|
|
1208
1232
|
# @return [Fixnum]
|
1209
1233
|
attr_accessor :port
|
1210
1234
|
|
1211
|
-
# Service is the name of the service to place in the gRPC HealthCheckRequest
|
1212
|
-
#
|
1213
|
-
# is not specified, the default behavior is defined by gRPC.
|
1235
|
+
# Service is the name of the service to place in the gRPC HealthCheckRequest. If
|
1236
|
+
# this is not specified, the default behavior is defined by gRPC.
|
1214
1237
|
# Corresponds to the JSON property `service`
|
1215
1238
|
# @return [String]
|
1216
1239
|
attr_accessor :service
|
@@ -1264,10 +1287,9 @@ module Google
|
|
1264
1287
|
# @return [String]
|
1265
1288
|
attr_accessor :status
|
1266
1289
|
|
1267
|
-
# type is used to communicate the status of the reconciliation process.
|
1268
|
-
#
|
1269
|
-
#
|
1270
|
-
# Completed": True when the Resource is ready.
|
1290
|
+
# type is used to communicate the status of the reconciliation process. Types
|
1291
|
+
# common to all resources include: * "Ready" or "Completed": True when the
|
1292
|
+
# Resource is ready.
|
1271
1293
|
# Corresponds to the JSON property `type`
|
1272
1294
|
# @return [String]
|
1273
1295
|
attr_accessor :type
|
@@ -1401,16 +1423,14 @@ module Google
|
|
1401
1423
|
|
1402
1424
|
# Optional. APIVersion defines the versioned schema of this representation of an
|
1403
1425
|
# object. Servers should convert recognized schemas to the latest internal value,
|
1404
|
-
# and may reject unrecognized values.
|
1405
|
-
# contributors/devel/sig-architecture/api-conventions.md#resources
|
1426
|
+
# and may reject unrecognized values.
|
1406
1427
|
# Corresponds to the JSON property `apiVersion`
|
1407
1428
|
# @return [String]
|
1408
1429
|
attr_accessor :api_version
|
1409
1430
|
|
1410
1431
|
# Optional. Kind is a string value representing the REST resource this object
|
1411
1432
|
# represents. Servers may infer this from the endpoint the client submits
|
1412
|
-
# requests to. Cannot be updated. In CamelCase.
|
1413
|
-
# community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
1433
|
+
# requests to. Cannot be updated. In CamelCase.
|
1414
1434
|
# Corresponds to the JSON property `kind`
|
1415
1435
|
# @return [String]
|
1416
1436
|
attr_accessor :kind
|
@@ -1450,8 +1470,7 @@ module Google
|
|
1450
1470
|
include Google::Apis::Core::Hashable
|
1451
1471
|
|
1452
1472
|
# ExecutionTemplateSpec describes the metadata and spec an Execution should have
|
1453
|
-
# when created from a job.
|
1454
|
-
# e771f807/core/v1/types.go#L3179-L3190
|
1473
|
+
# when created from a job.
|
1455
1474
|
# Corresponds to the JSON property `template`
|
1456
1475
|
# @return [Google::Apis::RunV1::ExecutionTemplateSpec]
|
1457
1476
|
attr_accessor :template
|
@@ -1789,9 +1808,7 @@ module Google
|
|
1789
1808
|
|
1790
1809
|
# Opaque string that identifies the server's internal version of this object. It
|
1791
1810
|
# can be used by clients to determine when objects have changed. If the message
|
1792
|
-
# is passed back to the server, it must be left unmodified.
|
1793
|
-
# community/contributors/devel/api-conventions.md#concurrency-control-and-
|
1794
|
-
# consistency
|
1811
|
+
# is passed back to the server, it must be left unmodified.
|
1795
1812
|
# Corresponds to the JSON property `resourceVersion`
|
1796
1813
|
# @return [String]
|
1797
1814
|
attr_accessor :resource_version
|
@@ -1995,8 +2012,7 @@ module Google
|
|
1995
2012
|
class LocalObjectReference
|
1996
2013
|
include Google::Apis::Core::Hashable
|
1997
2014
|
|
1998
|
-
# Name of the referent.
|
1999
|
-
# working-with-objects/names/#names
|
2015
|
+
# Name of the referent.
|
2000
2016
|
# Corresponds to the JSON property `name`
|
2001
2017
|
# @return [String]
|
2002
2018
|
attr_accessor :name
|
@@ -2073,19 +2089,19 @@ module Google
|
|
2073
2089
|
# Service, Job, * `run.googleapis.com/binary-authorization`: Service, Job,
|
2074
2090
|
# Execution. * `run.googleapis.com/client-name`: All resources. * `run.
|
2075
2091
|
# googleapis.com/cloudsql-instances`: Revision, Execution. * `run.googleapis.com/
|
2076
|
-
#
|
2077
|
-
# `run.googleapis.com/
|
2078
|
-
#
|
2079
|
-
#
|
2080
|
-
#
|
2081
|
-
# Service. * `run.googleapis.com/
|
2082
|
-
#
|
2083
|
-
#
|
2084
|
-
#
|
2085
|
-
# run.googleapis.com/
|
2086
|
-
#
|
2087
|
-
#
|
2088
|
-
#
|
2092
|
+
# container-dependencies`: Revision. * `run.googleapis.com/cpu-throttling`:
|
2093
|
+
# Revision. * `run.googleapis.com/custom-audiences`: Service. * `run.googleapis.
|
2094
|
+
# com/description`: Service. * `run.googleapis.com/encryption-key-shutdown-hours`
|
2095
|
+
# : Revision * `run.googleapis.com/encryption-key`: Revision, Execution. * `run.
|
2096
|
+
# googleapis.com/execution-environment`: Revision, Execution. * `run.googleapis.
|
2097
|
+
# com/gc-traffic-tags`: Service. * `run.googleapis.com/ingress`: Service. * `run.
|
2098
|
+
# googleapis.com/launch-stage`: Service, Job. * `run.googleapis.com/network-
|
2099
|
+
# interfaces`: Revision, Execution. * `run.googleapis.com/post-key-revocation-
|
2100
|
+
# action-type`: Revision. * `run.googleapis.com/secrets`: Revision, Execution. *
|
2101
|
+
# `run.googleapis.com/secure-session-agent`: Revision. * `run.googleapis.com/
|
2102
|
+
# sessionAffinity`: Revision. * `run.googleapis.com/startup-cpu-boost`: Revision.
|
2103
|
+
# * `run.googleapis.com/vpc-access-connector`: Revision, Execution. * `run.
|
2104
|
+
# googleapis.com/vpc-access-egress`: Revision, Execution.
|
2089
2105
|
# Corresponds to the JSON property `annotations`
|
2090
2106
|
# @return [Hash<String,String>]
|
2091
2107
|
attr_accessor :annotations
|
@@ -2095,9 +2111,7 @@ module Google
|
|
2095
2111
|
# @return [String]
|
2096
2112
|
attr_accessor :cluster_name
|
2097
2113
|
|
2098
|
-
# UTC timestamp representing the server time when this object was created.
|
2099
|
-
# info: https://git.k8s.io/community/contributors/devel/api-conventions.md#
|
2100
|
-
# metadata
|
2114
|
+
# UTC timestamp representing the server time when this object was created.
|
2101
2115
|
# Corresponds to the JSON property `creationTimestamp`
|
2102
2116
|
# @return [String]
|
2103
2117
|
attr_accessor :creation_timestamp
|
@@ -2132,15 +2146,14 @@ module Google
|
|
2132
2146
|
|
2133
2147
|
# Map of string keys and values that can be used to organize and categorize (
|
2134
2148
|
# scope and select) objects. May match selectors of replication controllers and
|
2135
|
-
# routes.
|
2149
|
+
# routes.
|
2136
2150
|
# Corresponds to the JSON property `labels`
|
2137
2151
|
# @return [Hash<String,String>]
|
2138
2152
|
attr_accessor :labels
|
2139
2153
|
|
2140
|
-
# Required. The name of the resource.
|
2141
|
-
#
|
2142
|
-
#
|
2143
|
-
# kubernetes.io/docs/user-guide/identifiers#names
|
2154
|
+
# Required. The name of the resource. Name is required when creating top-level
|
2155
|
+
# resources (Service, Job), must be unique within a Cloud Run project/region,
|
2156
|
+
# and cannot be changed once created.
|
2144
2157
|
# Corresponds to the JSON property `name`
|
2145
2158
|
# @return [String]
|
2146
2159
|
attr_accessor :name
|
@@ -2161,8 +2174,7 @@ module Google
|
|
2161
2174
|
# be used for optimistic concurrency, change detection, and the watch operation
|
2162
2175
|
# on a resource or set of resources. Clients must treat these values as opaque
|
2163
2176
|
# and passed unmodified back to the server or omit the value to disable conflict-
|
2164
|
-
# detection.
|
2165
|
-
# architecture/api-conventions.md#concurrency-control-and-consistency
|
2177
|
+
# detection.
|
2166
2178
|
# Corresponds to the JSON property `resourceVersion`
|
2167
2179
|
# @return [String]
|
2168
2180
|
attr_accessor :resource_version
|
@@ -2172,8 +2184,7 @@ module Google
|
|
2172
2184
|
# @return [String]
|
2173
2185
|
attr_accessor :self_link
|
2174
2186
|
|
2175
|
-
# Unique, system-generated identifier for this resource.
|
2176
|
-
# kubernetes.io/docs/user-guide/identifiers#uids
|
2187
|
+
# Unique, system-generated identifier for this resource.
|
2177
2188
|
# Corresponds to the JSON property `uid`
|
2178
2189
|
# @return [String]
|
2179
2190
|
attr_accessor :uid
|
@@ -2202,6 +2213,40 @@ module Google
|
|
2202
2213
|
end
|
2203
2214
|
end
|
2204
2215
|
|
2216
|
+
# RunJob Overrides that contains Execution fields to be overridden on the go.
|
2217
|
+
class Overrides
|
2218
|
+
include Google::Apis::Core::Hashable
|
2219
|
+
|
2220
|
+
# Per container override specification.
|
2221
|
+
# Corresponds to the JSON property `containerOverrides`
|
2222
|
+
# @return [Array<Google::Apis::RunV1::ContainerOverride>]
|
2223
|
+
attr_accessor :container_overrides
|
2224
|
+
|
2225
|
+
# The desired number of tasks the execution should run. Will replace existing
|
2226
|
+
# task_count value.
|
2227
|
+
# Corresponds to the JSON property `taskCount`
|
2228
|
+
# @return [Fixnum]
|
2229
|
+
attr_accessor :task_count
|
2230
|
+
|
2231
|
+
# Duration in seconds the task may be active before the system will actively try
|
2232
|
+
# to mark it failed and kill associated containers. Will replace existing
|
2233
|
+
# timeout_seconds value.
|
2234
|
+
# Corresponds to the JSON property `timeoutSeconds`
|
2235
|
+
# @return [Fixnum]
|
2236
|
+
attr_accessor :timeout_seconds
|
2237
|
+
|
2238
|
+
def initialize(**args)
|
2239
|
+
update!(**args)
|
2240
|
+
end
|
2241
|
+
|
2242
|
+
# Update properties of this object
|
2243
|
+
def update!(**args)
|
2244
|
+
@container_overrides = args[:container_overrides] if args.key?(:container_overrides)
|
2245
|
+
@task_count = args[:task_count] if args.key?(:task_count)
|
2246
|
+
@timeout_seconds = args[:timeout_seconds] if args.key?(:timeout_seconds)
|
2247
|
+
end
|
2248
|
+
end
|
2249
|
+
|
2205
2250
|
# This is not supported or used by Cloud Run.
|
2206
2251
|
class OwnerReference
|
2207
2252
|
include Google::Apis::Core::Hashable
|
@@ -2376,9 +2421,7 @@ module Google
|
|
2376
2421
|
|
2377
2422
|
# Number of seconds after the container has started before the probe is
|
2378
2423
|
# initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for
|
2379
|
-
# liveness probe is 3600. Maximum value for startup probe is 240.
|
2380
|
-
# https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-
|
2381
|
-
# probes
|
2424
|
+
# liveness probe is 3600. Maximum value for startup probe is 240.
|
2382
2425
|
# Corresponds to the JSON property `initialDelaySeconds`
|
2383
2426
|
# @return [Fixnum]
|
2384
2427
|
attr_accessor :initial_delay_seconds
|
@@ -2403,8 +2446,6 @@ module Google
|
|
2403
2446
|
|
2404
2447
|
# Number of seconds after which the probe times out. Defaults to 1 second.
|
2405
2448
|
# Minimum value is 1. Maximum value is 3600. Must be smaller than period_seconds.
|
2406
|
-
# More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#
|
2407
|
-
# container-probes
|
2408
2449
|
# Corresponds to the JSON property `timeoutSeconds`
|
2409
2450
|
# @return [Fixnum]
|
2410
2451
|
attr_accessor :timeout_seconds
|
@@ -2464,20 +2505,20 @@ module Google
|
|
2464
2505
|
class ResourceRequirements
|
2465
2506
|
include Google::Apis::Core::Hashable
|
2466
2507
|
|
2467
|
-
#
|
2468
|
-
#
|
2469
|
-
#
|
2470
|
-
#
|
2508
|
+
# Limits describes the maximum amount of compute resources allowed. Only 'cpu'
|
2509
|
+
# and 'memory' keys are supported. * For supported 'cpu' values, go to https://
|
2510
|
+
# cloud.google.com/run/docs/configuring/cpu. * For supported 'memory' values and
|
2511
|
+
# syntax, go to https://cloud.google.com/run/docs/configuring/memory-limits
|
2471
2512
|
# Corresponds to the JSON property `limits`
|
2472
2513
|
# @return [Hash<String,String>]
|
2473
2514
|
attr_accessor :limits
|
2474
2515
|
|
2475
|
-
#
|
2476
|
-
#
|
2516
|
+
# Requests describes the minimum amount of compute resources required. Only `cpu`
|
2517
|
+
# and `memory` are supported. If Requests is omitted for a container, it
|
2477
2518
|
# defaults to Limits if that is explicitly specified, otherwise to an
|
2478
|
-
# implementation-defined value.
|
2479
|
-
#
|
2480
|
-
#
|
2519
|
+
# implementation-defined value. * For supported 'cpu' values, go to https://
|
2520
|
+
# cloud.google.com/run/docs/configuring/cpu. * For supported 'memory' values and
|
2521
|
+
# syntax, go to https://cloud.google.com/run/docs/configuring/memory-limits
|
2481
2522
|
# Corresponds to the JSON property `requests`
|
2482
2523
|
# @return [Hash<String,String>]
|
2483
2524
|
attr_accessor :requests
|
@@ -2555,8 +2596,7 @@ module Google
|
|
2555
2596
|
# Containers holds the single container that defines the unit of execution for
|
2556
2597
|
# this Revision. In the context of a Revision, we disallow a number of fields on
|
2557
2598
|
# this Container, including: name and lifecycle. In Cloud Run, only a single
|
2558
|
-
# container may be provided.
|
2559
|
-
# github.com/knative/specs/blob/main/specs/serving/runtime-contract.md
|
2599
|
+
# container may be provided.
|
2560
2600
|
# Corresponds to the JSON property `containers`
|
2561
2601
|
# @return [Array<Google::Apis::RunV1::Container>]
|
2562
2602
|
attr_accessor :containers
|
@@ -2666,8 +2706,7 @@ module Google
|
|
2666
2706
|
end
|
2667
2707
|
|
2668
2708
|
# RevisionTemplateSpec describes the data a revision should have when created
|
2669
|
-
# from a template.
|
2670
|
-
# core/v1/types.go#L3179-L3190
|
2709
|
+
# from a template.
|
2671
2710
|
class RevisionTemplate
|
2672
2711
|
include Google::Apis::Core::Hashable
|
2673
2712
|
|
@@ -2697,9 +2736,8 @@ module Google
|
|
2697
2736
|
# Some of the Revisions a Route distributes traffic over may be specified by
|
2698
2737
|
# referencing the Configuration responsible for creating them; in these cases
|
2699
2738
|
# the Route is additionally responsible for monitoring the Configuration for "
|
2700
|
-
# latest ready" revision changes, and smoothly rolling out latest revisions.
|
2701
|
-
#
|
2702
|
-
# route Cloud Run currently supports referencing a single Configuration to
|
2739
|
+
# latest ready" revision changes, and smoothly rolling out latest revisions.
|
2740
|
+
# Cloud Run currently supports referencing a single Configuration to
|
2703
2741
|
# automatically deploy the "latest ready" Revision from that Configuration.
|
2704
2742
|
class Route
|
2705
2743
|
include Google::Apis::Core::Hashable
|
@@ -2823,12 +2861,18 @@ module Google
|
|
2823
2861
|
class RunJobRequest
|
2824
2862
|
include Google::Apis::Core::Hashable
|
2825
2863
|
|
2864
|
+
# RunJob Overrides that contains Execution fields to be overridden on the go.
|
2865
|
+
# Corresponds to the JSON property `overrides`
|
2866
|
+
# @return [Google::Apis::RunV1::Overrides]
|
2867
|
+
attr_accessor :overrides
|
2868
|
+
|
2826
2869
|
def initialize(**args)
|
2827
2870
|
update!(**args)
|
2828
2871
|
end
|
2829
2872
|
|
2830
2873
|
# Update properties of this object
|
2831
2874
|
def update!(**args)
|
2875
|
+
@overrides = args[:overrides] if args.key?(:overrides)
|
2832
2876
|
end
|
2833
2877
|
end
|
2834
2878
|
|
@@ -3008,8 +3052,6 @@ module Google
|
|
3008
3052
|
# Routes and Configurations (much as a kubernetes Deployment orchestrates
|
3009
3053
|
# ReplicaSets). The Service's controller will track the statuses of its owned
|
3010
3054
|
# Configuration and Route, reflecting their statuses and conditions as its own.
|
3011
|
-
# See also: https://github.com/knative/serving/blob/main/docs/spec/overview.md#
|
3012
|
-
# service
|
3013
3055
|
class Service
|
3014
3056
|
include Google::Apis::Core::Hashable
|
3015
3057
|
|
@@ -3060,8 +3102,7 @@ module Google
|
|
3060
3102
|
include Google::Apis::Core::Hashable
|
3061
3103
|
|
3062
3104
|
# RevisionTemplateSpec describes the data a revision should have when created
|
3063
|
-
# from a template.
|
3064
|
-
# core/v1/types.go#L3179-L3190
|
3105
|
+
# from a template.
|
3065
3106
|
# Corresponds to the JSON property `template`
|
3066
3107
|
# @return [Google::Apis::RunV1::RevisionTemplate]
|
3067
3108
|
attr_accessor :template
|
@@ -3240,9 +3281,7 @@ module Google
|
|
3240
3281
|
# @return [String]
|
3241
3282
|
attr_accessor :reason
|
3242
3283
|
|
3243
|
-
# Status of the operation. One of: "Success" or "Failure".
|
3244
|
-
# git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#
|
3245
|
-
# spec-and-status
|
3284
|
+
# Status of the operation. One of: "Success" or "Failure".
|
3246
3285
|
# Corresponds to the JSON property `status`
|
3247
3286
|
# @return [String]
|
3248
3287
|
attr_accessor :status
|
@@ -3321,9 +3360,7 @@ module Google
|
|
3321
3360
|
attr_accessor :group
|
3322
3361
|
|
3323
3362
|
# The kind attribute of the resource associated with the status StatusReason. On
|
3324
|
-
# some operations may differ from the requested resource Kind.
|
3325
|
-
# /git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#
|
3326
|
-
# types-kinds
|
3363
|
+
# some operations may differ from the requested resource Kind.
|
3327
3364
|
# Corresponds to the JSON property `kind`
|
3328
3365
|
# @return [String]
|
3329
3366
|
attr_accessor :kind
|
@@ -3343,7 +3380,6 @@ module Google
|
|
3343
3380
|
attr_accessor :retry_after_seconds
|
3344
3381
|
|
3345
3382
|
# UID of the resource. (when there is a single resource which can be described).
|
3346
|
-
# More info: https://kubernetes.io/docs/user-guide/identifiers#uids
|
3347
3383
|
# Corresponds to the JSON property `uid`
|
3348
3384
|
# @return [String]
|
3349
3385
|
attr_accessor :uid
|
@@ -3394,16 +3430,14 @@ module Google
|
|
3394
3430
|
|
3395
3431
|
# Optional. APIVersion defines the versioned schema of this representation of an
|
3396
3432
|
# object. Servers should convert recognized schemas to the latest internal value,
|
3397
|
-
# and may reject unrecognized values.
|
3398
|
-
# contributors/devel/sig-architecture/api-conventions.md#resources
|
3433
|
+
# and may reject unrecognized values.
|
3399
3434
|
# Corresponds to the JSON property `apiVersion`
|
3400
3435
|
# @return [String]
|
3401
3436
|
attr_accessor :api_version
|
3402
3437
|
|
3403
3438
|
# Optional. Kind is a string value representing the REST resource this object
|
3404
3439
|
# represents. Servers may infer this from the endpoint the client submits
|
3405
|
-
# requests to. Cannot be updated. In CamelCase.
|
3406
|
-
# community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
3440
|
+
# requests to. Cannot be updated. In CamelCase.
|
3407
3441
|
# Corresponds to the JSON property `kind`
|
3408
3442
|
# @return [String]
|
3409
3443
|
attr_accessor :kind
|
@@ -3503,7 +3537,7 @@ module Google
|
|
3503
3537
|
attr_accessor :timeout_seconds
|
3504
3538
|
|
3505
3539
|
# Optional. List of volumes that can be mounted by containers belonging to the
|
3506
|
-
# task.
|
3540
|
+
# task.
|
3507
3541
|
# Corresponds to the JSON property `volumes`
|
3508
3542
|
# @return [Array<Google::Apis::RunV1::Volume>]
|
3509
3543
|
attr_accessor :volumes
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.50.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230416"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -100,6 +100,12 @@ module Google
|
|
100
100
|
include Google::Apis::Core::JsonObjectSupport
|
101
101
|
end
|
102
102
|
|
103
|
+
class ContainerOverride
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
103
109
|
class ContainerPort
|
104
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
111
|
|
@@ -322,6 +328,12 @@ module Google
|
|
322
328
|
include Google::Apis::Core::JsonObjectSupport
|
323
329
|
end
|
324
330
|
|
331
|
+
class Overrides
|
332
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
333
|
+
|
334
|
+
include Google::Apis::Core::JsonObjectSupport
|
335
|
+
end
|
336
|
+
|
325
337
|
class OwnerReference
|
326
338
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
327
339
|
|
@@ -677,6 +689,16 @@ module Google
|
|
677
689
|
end
|
678
690
|
end
|
679
691
|
|
692
|
+
class ContainerOverride
|
693
|
+
# @private
|
694
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
695
|
+
collection :args, as: 'args'
|
696
|
+
collection :env, as: 'env', class: Google::Apis::RunV1::EnvVar, decorator: Google::Apis::RunV1::EnvVar::Representation
|
697
|
+
|
698
|
+
property :name, as: 'name'
|
699
|
+
end
|
700
|
+
end
|
701
|
+
|
680
702
|
class ContainerPort
|
681
703
|
# @private
|
682
704
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1093,6 +1115,16 @@ module Google
|
|
1093
1115
|
end
|
1094
1116
|
end
|
1095
1117
|
|
1118
|
+
class Overrides
|
1119
|
+
# @private
|
1120
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1121
|
+
collection :container_overrides, as: 'containerOverrides', class: Google::Apis::RunV1::ContainerOverride, decorator: Google::Apis::RunV1::ContainerOverride::Representation
|
1122
|
+
|
1123
|
+
property :task_count, as: 'taskCount'
|
1124
|
+
property :timeout_seconds, as: 'timeoutSeconds'
|
1125
|
+
end
|
1126
|
+
end
|
1127
|
+
|
1096
1128
|
class OwnerReference
|
1097
1129
|
# @private
|
1098
1130
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1244,6 +1276,8 @@ module Google
|
|
1244
1276
|
class RunJobRequest
|
1245
1277
|
# @private
|
1246
1278
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1279
|
+
property :overrides, as: 'overrides', class: Google::Apis::RunV1::Overrides, decorator: Google::Apis::RunV1::Overrides::Representation
|
1280
|
+
|
1247
1281
|
end
|
1248
1282
|
end
|
1249
1283
|
|
@@ -174,9 +174,9 @@ module Google
|
|
174
174
|
|
175
175
|
# Create a new domain mapping.
|
176
176
|
# @param [String] parent
|
177
|
-
# The namespace in which the domain mapping should be created. For
|
178
|
-
# fully managed), replace `namespace` with the project ID or number.
|
179
|
-
# the form namespaces/`namespace`. For example: namespaces/PROJECT_ID
|
177
|
+
# Required. The namespace in which the domain mapping should be created. For
|
178
|
+
# Cloud Run (fully managed), replace `namespace` with the project ID or number.
|
179
|
+
# It takes the form namespaces/`namespace`. For example: namespaces/PROJECT_ID
|
180
180
|
# @param [Google::Apis::RunV1::DomainMapping] domain_mapping_object
|
181
181
|
# @param [String] dry_run
|
182
182
|
# Indicates that the server should validate the request and populate default
|
@@ -213,8 +213,8 @@ module Google
|
|
213
213
|
|
214
214
|
# Delete a domain mapping.
|
215
215
|
# @param [String] name
|
216
|
-
# The name of the domain mapping to delete. For Cloud Run (fully
|
217
|
-
# replace `namespace` with the project ID or number. It takes the form
|
216
|
+
# Required. The name of the domain mapping to delete. For Cloud Run (fully
|
217
|
+
# managed), replace `namespace` with the project ID or number. It takes the form
|
218
218
|
# namespaces/`namespace`. For example: namespaces/PROJECT_ID
|
219
219
|
# @param [String] api_version
|
220
220
|
# Cloud Run currently ignores this parameter.
|
@@ -260,8 +260,8 @@ module Google
|
|
260
260
|
|
261
261
|
# Get information about a domain mapping.
|
262
262
|
# @param [String] name
|
263
|
-
# The name of the domain mapping to retrieve. For Cloud Run (fully
|
264
|
-
# replace `namespace` with the project ID or number. It takes the form
|
263
|
+
# Required. The name of the domain mapping to retrieve. For Cloud Run (fully
|
264
|
+
# managed), replace `namespace` with the project ID or number. It takes the form
|
265
265
|
# namespaces/`namespace`. For example: namespaces/PROJECT_ID
|
266
266
|
# @param [String] fields
|
267
267
|
# Selector specifying which fields to include in a partial response.
|
@@ -292,9 +292,9 @@ module Google
|
|
292
292
|
|
293
293
|
# List all domain mappings.
|
294
294
|
# @param [String] parent
|
295
|
-
# The namespace from which the domain mappings should be listed. For
|
296
|
-
# fully managed), replace `namespace` with the project ID or number.
|
297
|
-
# the form namespaces/`namespace`. For example: namespaces/PROJECT_ID
|
295
|
+
# Required. The namespace from which the domain mappings should be listed. For
|
296
|
+
# Cloud Run (fully managed), replace `namespace` with the project ID or number.
|
297
|
+
# It takes the form namespaces/`namespace`. For example: namespaces/PROJECT_ID
|
298
298
|
# @param [String] continue
|
299
299
|
# Optional. Encoded string to continue paging.
|
300
300
|
# @param [String] field_selector
|
@@ -394,9 +394,7 @@ module Google
|
|
394
394
|
# Optional. Cloud Run currently ignores this parameter.
|
395
395
|
# @param [String] propagation_policy
|
396
396
|
# Optional. Specifies the propagation policy of delete. Cloud Run currently
|
397
|
-
# ignores this setting
|
398
|
-
# kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for more
|
399
|
-
# information.
|
397
|
+
# ignores this setting.
|
400
398
|
# @param [String] fields
|
401
399
|
# Selector specifying which fields to include in a partial response.
|
402
400
|
# @param [String] quota_user
|
@@ -764,8 +762,7 @@ module Google
|
|
764
762
|
# Cloud Run currently ignores this parameter.
|
765
763
|
# @param [String] propagation_policy
|
766
764
|
# Specifies the propagation policy of delete. Cloud Run currently ignores this
|
767
|
-
# setting, and deletes in the background.
|
768
|
-
# concepts/architecture/garbage-collection/ for more information.
|
765
|
+
# setting, and deletes in the background.
|
769
766
|
# @param [String] fields
|
770
767
|
# Selector specifying which fields to include in a partial response.
|
771
768
|
# @param [String] quota_user
|
@@ -1497,9 +1494,9 @@ module Google
|
|
1497
1494
|
|
1498
1495
|
# Create a new domain mapping.
|
1499
1496
|
# @param [String] parent
|
1500
|
-
# The namespace in which the domain mapping should be created. For
|
1501
|
-
# fully managed), replace `namespace` with the project ID or number.
|
1502
|
-
# the form namespaces/`namespace`. For example: namespaces/PROJECT_ID
|
1497
|
+
# Required. The namespace in which the domain mapping should be created. For
|
1498
|
+
# Cloud Run (fully managed), replace `namespace` with the project ID or number.
|
1499
|
+
# It takes the form namespaces/`namespace`. For example: namespaces/PROJECT_ID
|
1503
1500
|
# @param [Google::Apis::RunV1::DomainMapping] domain_mapping_object
|
1504
1501
|
# @param [String] dry_run
|
1505
1502
|
# Indicates that the server should validate the request and populate default
|
@@ -1536,8 +1533,8 @@ module Google
|
|
1536
1533
|
|
1537
1534
|
# Delete a domain mapping.
|
1538
1535
|
# @param [String] name
|
1539
|
-
# The name of the domain mapping to delete. For Cloud Run (fully
|
1540
|
-
# replace `namespace` with the project ID or number. It takes the form
|
1536
|
+
# Required. The name of the domain mapping to delete. For Cloud Run (fully
|
1537
|
+
# managed), replace `namespace` with the project ID or number. It takes the form
|
1541
1538
|
# namespaces/`namespace`. For example: namespaces/PROJECT_ID
|
1542
1539
|
# @param [String] api_version
|
1543
1540
|
# Cloud Run currently ignores this parameter.
|
@@ -1583,8 +1580,8 @@ module Google
|
|
1583
1580
|
|
1584
1581
|
# Get information about a domain mapping.
|
1585
1582
|
# @param [String] name
|
1586
|
-
# The name of the domain mapping to retrieve. For Cloud Run (fully
|
1587
|
-
# replace `namespace` with the project ID or number. It takes the form
|
1583
|
+
# Required. The name of the domain mapping to retrieve. For Cloud Run (fully
|
1584
|
+
# managed), replace `namespace` with the project ID or number. It takes the form
|
1588
1585
|
# namespaces/`namespace`. For example: namespaces/PROJECT_ID
|
1589
1586
|
# @param [String] fields
|
1590
1587
|
# Selector specifying which fields to include in a partial response.
|
@@ -1615,9 +1612,9 @@ module Google
|
|
1615
1612
|
|
1616
1613
|
# List all domain mappings.
|
1617
1614
|
# @param [String] parent
|
1618
|
-
# The namespace from which the domain mappings should be listed. For
|
1619
|
-
# fully managed), replace `namespace` with the project ID or number.
|
1620
|
-
# the form namespaces/`namespace`. For example: namespaces/PROJECT_ID
|
1615
|
+
# Required. The namespace from which the domain mappings should be listed. For
|
1616
|
+
# Cloud Run (fully managed), replace `namespace` with the project ID or number.
|
1617
|
+
# It takes the form namespaces/`namespace`. For example: namespaces/PROJECT_ID
|
1621
1618
|
# @param [String] continue
|
1622
1619
|
# Optional. Encoded string to continue paging.
|
1623
1620
|
# @param [String] field_selector
|
@@ -1802,8 +1799,7 @@ module Google
|
|
1802
1799
|
# Cloud Run currently ignores this parameter.
|
1803
1800
|
# @param [String] propagation_policy
|
1804
1801
|
# Specifies the propagation policy of delete. Cloud Run currently ignores this
|
1805
|
-
# setting, and deletes in the background.
|
1806
|
-
# concepts/architecture/garbage-collection/ for more information.
|
1802
|
+
# setting, and deletes in the background.
|
1807
1803
|
# @param [String] fields
|
1808
1804
|
# Selector specifying which fields to include in a partial response.
|
1809
1805
|
# @param [String] quota_user
|
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.
|
4
|
+
version: 0.50.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-04-
|
11
|
+
date: 2023-04-23 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-run_v1/v0.50.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: []
|