google-apis-run_v2 0.6.0 → 0.7.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 +4 -0
- data/lib/google/apis/run_v2/classes.rb +48 -48
- data/lib/google/apis/run_v2/gem_version.rb +2 -2
- data/lib/google/apis/run_v2/representations.rb +70 -70
- data/lib/google/apis/run_v2/service.rb +24 -24
- 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: 7d7e842e46074151ecf0836aa3dc45a2d0c3ddbc51f6c4d541e82147f74a7e33
|
4
|
+
data.tar.gz: e6f4a1f6d39796515d65e1559c2ef15f6ee9e45abc93ed07253f56fd309b47f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 10f43641be7d5a2eefa5b849deac8cd38795ef73adac855857b37c44b86d1cb8d1b22b72904a57052c531d2763439ad0834e49d944323bf3689e7bc03f1696cb
|
7
|
+
data.tar.gz: 8d4163394deee8fc22a6874168c42e5643f5734e844daa43a64f27594dfdeb24287cc9fa5eaed1ed51d7fb7dc8bf146abe263a7d7d463452aaeef3790581728b
|
data/CHANGELOG.md
CHANGED
@@ -23,7 +23,7 @@ module Google
|
|
23
23
|
module RunV2
|
24
24
|
|
25
25
|
# Settings for Binary Authorization feature.
|
26
|
-
class
|
26
|
+
class GoogleCloudRunV2BinaryAuthorization
|
27
27
|
include Google::Apis::Core::Hashable
|
28
28
|
|
29
29
|
# If present, indicates to use Breakglass using this justification. If
|
@@ -53,7 +53,7 @@ module Google
|
|
53
53
|
end
|
54
54
|
|
55
55
|
# Represents a specific Cloud SQL instance.
|
56
|
-
class
|
56
|
+
class GoogleCloudRunV2CloudSqlInstance
|
57
57
|
include Google::Apis::Core::Hashable
|
58
58
|
|
59
59
|
# The Cloud SQL instance connection names, as can be found in https://console.
|
@@ -75,7 +75,7 @@ module Google
|
|
75
75
|
end
|
76
76
|
|
77
77
|
# Defines a status condition for a resource.
|
78
|
-
class
|
78
|
+
class GoogleCloudRunV2Condition
|
79
79
|
include Google::Apis::Core::Hashable
|
80
80
|
|
81
81
|
# A reason for the domain mapping condition.
|
@@ -153,7 +153,7 @@ module Google
|
|
153
153
|
# A single application container. This specifies both the container to run, the
|
154
154
|
# command to run in the container and the arguments to supply to it. Note that
|
155
155
|
# additional arguments may be supplied by the system to the container at runtime.
|
156
|
-
class
|
156
|
+
class GoogleCloudRunV2Container
|
157
157
|
include Google::Apis::Core::Hashable
|
158
158
|
|
159
159
|
# Arguments to the entrypoint. The docker image's CMD is used if this is not
|
@@ -182,7 +182,7 @@ module Google
|
|
182
182
|
|
183
183
|
# List of environment variables to set in the container.
|
184
184
|
# Corresponds to the JSON property `env`
|
185
|
-
# @return [Array<Google::Apis::RunV2::
|
185
|
+
# @return [Array<Google::Apis::RunV2::GoogleCloudRunV2EnvVar>]
|
186
186
|
attr_accessor :env
|
187
187
|
|
188
188
|
# Required. URL of the Container image in Google Container Registry or Docker
|
@@ -202,17 +202,17 @@ module Google
|
|
202
202
|
# chosen and passed to the container through the PORT environment variable for
|
203
203
|
# the container to listen on.
|
204
204
|
# Corresponds to the JSON property `ports`
|
205
|
-
# @return [Array<Google::Apis::RunV2::
|
205
|
+
# @return [Array<Google::Apis::RunV2::GoogleCloudRunV2ContainerPort>]
|
206
206
|
attr_accessor :ports
|
207
207
|
|
208
208
|
# ResourceRequirements describes the compute resource requirements.
|
209
209
|
# Corresponds to the JSON property `resources`
|
210
|
-
# @return [Google::Apis::RunV2::
|
210
|
+
# @return [Google::Apis::RunV2::GoogleCloudRunV2ResourceRequirements]
|
211
211
|
attr_accessor :resources
|
212
212
|
|
213
213
|
# Volume to mount into the container's filesystem.
|
214
214
|
# Corresponds to the JSON property `volumeMounts`
|
215
|
-
# @return [Array<Google::Apis::RunV2::
|
215
|
+
# @return [Array<Google::Apis::RunV2::GoogleCloudRunV2VolumeMount>]
|
216
216
|
attr_accessor :volume_mounts
|
217
217
|
|
218
218
|
def initialize(**args)
|
@@ -233,7 +233,7 @@ module Google
|
|
233
233
|
end
|
234
234
|
|
235
235
|
# ContainerPort represents a network port in a single container.
|
236
|
-
class
|
236
|
+
class GoogleCloudRunV2ContainerPort
|
237
237
|
include Google::Apis::Core::Hashable
|
238
238
|
|
239
239
|
# Port number the container listens on. This must be a valid TCP port number, 0 <
|
@@ -260,7 +260,7 @@ module Google
|
|
260
260
|
end
|
261
261
|
|
262
262
|
# EnvVar represents an environment variable present in a Container.
|
263
|
-
class
|
263
|
+
class GoogleCloudRunV2EnvVar
|
264
264
|
include Google::Apis::Core::Hashable
|
265
265
|
|
266
266
|
# Required. Name of the environment variable. Must be a C_IDENTIFIER, and mnay
|
@@ -282,7 +282,7 @@ module Google
|
|
282
282
|
|
283
283
|
# EnvVarSource represents a source for the value of an EnvVar.
|
284
284
|
# Corresponds to the JSON property `valueSource`
|
285
|
-
# @return [Google::Apis::RunV2::
|
285
|
+
# @return [Google::Apis::RunV2::GoogleCloudRunV2EnvVarSource]
|
286
286
|
attr_accessor :value_source
|
287
287
|
|
288
288
|
def initialize(**args)
|
@@ -298,12 +298,12 @@ module Google
|
|
298
298
|
end
|
299
299
|
|
300
300
|
# EnvVarSource represents a source for the value of an EnvVar.
|
301
|
-
class
|
301
|
+
class GoogleCloudRunV2EnvVarSource
|
302
302
|
include Google::Apis::Core::Hashable
|
303
303
|
|
304
304
|
# SecretEnvVarSource represents a source for the value of an EnvVar.
|
305
305
|
# Corresponds to the JSON property `secretKeyRef`
|
306
|
-
# @return [Google::Apis::RunV2::
|
306
|
+
# @return [Google::Apis::RunV2::GoogleCloudRunV2SecretKeySelector]
|
307
307
|
attr_accessor :secret_key_ref
|
308
308
|
|
309
309
|
def initialize(**args)
|
@@ -317,7 +317,7 @@ module Google
|
|
317
317
|
end
|
318
318
|
|
319
319
|
# Response message containing a list of Revisions.
|
320
|
-
class
|
320
|
+
class GoogleCloudRunV2ListRevisionsResponse
|
321
321
|
include Google::Apis::Core::Hashable
|
322
322
|
|
323
323
|
# A token indicating there are more items than page_size. Use it in the next
|
@@ -328,7 +328,7 @@ module Google
|
|
328
328
|
|
329
329
|
# The resulting list of Revisions.
|
330
330
|
# Corresponds to the JSON property `revisions`
|
331
|
-
# @return [Array<Google::Apis::RunV2::
|
331
|
+
# @return [Array<Google::Apis::RunV2::GoogleCloudRunV2Revision>]
|
332
332
|
attr_accessor :revisions
|
333
333
|
|
334
334
|
def initialize(**args)
|
@@ -343,7 +343,7 @@ module Google
|
|
343
343
|
end
|
344
344
|
|
345
345
|
# Response message containing a list of Services.
|
346
|
-
class
|
346
|
+
class GoogleCloudRunV2ListServicesResponse
|
347
347
|
include Google::Apis::Core::Hashable
|
348
348
|
|
349
349
|
# A token indicating there are more items than page_size. Use it in the next
|
@@ -354,7 +354,7 @@ module Google
|
|
354
354
|
|
355
355
|
# The resulting list of Services.
|
356
356
|
# Corresponds to the JSON property `services`
|
357
|
-
# @return [Array<Google::Apis::RunV2::
|
357
|
+
# @return [Array<Google::Apis::RunV2::GoogleCloudRunV2Service>]
|
358
358
|
attr_accessor :services
|
359
359
|
|
360
360
|
def initialize(**args)
|
@@ -369,7 +369,7 @@ module Google
|
|
369
369
|
end
|
370
370
|
|
371
371
|
# ResourceRequirements describes the compute resource requirements.
|
372
|
-
class
|
372
|
+
class GoogleCloudRunV2ResourceRequirements
|
373
373
|
include Google::Apis::Core::Hashable
|
374
374
|
|
375
375
|
# Determines whether CPU should be throttled or not outside of requests.
|
@@ -401,7 +401,7 @@ module Google
|
|
401
401
|
# A Revision is an immutable snapshot of code and configuration. A Revision
|
402
402
|
# references a container image. Revisions are only created by updates to its
|
403
403
|
# parent Service.
|
404
|
-
class
|
404
|
+
class GoogleCloudRunV2Revision
|
405
405
|
include Google::Apis::Core::Hashable
|
406
406
|
|
407
407
|
# KRM-style annotations for the resource.
|
@@ -412,7 +412,7 @@ module Google
|
|
412
412
|
# Output only. The Condition of this Revision, containing its readiness status,
|
413
413
|
# and detailed error information in case it did not reach a serving state.
|
414
414
|
# Corresponds to the JSON property `conditions`
|
415
|
-
# @return [Array<Google::Apis::RunV2::
|
415
|
+
# @return [Array<Google::Apis::RunV2::GoogleCloudRunV2Condition>]
|
416
416
|
attr_accessor :conditions
|
417
417
|
|
418
418
|
# Indicates whether Confidential Cloud Run is enabled in this Revision.
|
@@ -429,7 +429,7 @@ module Google
|
|
429
429
|
# Holds the single container that defines the unit of execution for this
|
430
430
|
# Revision.
|
431
431
|
# Corresponds to the JSON property `containers`
|
432
|
-
# @return [Array<Google::Apis::RunV2::
|
432
|
+
# @return [Array<Google::Apis::RunV2::GoogleCloudRunV2Container>]
|
433
433
|
attr_accessor :containers
|
434
434
|
|
435
435
|
# Output only. The creation time.
|
@@ -519,7 +519,7 @@ module Google
|
|
519
519
|
|
520
520
|
# Settings for revision-level scaling settings.
|
521
521
|
# Corresponds to the JSON property `scaling`
|
522
|
-
# @return [Google::Apis::RunV2::
|
522
|
+
# @return [Google::Apis::RunV2::GoogleCloudRunV2RevisionScaling]
|
523
523
|
attr_accessor :scaling
|
524
524
|
|
525
525
|
# Output only. The name of the parent service.
|
@@ -553,7 +553,7 @@ module Google
|
|
553
553
|
|
554
554
|
# A list of Volumes to make available to containers.
|
555
555
|
# Corresponds to the JSON property `volumes`
|
556
|
-
# @return [Array<Google::Apis::RunV2::
|
556
|
+
# @return [Array<Google::Apis::RunV2::GoogleCloudRunV2Volume>]
|
557
557
|
attr_accessor :volumes
|
558
558
|
|
559
559
|
# VPC Access settings. For more information on creating a VPC Connector, visit
|
@@ -561,7 +561,7 @@ module Google
|
|
561
561
|
# information on how to configure Cloud Run with an existing VPC Connector,
|
562
562
|
# visit https://cloud.google.com/run/docs/configuring/connecting-vpc
|
563
563
|
# Corresponds to the JSON property `vpcAccess`
|
564
|
-
# @return [Google::Apis::RunV2::
|
564
|
+
# @return [Google::Apis::RunV2::GoogleCloudRunV2VpcAccess]
|
565
565
|
attr_accessor :vpc_access
|
566
566
|
|
567
567
|
def initialize(**args)
|
@@ -600,7 +600,7 @@ module Google
|
|
600
600
|
end
|
601
601
|
|
602
602
|
# Settings for revision-level scaling settings.
|
603
|
-
class
|
603
|
+
class GoogleCloudRunV2RevisionScaling
|
604
604
|
include Google::Apis::Core::Hashable
|
605
605
|
|
606
606
|
# Maximum number of serving instances that this resource should have.
|
@@ -626,7 +626,7 @@ module Google
|
|
626
626
|
|
627
627
|
# RevisionTemplate describes the data a revision should have when created from a
|
628
628
|
# template.
|
629
|
-
class
|
629
|
+
class GoogleCloudRunV2RevisionTemplate
|
630
630
|
include Google::Apis::Core::Hashable
|
631
631
|
|
632
632
|
# KRM-style annotations for the resource.
|
@@ -648,7 +648,7 @@ module Google
|
|
648
648
|
# Holds the single container that defines the unit of execution for this
|
649
649
|
# Revision.
|
650
650
|
# Corresponds to the JSON property `containers`
|
651
|
-
# @return [Array<Google::Apis::RunV2::
|
651
|
+
# @return [Array<Google::Apis::RunV2::GoogleCloudRunV2Container>]
|
652
652
|
attr_accessor :containers
|
653
653
|
|
654
654
|
# A reference to a customer managed encryption key (CMEK) to use to encrypt this
|
@@ -676,7 +676,7 @@ module Google
|
|
676
676
|
|
677
677
|
# Settings for revision-level scaling settings.
|
678
678
|
# Corresponds to the JSON property `scaling`
|
679
|
-
# @return [Google::Apis::RunV2::
|
679
|
+
# @return [Google::Apis::RunV2::GoogleCloudRunV2RevisionScaling]
|
680
680
|
attr_accessor :scaling
|
681
681
|
|
682
682
|
# Email address of the IAM service account associated with the revision of the
|
@@ -694,7 +694,7 @@ module Google
|
|
694
694
|
|
695
695
|
# A list of Volumes to make available to containers.
|
696
696
|
# Corresponds to the JSON property `volumes`
|
697
|
-
# @return [Array<Google::Apis::RunV2::
|
697
|
+
# @return [Array<Google::Apis::RunV2::GoogleCloudRunV2Volume>]
|
698
698
|
attr_accessor :volumes
|
699
699
|
|
700
700
|
# VPC Access settings. For more information on creating a VPC Connector, visit
|
@@ -702,7 +702,7 @@ module Google
|
|
702
702
|
# information on how to configure Cloud Run with an existing VPC Connector,
|
703
703
|
# visit https://cloud.google.com/run/docs/configuring/connecting-vpc
|
704
704
|
# Corresponds to the JSON property `vpcAccess`
|
705
|
-
# @return [Google::Apis::RunV2::
|
705
|
+
# @return [Google::Apis::RunV2::GoogleCloudRunV2VpcAccess]
|
706
706
|
attr_accessor :vpc_access
|
707
707
|
|
708
708
|
def initialize(**args)
|
@@ -728,7 +728,7 @@ module Google
|
|
728
728
|
end
|
729
729
|
|
730
730
|
# SecretEnvVarSource represents a source for the value of an EnvVar.
|
731
|
-
class
|
731
|
+
class GoogleCloudRunV2SecretKeySelector
|
732
732
|
include Google::Apis::Core::Hashable
|
733
733
|
|
734
734
|
# Required. The name of the secret in Cloud Secret Manager. Format: `secret_name`
|
@@ -758,7 +758,7 @@ module Google
|
|
758
758
|
# The secret's value will be presented as the content of a file whose name is
|
759
759
|
# defined in the item path. If no items are defined, the name of the file is the
|
760
760
|
# secret.
|
761
|
-
class
|
761
|
+
class GoogleCloudRunV2SecretVolumeSource
|
762
762
|
include Google::Apis::Core::Hashable
|
763
763
|
|
764
764
|
# Integer representation of mode bits to use on created files by default. Must
|
@@ -783,7 +783,7 @@ module Google
|
|
783
783
|
# the file exposed in the volume. When items are defined, they must specify a
|
784
784
|
# path and a version.
|
785
785
|
# Corresponds to the JSON property `items`
|
786
|
-
# @return [Array<Google::Apis::RunV2::
|
786
|
+
# @return [Array<Google::Apis::RunV2::GoogleCloudRunV2VersionToPath>]
|
787
787
|
attr_accessor :items
|
788
788
|
|
789
789
|
# Required. The name of the secret in Cloud Secret Manager. Format: `secret` if
|
@@ -810,7 +810,7 @@ module Google
|
|
810
810
|
# provide a singular abstraction which can be access controlled, reasoned about,
|
811
811
|
# and which encapsulates software lifecycle decisions such as rollout policy and
|
812
812
|
# team resource ownership.
|
813
|
-
class
|
813
|
+
class GoogleCloudRunV2Service
|
814
814
|
include Google::Apis::Core::Hashable
|
815
815
|
|
816
816
|
# Unstructured key value map that may be set by external tools to store and
|
@@ -825,7 +825,7 @@ module Google
|
|
825
825
|
|
826
826
|
# Settings for Binary Authorization feature.
|
827
827
|
# Corresponds to the JSON property `binaryAuthorization`
|
828
|
-
# @return [Google::Apis::RunV2::
|
828
|
+
# @return [Google::Apis::RunV2::GoogleCloudRunV2BinaryAuthorization]
|
829
829
|
attr_accessor :binary_authorization
|
830
830
|
|
831
831
|
# Arbitrary identifier for the API client.
|
@@ -843,7 +843,7 @@ module Google
|
|
843
843
|
# its Serving state. See comments in `reconciling` for additional information on
|
844
844
|
# reconciliation process in Cloud Run.
|
845
845
|
# Corresponds to the JSON property `conditions`
|
846
|
-
# @return [Array<Google::Apis::RunV2::
|
846
|
+
# @return [Array<Google::Apis::RunV2::GoogleCloudRunV2Condition>]
|
847
847
|
attr_accessor :conditions
|
848
848
|
|
849
849
|
# Output only. The creation time.
|
@@ -969,26 +969,26 @@ module Google
|
|
969
969
|
# RevisionTemplate describes the data a revision should have when created from a
|
970
970
|
# template.
|
971
971
|
# Corresponds to the JSON property `template`
|
972
|
-
# @return [Google::Apis::RunV2::
|
972
|
+
# @return [Google::Apis::RunV2::GoogleCloudRunV2RevisionTemplate]
|
973
973
|
attr_accessor :template
|
974
974
|
|
975
975
|
# Defines a status condition for a resource.
|
976
976
|
# Corresponds to the JSON property `terminalCondition`
|
977
|
-
# @return [Google::Apis::RunV2::
|
977
|
+
# @return [Google::Apis::RunV2::GoogleCloudRunV2Condition]
|
978
978
|
attr_accessor :terminal_condition
|
979
979
|
|
980
980
|
# Specifies how to distribute traffic over a collection of Revisions belonging
|
981
981
|
# to the Service. If traffic is empty or not provided, defaults to 100% traffic
|
982
982
|
# to the latest `Ready` Revision.
|
983
983
|
# Corresponds to the JSON property `traffic`
|
984
|
-
# @return [Array<Google::Apis::RunV2::
|
984
|
+
# @return [Array<Google::Apis::RunV2::GoogleCloudRunV2TrafficTarget>]
|
985
985
|
attr_accessor :traffic
|
986
986
|
|
987
987
|
# Output only. Detailed status information for corresponding traffic targets.
|
988
988
|
# See comments in `reconciling` for additional information on reconciliation
|
989
989
|
# process in Cloud Run.
|
990
990
|
# Corresponds to the JSON property `trafficStatuses`
|
991
|
-
# @return [Array<Google::Apis::RunV2::
|
991
|
+
# @return [Array<Google::Apis::RunV2::GoogleCloudRunV2TrafficTargetStatus>]
|
992
992
|
attr_accessor :traffic_statuses
|
993
993
|
|
994
994
|
# Output only. Server assigned unique identifier for the trigger. The value is a
|
@@ -1046,7 +1046,7 @@ module Google
|
|
1046
1046
|
|
1047
1047
|
# Holds a single traffic routing entry for the Service. Allocations can be done
|
1048
1048
|
# to a specific Revision name, or pointing to the latest Ready Revision.
|
1049
|
-
class
|
1049
|
+
class GoogleCloudRunV2TrafficTarget
|
1050
1050
|
include Google::Apis::Core::Hashable
|
1051
1051
|
|
1052
1052
|
# Specifies percent of the traffic to this Revision. This defaults to zero if
|
@@ -1085,7 +1085,7 @@ module Google
|
|
1085
1085
|
end
|
1086
1086
|
|
1087
1087
|
# Represents the observed state of a single `TrafficTarget` entry.
|
1088
|
-
class
|
1088
|
+
class GoogleCloudRunV2TrafficTargetStatus
|
1089
1089
|
include Google::Apis::Core::Hashable
|
1090
1090
|
|
1091
1091
|
# Specifies percent of the traffic to this Revision.
|
@@ -1129,7 +1129,7 @@ module Google
|
|
1129
1129
|
|
1130
1130
|
# VersionToPath maps a specific version of a secret to a relative file to mount
|
1131
1131
|
# to, relative to VolumeMount's mount_path.
|
1132
|
-
class
|
1132
|
+
class GoogleCloudRunV2VersionToPath
|
1133
1133
|
include Google::Apis::Core::Hashable
|
1134
1134
|
|
1135
1135
|
# Integer octal mode bits to use on this file, must be a value between 01 and
|
@@ -1170,12 +1170,12 @@ module Google
|
|
1170
1170
|
end
|
1171
1171
|
|
1172
1172
|
# Volume represents a named volume in a container.
|
1173
|
-
class
|
1173
|
+
class GoogleCloudRunV2Volume
|
1174
1174
|
include Google::Apis::Core::Hashable
|
1175
1175
|
|
1176
1176
|
# Represents a specific Cloud SQL instance.
|
1177
1177
|
# Corresponds to the JSON property `cloudSqlInstance`
|
1178
|
-
# @return [Google::Apis::RunV2::
|
1178
|
+
# @return [Google::Apis::RunV2::GoogleCloudRunV2CloudSqlInstance]
|
1179
1179
|
attr_accessor :cloud_sql_instance
|
1180
1180
|
|
1181
1181
|
# Required. Volume's name.
|
@@ -1187,7 +1187,7 @@ module Google
|
|
1187
1187
|
# defined in the item path. If no items are defined, the name of the file is the
|
1188
1188
|
# secret.
|
1189
1189
|
# Corresponds to the JSON property `secret`
|
1190
|
-
# @return [Google::Apis::RunV2::
|
1190
|
+
# @return [Google::Apis::RunV2::GoogleCloudRunV2SecretVolumeSource]
|
1191
1191
|
attr_accessor :secret
|
1192
1192
|
|
1193
1193
|
def initialize(**args)
|
@@ -1203,7 +1203,7 @@ module Google
|
|
1203
1203
|
end
|
1204
1204
|
|
1205
1205
|
# VolumeMount describes a mounting of a Volume within a container.
|
1206
|
-
class
|
1206
|
+
class GoogleCloudRunV2VolumeMount
|
1207
1207
|
include Google::Apis::Core::Hashable
|
1208
1208
|
|
1209
1209
|
# Required. Path within the container at which the volume should be mounted.
|
@@ -1235,7 +1235,7 @@ module Google
|
|
1235
1235
|
# https://cloud.google.com/vpc/docs/configure-serverless-vpc-access For
|
1236
1236
|
# information on how to configure Cloud Run with an existing VPC Connector,
|
1237
1237
|
# visit https://cloud.google.com/run/docs/configuring/connecting-vpc
|
1238
|
-
class
|
1238
|
+
class GoogleCloudRunV2VpcAccess
|
1239
1239
|
include Google::Apis::Core::Hashable
|
1240
1240
|
|
1241
1241
|
# VPC Access connector name. Format: projects/`project`/locations/`location`/
|
@@ -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.7.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 = "20220304"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -22,133 +22,133 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module RunV2
|
24
24
|
|
25
|
-
class
|
25
|
+
class GoogleCloudRunV2BinaryAuthorization
|
26
26
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
27
|
|
28
28
|
include Google::Apis::Core::JsonObjectSupport
|
29
29
|
end
|
30
30
|
|
31
|
-
class
|
31
|
+
class GoogleCloudRunV2CloudSqlInstance
|
32
32
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
33
|
|
34
34
|
include Google::Apis::Core::JsonObjectSupport
|
35
35
|
end
|
36
36
|
|
37
|
-
class
|
37
|
+
class GoogleCloudRunV2Condition
|
38
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
39
|
|
40
40
|
include Google::Apis::Core::JsonObjectSupport
|
41
41
|
end
|
42
42
|
|
43
|
-
class
|
43
|
+
class GoogleCloudRunV2Container
|
44
44
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
45
|
|
46
46
|
include Google::Apis::Core::JsonObjectSupport
|
47
47
|
end
|
48
48
|
|
49
|
-
class
|
49
|
+
class GoogleCloudRunV2ContainerPort
|
50
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
51
|
|
52
52
|
include Google::Apis::Core::JsonObjectSupport
|
53
53
|
end
|
54
54
|
|
55
|
-
class
|
55
|
+
class GoogleCloudRunV2EnvVar
|
56
56
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
57
|
|
58
58
|
include Google::Apis::Core::JsonObjectSupport
|
59
59
|
end
|
60
60
|
|
61
|
-
class
|
61
|
+
class GoogleCloudRunV2EnvVarSource
|
62
62
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
63
|
|
64
64
|
include Google::Apis::Core::JsonObjectSupport
|
65
65
|
end
|
66
66
|
|
67
|
-
class
|
67
|
+
class GoogleCloudRunV2ListRevisionsResponse
|
68
68
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
69
|
|
70
70
|
include Google::Apis::Core::JsonObjectSupport
|
71
71
|
end
|
72
72
|
|
73
|
-
class
|
73
|
+
class GoogleCloudRunV2ListServicesResponse
|
74
74
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
75
|
|
76
76
|
include Google::Apis::Core::JsonObjectSupport
|
77
77
|
end
|
78
78
|
|
79
|
-
class
|
79
|
+
class GoogleCloudRunV2ResourceRequirements
|
80
80
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
81
|
|
82
82
|
include Google::Apis::Core::JsonObjectSupport
|
83
83
|
end
|
84
84
|
|
85
|
-
class
|
85
|
+
class GoogleCloudRunV2Revision
|
86
86
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
87
|
|
88
88
|
include Google::Apis::Core::JsonObjectSupport
|
89
89
|
end
|
90
90
|
|
91
|
-
class
|
91
|
+
class GoogleCloudRunV2RevisionScaling
|
92
92
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
93
|
|
94
94
|
include Google::Apis::Core::JsonObjectSupport
|
95
95
|
end
|
96
96
|
|
97
|
-
class
|
97
|
+
class GoogleCloudRunV2RevisionTemplate
|
98
98
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
99
|
|
100
100
|
include Google::Apis::Core::JsonObjectSupport
|
101
101
|
end
|
102
102
|
|
103
|
-
class
|
103
|
+
class GoogleCloudRunV2SecretKeySelector
|
104
104
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
105
|
|
106
106
|
include Google::Apis::Core::JsonObjectSupport
|
107
107
|
end
|
108
108
|
|
109
|
-
class
|
109
|
+
class GoogleCloudRunV2SecretVolumeSource
|
110
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
111
|
|
112
112
|
include Google::Apis::Core::JsonObjectSupport
|
113
113
|
end
|
114
114
|
|
115
|
-
class
|
115
|
+
class GoogleCloudRunV2Service
|
116
116
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
117
|
|
118
118
|
include Google::Apis::Core::JsonObjectSupport
|
119
119
|
end
|
120
120
|
|
121
|
-
class
|
121
|
+
class GoogleCloudRunV2TrafficTarget
|
122
122
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
123
|
|
124
124
|
include Google::Apis::Core::JsonObjectSupport
|
125
125
|
end
|
126
126
|
|
127
|
-
class
|
127
|
+
class GoogleCloudRunV2TrafficTargetStatus
|
128
128
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
129
|
|
130
130
|
include Google::Apis::Core::JsonObjectSupport
|
131
131
|
end
|
132
132
|
|
133
|
-
class
|
133
|
+
class GoogleCloudRunV2VersionToPath
|
134
134
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
135
|
|
136
136
|
include Google::Apis::Core::JsonObjectSupport
|
137
137
|
end
|
138
138
|
|
139
|
-
class
|
139
|
+
class GoogleCloudRunV2Volume
|
140
140
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
141
|
|
142
142
|
include Google::Apis::Core::JsonObjectSupport
|
143
143
|
end
|
144
144
|
|
145
|
-
class
|
145
|
+
class GoogleCloudRunV2VolumeMount
|
146
146
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
147
|
|
148
148
|
include Google::Apis::Core::JsonObjectSupport
|
149
149
|
end
|
150
150
|
|
151
|
-
class
|
151
|
+
class GoogleCloudRunV2VpcAccess
|
152
152
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
153
|
|
154
154
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -226,7 +226,7 @@ module Google
|
|
226
226
|
include Google::Apis::Core::JsonObjectSupport
|
227
227
|
end
|
228
228
|
|
229
|
-
class
|
229
|
+
class GoogleCloudRunV2BinaryAuthorization
|
230
230
|
# @private
|
231
231
|
class Representation < Google::Apis::Core::JsonRepresentation
|
232
232
|
property :breakglass_justification, as: 'breakglassJustification'
|
@@ -234,14 +234,14 @@ module Google
|
|
234
234
|
end
|
235
235
|
end
|
236
236
|
|
237
|
-
class
|
237
|
+
class GoogleCloudRunV2CloudSqlInstance
|
238
238
|
# @private
|
239
239
|
class Representation < Google::Apis::Core::JsonRepresentation
|
240
240
|
collection :connections, as: 'connections'
|
241
241
|
end
|
242
242
|
end
|
243
243
|
|
244
|
-
class
|
244
|
+
class GoogleCloudRunV2Condition
|
245
245
|
# @private
|
246
246
|
class Representation < Google::Apis::Core::JsonRepresentation
|
247
247
|
property :domain_mapping_reason, as: 'domainMappingReason'
|
@@ -257,25 +257,25 @@ module Google
|
|
257
257
|
end
|
258
258
|
end
|
259
259
|
|
260
|
-
class
|
260
|
+
class GoogleCloudRunV2Container
|
261
261
|
# @private
|
262
262
|
class Representation < Google::Apis::Core::JsonRepresentation
|
263
263
|
collection :args, as: 'args'
|
264
264
|
collection :command, as: 'command'
|
265
|
-
collection :env, as: 'env', class: Google::Apis::RunV2::
|
265
|
+
collection :env, as: 'env', class: Google::Apis::RunV2::GoogleCloudRunV2EnvVar, decorator: Google::Apis::RunV2::GoogleCloudRunV2EnvVar::Representation
|
266
266
|
|
267
267
|
property :image, as: 'image'
|
268
268
|
property :name, as: 'name'
|
269
|
-
collection :ports, as: 'ports', class: Google::Apis::RunV2::
|
269
|
+
collection :ports, as: 'ports', class: Google::Apis::RunV2::GoogleCloudRunV2ContainerPort, decorator: Google::Apis::RunV2::GoogleCloudRunV2ContainerPort::Representation
|
270
270
|
|
271
|
-
property :resources, as: 'resources', class: Google::Apis::RunV2::
|
271
|
+
property :resources, as: 'resources', class: Google::Apis::RunV2::GoogleCloudRunV2ResourceRequirements, decorator: Google::Apis::RunV2::GoogleCloudRunV2ResourceRequirements::Representation
|
272
272
|
|
273
|
-
collection :volume_mounts, as: 'volumeMounts', class: Google::Apis::RunV2::
|
273
|
+
collection :volume_mounts, as: 'volumeMounts', class: Google::Apis::RunV2::GoogleCloudRunV2VolumeMount, decorator: Google::Apis::RunV2::GoogleCloudRunV2VolumeMount::Representation
|
274
274
|
|
275
275
|
end
|
276
276
|
end
|
277
277
|
|
278
|
-
class
|
278
|
+
class GoogleCloudRunV2ContainerPort
|
279
279
|
# @private
|
280
280
|
class Representation < Google::Apis::Core::JsonRepresentation
|
281
281
|
property :container_port, as: 'containerPort'
|
@@ -283,43 +283,43 @@ module Google
|
|
283
283
|
end
|
284
284
|
end
|
285
285
|
|
286
|
-
class
|
286
|
+
class GoogleCloudRunV2EnvVar
|
287
287
|
# @private
|
288
288
|
class Representation < Google::Apis::Core::JsonRepresentation
|
289
289
|
property :name, as: 'name'
|
290
290
|
property :value, as: 'value'
|
291
|
-
property :value_source, as: 'valueSource', class: Google::Apis::RunV2::
|
291
|
+
property :value_source, as: 'valueSource', class: Google::Apis::RunV2::GoogleCloudRunV2EnvVarSource, decorator: Google::Apis::RunV2::GoogleCloudRunV2EnvVarSource::Representation
|
292
292
|
|
293
293
|
end
|
294
294
|
end
|
295
295
|
|
296
|
-
class
|
296
|
+
class GoogleCloudRunV2EnvVarSource
|
297
297
|
# @private
|
298
298
|
class Representation < Google::Apis::Core::JsonRepresentation
|
299
|
-
property :secret_key_ref, as: 'secretKeyRef', class: Google::Apis::RunV2::
|
299
|
+
property :secret_key_ref, as: 'secretKeyRef', class: Google::Apis::RunV2::GoogleCloudRunV2SecretKeySelector, decorator: Google::Apis::RunV2::GoogleCloudRunV2SecretKeySelector::Representation
|
300
300
|
|
301
301
|
end
|
302
302
|
end
|
303
303
|
|
304
|
-
class
|
304
|
+
class GoogleCloudRunV2ListRevisionsResponse
|
305
305
|
# @private
|
306
306
|
class Representation < Google::Apis::Core::JsonRepresentation
|
307
307
|
property :next_page_token, as: 'nextPageToken'
|
308
|
-
collection :revisions, as: 'revisions', class: Google::Apis::RunV2::
|
308
|
+
collection :revisions, as: 'revisions', class: Google::Apis::RunV2::GoogleCloudRunV2Revision, decorator: Google::Apis::RunV2::GoogleCloudRunV2Revision::Representation
|
309
309
|
|
310
310
|
end
|
311
311
|
end
|
312
312
|
|
313
|
-
class
|
313
|
+
class GoogleCloudRunV2ListServicesResponse
|
314
314
|
# @private
|
315
315
|
class Representation < Google::Apis::Core::JsonRepresentation
|
316
316
|
property :next_page_token, as: 'nextPageToken'
|
317
|
-
collection :services, as: 'services', class: Google::Apis::RunV2::
|
317
|
+
collection :services, as: 'services', class: Google::Apis::RunV2::GoogleCloudRunV2Service, decorator: Google::Apis::RunV2::GoogleCloudRunV2Service::Representation
|
318
318
|
|
319
319
|
end
|
320
320
|
end
|
321
321
|
|
322
|
-
class
|
322
|
+
class GoogleCloudRunV2ResourceRequirements
|
323
323
|
# @private
|
324
324
|
class Representation < Google::Apis::Core::JsonRepresentation
|
325
325
|
property :cpu_idle, as: 'cpuIdle'
|
@@ -327,15 +327,15 @@ module Google
|
|
327
327
|
end
|
328
328
|
end
|
329
329
|
|
330
|
-
class
|
330
|
+
class GoogleCloudRunV2Revision
|
331
331
|
# @private
|
332
332
|
class Representation < Google::Apis::Core::JsonRepresentation
|
333
333
|
hash :annotations, as: 'annotations'
|
334
|
-
collection :conditions, as: 'conditions', class: Google::Apis::RunV2::
|
334
|
+
collection :conditions, as: 'conditions', class: Google::Apis::RunV2::GoogleCloudRunV2Condition, decorator: Google::Apis::RunV2::GoogleCloudRunV2Condition::Representation
|
335
335
|
|
336
336
|
property :confidential, as: 'confidential'
|
337
337
|
property :container_concurrency, as: 'containerConcurrency'
|
338
|
-
collection :containers, as: 'containers', class: Google::Apis::RunV2::
|
338
|
+
collection :containers, as: 'containers', class: Google::Apis::RunV2::GoogleCloudRunV2Container, decorator: Google::Apis::RunV2::GoogleCloudRunV2Container::Representation
|
339
339
|
|
340
340
|
property :create_time, as: 'createTime'
|
341
341
|
property :delete_time, as: 'deleteTime'
|
@@ -350,21 +350,21 @@ module Google
|
|
350
350
|
property :name, as: 'name'
|
351
351
|
property :observed_generation, :numeric_string => true, as: 'observedGeneration'
|
352
352
|
property :reconciling, as: 'reconciling'
|
353
|
-
property :scaling, as: 'scaling', class: Google::Apis::RunV2::
|
353
|
+
property :scaling, as: 'scaling', class: Google::Apis::RunV2::GoogleCloudRunV2RevisionScaling, decorator: Google::Apis::RunV2::GoogleCloudRunV2RevisionScaling::Representation
|
354
354
|
|
355
355
|
property :service, as: 'service'
|
356
356
|
property :service_account, as: 'serviceAccount'
|
357
357
|
property :timeout, as: 'timeout'
|
358
358
|
property :uid, as: 'uid'
|
359
359
|
property :update_time, as: 'updateTime'
|
360
|
-
collection :volumes, as: 'volumes', class: Google::Apis::RunV2::
|
360
|
+
collection :volumes, as: 'volumes', class: Google::Apis::RunV2::GoogleCloudRunV2Volume, decorator: Google::Apis::RunV2::GoogleCloudRunV2Volume::Representation
|
361
361
|
|
362
|
-
property :vpc_access, as: 'vpcAccess', class: Google::Apis::RunV2::
|
362
|
+
property :vpc_access, as: 'vpcAccess', class: Google::Apis::RunV2::GoogleCloudRunV2VpcAccess, decorator: Google::Apis::RunV2::GoogleCloudRunV2VpcAccess::Representation
|
363
363
|
|
364
364
|
end
|
365
365
|
end
|
366
366
|
|
367
|
-
class
|
367
|
+
class GoogleCloudRunV2RevisionScaling
|
368
368
|
# @private
|
369
369
|
class Representation < Google::Apis::Core::JsonRepresentation
|
370
370
|
property :max_instance_count, as: 'maxInstanceCount'
|
@@ -372,30 +372,30 @@ module Google
|
|
372
372
|
end
|
373
373
|
end
|
374
374
|
|
375
|
-
class
|
375
|
+
class GoogleCloudRunV2RevisionTemplate
|
376
376
|
# @private
|
377
377
|
class Representation < Google::Apis::Core::JsonRepresentation
|
378
378
|
hash :annotations, as: 'annotations'
|
379
379
|
property :confidential, as: 'confidential'
|
380
380
|
property :container_concurrency, as: 'containerConcurrency'
|
381
|
-
collection :containers, as: 'containers', class: Google::Apis::RunV2::
|
381
|
+
collection :containers, as: 'containers', class: Google::Apis::RunV2::GoogleCloudRunV2Container, decorator: Google::Apis::RunV2::GoogleCloudRunV2Container::Representation
|
382
382
|
|
383
383
|
property :encryption_key, as: 'encryptionKey'
|
384
384
|
property :execution_environment, as: 'executionEnvironment'
|
385
385
|
hash :labels, as: 'labels'
|
386
386
|
property :revision, as: 'revision'
|
387
|
-
property :scaling, as: 'scaling', class: Google::Apis::RunV2::
|
387
|
+
property :scaling, as: 'scaling', class: Google::Apis::RunV2::GoogleCloudRunV2RevisionScaling, decorator: Google::Apis::RunV2::GoogleCloudRunV2RevisionScaling::Representation
|
388
388
|
|
389
389
|
property :service_account, as: 'serviceAccount'
|
390
390
|
property :timeout, as: 'timeout'
|
391
|
-
collection :volumes, as: 'volumes', class: Google::Apis::RunV2::
|
391
|
+
collection :volumes, as: 'volumes', class: Google::Apis::RunV2::GoogleCloudRunV2Volume, decorator: Google::Apis::RunV2::GoogleCloudRunV2Volume::Representation
|
392
392
|
|
393
|
-
property :vpc_access, as: 'vpcAccess', class: Google::Apis::RunV2::
|
393
|
+
property :vpc_access, as: 'vpcAccess', class: Google::Apis::RunV2::GoogleCloudRunV2VpcAccess, decorator: Google::Apis::RunV2::GoogleCloudRunV2VpcAccess::Representation
|
394
394
|
|
395
395
|
end
|
396
396
|
end
|
397
397
|
|
398
|
-
class
|
398
|
+
class GoogleCloudRunV2SecretKeySelector
|
399
399
|
# @private
|
400
400
|
class Representation < Google::Apis::Core::JsonRepresentation
|
401
401
|
property :secret, as: 'secret'
|
@@ -403,25 +403,25 @@ module Google
|
|
403
403
|
end
|
404
404
|
end
|
405
405
|
|
406
|
-
class
|
406
|
+
class GoogleCloudRunV2SecretVolumeSource
|
407
407
|
# @private
|
408
408
|
class Representation < Google::Apis::Core::JsonRepresentation
|
409
409
|
property :default_mode, as: 'defaultMode'
|
410
|
-
collection :items, as: 'items', class: Google::Apis::RunV2::
|
410
|
+
collection :items, as: 'items', class: Google::Apis::RunV2::GoogleCloudRunV2VersionToPath, decorator: Google::Apis::RunV2::GoogleCloudRunV2VersionToPath::Representation
|
411
411
|
|
412
412
|
property :secret, as: 'secret'
|
413
413
|
end
|
414
414
|
end
|
415
415
|
|
416
|
-
class
|
416
|
+
class GoogleCloudRunV2Service
|
417
417
|
# @private
|
418
418
|
class Representation < Google::Apis::Core::JsonRepresentation
|
419
419
|
hash :annotations, as: 'annotations'
|
420
|
-
property :binary_authorization, as: 'binaryAuthorization', class: Google::Apis::RunV2::
|
420
|
+
property :binary_authorization, as: 'binaryAuthorization', class: Google::Apis::RunV2::GoogleCloudRunV2BinaryAuthorization, decorator: Google::Apis::RunV2::GoogleCloudRunV2BinaryAuthorization::Representation
|
421
421
|
|
422
422
|
property :client, as: 'client'
|
423
423
|
property :client_version, as: 'clientVersion'
|
424
|
-
collection :conditions, as: 'conditions', class: Google::Apis::RunV2::
|
424
|
+
collection :conditions, as: 'conditions', class: Google::Apis::RunV2::GoogleCloudRunV2Condition, decorator: Google::Apis::RunV2::GoogleCloudRunV2Condition::Representation
|
425
425
|
|
426
426
|
property :create_time, as: 'createTime'
|
427
427
|
property :creator, as: 'creator'
|
@@ -439,13 +439,13 @@ module Google
|
|
439
439
|
property :name, as: 'name'
|
440
440
|
property :observed_generation, :numeric_string => true, as: 'observedGeneration'
|
441
441
|
property :reconciling, as: 'reconciling'
|
442
|
-
property :template, as: 'template', class: Google::Apis::RunV2::
|
442
|
+
property :template, as: 'template', class: Google::Apis::RunV2::GoogleCloudRunV2RevisionTemplate, decorator: Google::Apis::RunV2::GoogleCloudRunV2RevisionTemplate::Representation
|
443
443
|
|
444
|
-
property :terminal_condition, as: 'terminalCondition', class: Google::Apis::RunV2::
|
444
|
+
property :terminal_condition, as: 'terminalCondition', class: Google::Apis::RunV2::GoogleCloudRunV2Condition, decorator: Google::Apis::RunV2::GoogleCloudRunV2Condition::Representation
|
445
445
|
|
446
|
-
collection :traffic, as: 'traffic', class: Google::Apis::RunV2::
|
446
|
+
collection :traffic, as: 'traffic', class: Google::Apis::RunV2::GoogleCloudRunV2TrafficTarget, decorator: Google::Apis::RunV2::GoogleCloudRunV2TrafficTarget::Representation
|
447
447
|
|
448
|
-
collection :traffic_statuses, as: 'trafficStatuses', class: Google::Apis::RunV2::
|
448
|
+
collection :traffic_statuses, as: 'trafficStatuses', class: Google::Apis::RunV2::GoogleCloudRunV2TrafficTargetStatus, decorator: Google::Apis::RunV2::GoogleCloudRunV2TrafficTargetStatus::Representation
|
449
449
|
|
450
450
|
property :uid, as: 'uid'
|
451
451
|
property :update_time, as: 'updateTime'
|
@@ -453,7 +453,7 @@ module Google
|
|
453
453
|
end
|
454
454
|
end
|
455
455
|
|
456
|
-
class
|
456
|
+
class GoogleCloudRunV2TrafficTarget
|
457
457
|
# @private
|
458
458
|
class Representation < Google::Apis::Core::JsonRepresentation
|
459
459
|
property :percent, as: 'percent'
|
@@ -463,7 +463,7 @@ module Google
|
|
463
463
|
end
|
464
464
|
end
|
465
465
|
|
466
|
-
class
|
466
|
+
class GoogleCloudRunV2TrafficTargetStatus
|
467
467
|
# @private
|
468
468
|
class Representation < Google::Apis::Core::JsonRepresentation
|
469
469
|
property :percent, as: 'percent'
|
@@ -474,7 +474,7 @@ module Google
|
|
474
474
|
end
|
475
475
|
end
|
476
476
|
|
477
|
-
class
|
477
|
+
class GoogleCloudRunV2VersionToPath
|
478
478
|
# @private
|
479
479
|
class Representation < Google::Apis::Core::JsonRepresentation
|
480
480
|
property :mode, as: 'mode'
|
@@ -483,18 +483,18 @@ module Google
|
|
483
483
|
end
|
484
484
|
end
|
485
485
|
|
486
|
-
class
|
486
|
+
class GoogleCloudRunV2Volume
|
487
487
|
# @private
|
488
488
|
class Representation < Google::Apis::Core::JsonRepresentation
|
489
|
-
property :cloud_sql_instance, as: 'cloudSqlInstance', class: Google::Apis::RunV2::
|
489
|
+
property :cloud_sql_instance, as: 'cloudSqlInstance', class: Google::Apis::RunV2::GoogleCloudRunV2CloudSqlInstance, decorator: Google::Apis::RunV2::GoogleCloudRunV2CloudSqlInstance::Representation
|
490
490
|
|
491
491
|
property :name, as: 'name'
|
492
|
-
property :secret, as: 'secret', class: Google::Apis::RunV2::
|
492
|
+
property :secret, as: 'secret', class: Google::Apis::RunV2::GoogleCloudRunV2SecretVolumeSource, decorator: Google::Apis::RunV2::GoogleCloudRunV2SecretVolumeSource::Representation
|
493
493
|
|
494
494
|
end
|
495
495
|
end
|
496
496
|
|
497
|
-
class
|
497
|
+
class GoogleCloudRunV2VolumeMount
|
498
498
|
# @private
|
499
499
|
class Representation < Google::Apis::Core::JsonRepresentation
|
500
500
|
property :mount_path, as: 'mountPath'
|
@@ -502,7 +502,7 @@ module Google
|
|
502
502
|
end
|
503
503
|
end
|
504
504
|
|
505
|
-
class
|
505
|
+
class GoogleCloudRunV2VpcAccess
|
506
506
|
# @private
|
507
507
|
class Representation < Google::Apis::Core::JsonRepresentation
|
508
508
|
property :connector, as: 'connector'
|
@@ -172,7 +172,7 @@ module Google
|
|
172
172
|
# @param [String] parent
|
173
173
|
# Required. The location and project in which this service should be created.
|
174
174
|
# Format: projects/`projectnumber`/locations/`location`
|
175
|
-
# @param [Google::Apis::RunV2::
|
175
|
+
# @param [Google::Apis::RunV2::GoogleCloudRunV2Service] google_cloud_run_v2_service_object
|
176
176
|
# @param [String] service_id
|
177
177
|
# Required. The unique identifier for the Service. The name of the service
|
178
178
|
# becomes `parent`/services/`service_id`.
|
@@ -196,10 +196,10 @@ module Google
|
|
196
196
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
197
197
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
198
198
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
199
|
-
def create_project_location_service(parent,
|
199
|
+
def create_project_location_service(parent, google_cloud_run_v2_service_object = nil, service_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
|
200
200
|
command = make_simple_command(:post, 'v2/{+parent}/services', options)
|
201
|
-
command.request_representation = Google::Apis::RunV2::
|
202
|
-
command.request_object =
|
201
|
+
command.request_representation = Google::Apis::RunV2::GoogleCloudRunV2Service::Representation
|
202
|
+
command.request_object = google_cloud_run_v2_service_object
|
203
203
|
command.response_representation = Google::Apis::RunV2::GoogleLongrunningOperation::Representation
|
204
204
|
command.response_class = Google::Apis::RunV2::GoogleLongrunningOperation
|
205
205
|
command.params['parent'] = parent unless parent.nil?
|
@@ -263,18 +263,18 @@ module Google
|
|
263
263
|
# Request-specific options
|
264
264
|
#
|
265
265
|
# @yield [result, err] Result & error if block supplied
|
266
|
-
# @yieldparam result [Google::Apis::RunV2::
|
266
|
+
# @yieldparam result [Google::Apis::RunV2::GoogleCloudRunV2Service] parsed result object
|
267
267
|
# @yieldparam err [StandardError] error object if request failed
|
268
268
|
#
|
269
|
-
# @return [Google::Apis::RunV2::
|
269
|
+
# @return [Google::Apis::RunV2::GoogleCloudRunV2Service]
|
270
270
|
#
|
271
271
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
272
272
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
273
273
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
274
274
|
def get_project_location_service(name, fields: nil, quota_user: nil, options: nil, &block)
|
275
275
|
command = make_simple_command(:get, 'v2/{+name}', options)
|
276
|
-
command.response_representation = Google::Apis::RunV2::
|
277
|
-
command.response_class = Google::Apis::RunV2::
|
276
|
+
command.response_representation = Google::Apis::RunV2::GoogleCloudRunV2Service::Representation
|
277
|
+
command.response_class = Google::Apis::RunV2::GoogleCloudRunV2Service
|
278
278
|
command.params['name'] = name unless name.nil?
|
279
279
|
command.query['fields'] = fields unless fields.nil?
|
280
280
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -346,18 +346,18 @@ module Google
|
|
346
346
|
# Request-specific options
|
347
347
|
#
|
348
348
|
# @yield [result, err] Result & error if block supplied
|
349
|
-
# @yieldparam result [Google::Apis::RunV2::
|
349
|
+
# @yieldparam result [Google::Apis::RunV2::GoogleCloudRunV2ListServicesResponse] parsed result object
|
350
350
|
# @yieldparam err [StandardError] error object if request failed
|
351
351
|
#
|
352
|
-
# @return [Google::Apis::RunV2::
|
352
|
+
# @return [Google::Apis::RunV2::GoogleCloudRunV2ListServicesResponse]
|
353
353
|
#
|
354
354
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
355
355
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
356
356
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
357
357
|
def list_project_location_services(parent, page_size: nil, page_token: nil, show_deleted: nil, fields: nil, quota_user: nil, options: nil, &block)
|
358
358
|
command = make_simple_command(:get, 'v2/{+parent}/services', options)
|
359
|
-
command.response_representation = Google::Apis::RunV2::
|
360
|
-
command.response_class = Google::Apis::RunV2::
|
359
|
+
command.response_representation = Google::Apis::RunV2::GoogleCloudRunV2ListServicesResponse::Representation
|
360
|
+
command.response_class = Google::Apis::RunV2::GoogleCloudRunV2ListServicesResponse
|
361
361
|
command.params['parent'] = parent unless parent.nil?
|
362
362
|
command.query['pageSize'] = page_size unless page_size.nil?
|
363
363
|
command.query['pageToken'] = page_token unless page_token.nil?
|
@@ -373,7 +373,7 @@ module Google
|
|
373
373
|
# is ignored, and instead composed from CreateServiceRequest.parent and
|
374
374
|
# CreateServiceRequest.service_id. Format: projects/`project`/locations/`
|
375
375
|
# location`/services/`service_id`
|
376
|
-
# @param [Google::Apis::RunV2::
|
376
|
+
# @param [Google::Apis::RunV2::GoogleCloudRunV2Service] google_cloud_run_v2_service_object
|
377
377
|
# @param [Boolean] allow_missing
|
378
378
|
# If set to true, and if the Service does not exist, it will create a new one.
|
379
379
|
# Caller must have both create and update permissions for this call if this is
|
@@ -400,10 +400,10 @@ module Google
|
|
400
400
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
401
401
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
402
402
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
403
|
-
def patch_project_location_service(name,
|
403
|
+
def patch_project_location_service(name, google_cloud_run_v2_service_object = nil, allow_missing: nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
|
404
404
|
command = make_simple_command(:patch, 'v2/{+name}', options)
|
405
|
-
command.request_representation = Google::Apis::RunV2::
|
406
|
-
command.request_object =
|
405
|
+
command.request_representation = Google::Apis::RunV2::GoogleCloudRunV2Service::Representation
|
406
|
+
command.request_object = google_cloud_run_v2_service_object
|
407
407
|
command.response_representation = Google::Apis::RunV2::GoogleLongrunningOperation::Representation
|
408
408
|
command.response_class = Google::Apis::RunV2::GoogleLongrunningOperation
|
409
409
|
command.params['name'] = name unless name.nil?
|
@@ -537,18 +537,18 @@ module Google
|
|
537
537
|
# Request-specific options
|
538
538
|
#
|
539
539
|
# @yield [result, err] Result & error if block supplied
|
540
|
-
# @yieldparam result [Google::Apis::RunV2::
|
540
|
+
# @yieldparam result [Google::Apis::RunV2::GoogleCloudRunV2Revision] parsed result object
|
541
541
|
# @yieldparam err [StandardError] error object if request failed
|
542
542
|
#
|
543
|
-
# @return [Google::Apis::RunV2::
|
543
|
+
# @return [Google::Apis::RunV2::GoogleCloudRunV2Revision]
|
544
544
|
#
|
545
545
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
546
546
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
547
547
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
548
548
|
def get_project_location_service_revision(name, fields: nil, quota_user: nil, options: nil, &block)
|
549
549
|
command = make_simple_command(:get, 'v2/{+name}', options)
|
550
|
-
command.response_representation = Google::Apis::RunV2::
|
551
|
-
command.response_class = Google::Apis::RunV2::
|
550
|
+
command.response_representation = Google::Apis::RunV2::GoogleCloudRunV2Revision::Representation
|
551
|
+
command.response_class = Google::Apis::RunV2::GoogleCloudRunV2Revision
|
552
552
|
command.params['name'] = name unless name.nil?
|
553
553
|
command.query['fields'] = fields unless fields.nil?
|
554
554
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -576,18 +576,18 @@ module Google
|
|
576
576
|
# Request-specific options
|
577
577
|
#
|
578
578
|
# @yield [result, err] Result & error if block supplied
|
579
|
-
# @yieldparam result [Google::Apis::RunV2::
|
579
|
+
# @yieldparam result [Google::Apis::RunV2::GoogleCloudRunV2ListRevisionsResponse] parsed result object
|
580
580
|
# @yieldparam err [StandardError] error object if request failed
|
581
581
|
#
|
582
|
-
# @return [Google::Apis::RunV2::
|
582
|
+
# @return [Google::Apis::RunV2::GoogleCloudRunV2ListRevisionsResponse]
|
583
583
|
#
|
584
584
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
585
585
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
586
586
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
587
587
|
def list_project_location_service_revisions(parent, page_size: nil, page_token: nil, show_deleted: nil, fields: nil, quota_user: nil, options: nil, &block)
|
588
588
|
command = make_simple_command(:get, 'v2/{+parent}/revisions', options)
|
589
|
-
command.response_representation = Google::Apis::RunV2::
|
590
|
-
command.response_class = Google::Apis::RunV2::
|
589
|
+
command.response_representation = Google::Apis::RunV2::GoogleCloudRunV2ListRevisionsResponse::Representation
|
590
|
+
command.response_class = Google::Apis::RunV2::GoogleCloudRunV2ListRevisionsResponse
|
591
591
|
command.params['parent'] = parent unless parent.nil?
|
592
592
|
command.query['pageSize'] = page_size unless page_size.nil?
|
593
593
|
command.query['pageToken'] = page_token unless page_token.nil?
|
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.7.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-03-14 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.7.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: []
|