google-apis-run_v2 0.6.0 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7088166706bf11a0e540b9f8d9c514c9a04eb37dd08394169dc75a5c73c0ac0d
4
- data.tar.gz: 8d1d2d91947b17ade657248ef9e0cf0eb747017038e1ec2dd2367f4bcd0c3bcb
3
+ metadata.gz: 1e3dd44499b83e8b945ba4b7eb58a15dd0c34e2352149c1fc0e9347732e761db
4
+ data.tar.gz: 4b605e6508a4b7c8166fb43efd3673db63d0373c82ebede69b1ebf283b9ede16
5
5
  SHA512:
6
- metadata.gz: 48f2ddefd72ab73856bada8db9eba4b880d41e21df0e66677281cd6a692711afb95c0ec39dd5b01607d862b7ac7d942377e8e73258b121ac6de2bf612dcc1c82
7
- data.tar.gz: c361a3827757a49fed69d03901c2347eb08e7c563586be1e784eedfe4a05483196549cf3b41b75e95d5bcda321bf3ba8b64f5c03013d1762422bd968ddb83dbf
6
+ metadata.gz: 6145f89352bebb36eb8b722ac0bff027df0b85125faba9f9839b95a3e0f0a43e27aa91879cfd52e6a66ca361ccf1da7c127bc2f27f87de07313e608fc18dbd89
7
+ data.tar.gz: bc13b5abf378b1c29441cd96049767ddddf058b1c7c95cfd915c2c6710561b63bf5b13a9670e69f8a695ae3d963ae47882128d45c93edf799d82908156127dc9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-run_v2
2
2
 
3
+ ### v0.9.0 (2022-04-06)
4
+
5
+ * Regenerated from discovery document revision 20220401
6
+
7
+ ### v0.8.0 (2022-03-23)
8
+
9
+ * Regenerated from discovery document revision 20220318
10
+
11
+ ### v0.7.0 (2022-03-10)
12
+
13
+ * Regenerated from discovery document revision 20220304
14
+
3
15
  ### v0.6.0 (2022-02-23)
4
16
 
5
17
  * Regenerated from discovery document revision 20220218
@@ -23,7 +23,7 @@ module Google
23
23
  module RunV2
24
24
 
25
25
  # Settings for Binary Authorization feature.
26
- class GoogleCloudRunOpV2BinaryAuthorization
26
+ class GoogleCloudRunV2BinaryAuthorization
27
27
  include Google::Apis::Core::Hashable
28
28
 
29
29
  # If present, indicates to use Breakglass using this justification. If
@@ -34,6 +34,12 @@ 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
+
37
43
  # If True, indicates to use the default project's binary authorization policy.
38
44
  # If False, binary authorization will be disabled.
39
45
  # Corresponds to the JSON property `useDefault`
@@ -48,12 +54,13 @@ module Google
48
54
  # Update properties of this object
49
55
  def update!(**args)
50
56
  @breakglass_justification = args[:breakglass_justification] if args.key?(:breakglass_justification)
57
+ @policy = args[:policy] if args.key?(:policy)
51
58
  @use_default = args[:use_default] if args.key?(:use_default)
52
59
  end
53
60
  end
54
61
 
55
62
  # Represents a specific Cloud SQL instance.
56
- class GoogleCloudRunOpV2CloudSqlInstance
63
+ class GoogleCloudRunV2CloudSqlInstance
57
64
  include Google::Apis::Core::Hashable
58
65
 
59
66
  # The Cloud SQL instance connection names, as can be found in https://console.
@@ -75,7 +82,7 @@ module Google
75
82
  end
76
83
 
77
84
  # Defines a status condition for a resource.
78
- class GoogleCloudRunOpV2Condition
85
+ class GoogleCloudRunV2Condition
79
86
  include Google::Apis::Core::Hashable
80
87
 
81
88
  # A reason for the domain mapping condition.
@@ -153,7 +160,7 @@ module Google
153
160
  # A single application container. This specifies both the container to run, the
154
161
  # command to run in the container and the arguments to supply to it. Note that
155
162
  # additional arguments may be supplied by the system to the container at runtime.
156
- class GoogleCloudRunOpV2Container
163
+ class GoogleCloudRunV2Container
157
164
  include Google::Apis::Core::Hashable
158
165
 
159
166
  # Arguments to the entrypoint. The docker image's CMD is used if this is not
@@ -182,7 +189,7 @@ module Google
182
189
 
183
190
  # List of environment variables to set in the container.
184
191
  # Corresponds to the JSON property `env`
185
- # @return [Array<Google::Apis::RunV2::GoogleCloudRunOpV2EnvVar>]
192
+ # @return [Array<Google::Apis::RunV2::GoogleCloudRunV2EnvVar>]
186
193
  attr_accessor :env
187
194
 
188
195
  # Required. URL of the Container image in Google Container Registry or Docker
@@ -202,17 +209,17 @@ module Google
202
209
  # chosen and passed to the container through the PORT environment variable for
203
210
  # the container to listen on.
204
211
  # Corresponds to the JSON property `ports`
205
- # @return [Array<Google::Apis::RunV2::GoogleCloudRunOpV2ContainerPort>]
212
+ # @return [Array<Google::Apis::RunV2::GoogleCloudRunV2ContainerPort>]
206
213
  attr_accessor :ports
207
214
 
208
215
  # ResourceRequirements describes the compute resource requirements.
209
216
  # Corresponds to the JSON property `resources`
210
- # @return [Google::Apis::RunV2::GoogleCloudRunOpV2ResourceRequirements]
217
+ # @return [Google::Apis::RunV2::GoogleCloudRunV2ResourceRequirements]
211
218
  attr_accessor :resources
212
219
 
213
220
  # Volume to mount into the container's filesystem.
214
221
  # Corresponds to the JSON property `volumeMounts`
215
- # @return [Array<Google::Apis::RunV2::GoogleCloudRunOpV2VolumeMount>]
222
+ # @return [Array<Google::Apis::RunV2::GoogleCloudRunV2VolumeMount>]
216
223
  attr_accessor :volume_mounts
217
224
 
218
225
  def initialize(**args)
@@ -233,7 +240,7 @@ module Google
233
240
  end
234
241
 
235
242
  # ContainerPort represents a network port in a single container.
236
- class GoogleCloudRunOpV2ContainerPort
243
+ class GoogleCloudRunV2ContainerPort
237
244
  include Google::Apis::Core::Hashable
238
245
 
239
246
  # Port number the container listens on. This must be a valid TCP port number, 0 <
@@ -260,7 +267,7 @@ module Google
260
267
  end
261
268
 
262
269
  # EnvVar represents an environment variable present in a Container.
263
- class GoogleCloudRunOpV2EnvVar
270
+ class GoogleCloudRunV2EnvVar
264
271
  include Google::Apis::Core::Hashable
265
272
 
266
273
  # Required. Name of the environment variable. Must be a C_IDENTIFIER, and mnay
@@ -282,7 +289,7 @@ module Google
282
289
 
283
290
  # EnvVarSource represents a source for the value of an EnvVar.
284
291
  # Corresponds to the JSON property `valueSource`
285
- # @return [Google::Apis::RunV2::GoogleCloudRunOpV2EnvVarSource]
292
+ # @return [Google::Apis::RunV2::GoogleCloudRunV2EnvVarSource]
286
293
  attr_accessor :value_source
287
294
 
288
295
  def initialize(**args)
@@ -298,12 +305,12 @@ module Google
298
305
  end
299
306
 
300
307
  # EnvVarSource represents a source for the value of an EnvVar.
301
- class GoogleCloudRunOpV2EnvVarSource
308
+ class GoogleCloudRunV2EnvVarSource
302
309
  include Google::Apis::Core::Hashable
303
310
 
304
311
  # SecretEnvVarSource represents a source for the value of an EnvVar.
305
312
  # Corresponds to the JSON property `secretKeyRef`
306
- # @return [Google::Apis::RunV2::GoogleCloudRunOpV2SecretKeySelector]
313
+ # @return [Google::Apis::RunV2::GoogleCloudRunV2SecretKeySelector]
307
314
  attr_accessor :secret_key_ref
308
315
 
309
316
  def initialize(**args)
@@ -317,7 +324,7 @@ module Google
317
324
  end
318
325
 
319
326
  # Response message containing a list of Revisions.
320
- class GoogleCloudRunOpV2ListRevisionsResponse
327
+ class GoogleCloudRunV2ListRevisionsResponse
321
328
  include Google::Apis::Core::Hashable
322
329
 
323
330
  # A token indicating there are more items than page_size. Use it in the next
@@ -328,7 +335,7 @@ module Google
328
335
 
329
336
  # The resulting list of Revisions.
330
337
  # Corresponds to the JSON property `revisions`
331
- # @return [Array<Google::Apis::RunV2::GoogleCloudRunOpV2Revision>]
338
+ # @return [Array<Google::Apis::RunV2::GoogleCloudRunV2Revision>]
332
339
  attr_accessor :revisions
333
340
 
334
341
  def initialize(**args)
@@ -343,7 +350,7 @@ module Google
343
350
  end
344
351
 
345
352
  # Response message containing a list of Services.
346
- class GoogleCloudRunOpV2ListServicesResponse
353
+ class GoogleCloudRunV2ListServicesResponse
347
354
  include Google::Apis::Core::Hashable
348
355
 
349
356
  # A token indicating there are more items than page_size. Use it in the next
@@ -354,7 +361,7 @@ module Google
354
361
 
355
362
  # The resulting list of Services.
356
363
  # Corresponds to the JSON property `services`
357
- # @return [Array<Google::Apis::RunV2::GoogleCloudRunOpV2Service>]
364
+ # @return [Array<Google::Apis::RunV2::GoogleCloudRunV2Service>]
358
365
  attr_accessor :services
359
366
 
360
367
  def initialize(**args)
@@ -369,7 +376,7 @@ module Google
369
376
  end
370
377
 
371
378
  # ResourceRequirements describes the compute resource requirements.
372
- class GoogleCloudRunOpV2ResourceRequirements
379
+ class GoogleCloudRunV2ResourceRequirements
373
380
  include Google::Apis::Core::Hashable
374
381
 
375
382
  # Determines whether CPU should be throttled or not outside of requests.
@@ -401,7 +408,7 @@ module Google
401
408
  # A Revision is an immutable snapshot of code and configuration. A Revision
402
409
  # references a container image. Revisions are only created by updates to its
403
410
  # parent Service.
404
- class GoogleCloudRunOpV2Revision
411
+ class GoogleCloudRunV2Revision
405
412
  include Google::Apis::Core::Hashable
406
413
 
407
414
  # KRM-style annotations for the resource.
@@ -412,7 +419,7 @@ module Google
412
419
  # Output only. The Condition of this Revision, containing its readiness status,
413
420
  # and detailed error information in case it did not reach a serving state.
414
421
  # Corresponds to the JSON property `conditions`
415
- # @return [Array<Google::Apis::RunV2::GoogleCloudRunOpV2Condition>]
422
+ # @return [Array<Google::Apis::RunV2::GoogleCloudRunV2Condition>]
416
423
  attr_accessor :conditions
417
424
 
418
425
  # Indicates whether Confidential Cloud Run is enabled in this Revision.
@@ -429,7 +436,7 @@ module Google
429
436
  # Holds the single container that defines the unit of execution for this
430
437
  # Revision.
431
438
  # Corresponds to the JSON property `containers`
432
- # @return [Array<Google::Apis::RunV2::GoogleCloudRunOpV2Container>]
439
+ # @return [Array<Google::Apis::RunV2::GoogleCloudRunV2Container>]
433
440
  attr_accessor :containers
434
441
 
435
442
  # Output only. The creation time.
@@ -519,7 +526,7 @@ module Google
519
526
 
520
527
  # Settings for revision-level scaling settings.
521
528
  # Corresponds to the JSON property `scaling`
522
- # @return [Google::Apis::RunV2::GoogleCloudRunOpV2RevisionScaling]
529
+ # @return [Google::Apis::RunV2::GoogleCloudRunV2RevisionScaling]
523
530
  attr_accessor :scaling
524
531
 
525
532
  # Output only. The name of the parent service.
@@ -553,7 +560,7 @@ module Google
553
560
 
554
561
  # A list of Volumes to make available to containers.
555
562
  # Corresponds to the JSON property `volumes`
556
- # @return [Array<Google::Apis::RunV2::GoogleCloudRunOpV2Volume>]
563
+ # @return [Array<Google::Apis::RunV2::GoogleCloudRunV2Volume>]
557
564
  attr_accessor :volumes
558
565
 
559
566
  # VPC Access settings. For more information on creating a VPC Connector, visit
@@ -561,7 +568,7 @@ module Google
561
568
  # information on how to configure Cloud Run with an existing VPC Connector,
562
569
  # visit https://cloud.google.com/run/docs/configuring/connecting-vpc
563
570
  # Corresponds to the JSON property `vpcAccess`
564
- # @return [Google::Apis::RunV2::GoogleCloudRunOpV2VpcAccess]
571
+ # @return [Google::Apis::RunV2::GoogleCloudRunV2VpcAccess]
565
572
  attr_accessor :vpc_access
566
573
 
567
574
  def initialize(**args)
@@ -600,7 +607,7 @@ module Google
600
607
  end
601
608
 
602
609
  # Settings for revision-level scaling settings.
603
- class GoogleCloudRunOpV2RevisionScaling
610
+ class GoogleCloudRunV2RevisionScaling
604
611
  include Google::Apis::Core::Hashable
605
612
 
606
613
  # Maximum number of serving instances that this resource should have.
@@ -626,7 +633,7 @@ module Google
626
633
 
627
634
  # RevisionTemplate describes the data a revision should have when created from a
628
635
  # template.
629
- class GoogleCloudRunOpV2RevisionTemplate
636
+ class GoogleCloudRunV2RevisionTemplate
630
637
  include Google::Apis::Core::Hashable
631
638
 
632
639
  # KRM-style annotations for the resource.
@@ -648,7 +655,7 @@ module Google
648
655
  # Holds the single container that defines the unit of execution for this
649
656
  # Revision.
650
657
  # Corresponds to the JSON property `containers`
651
- # @return [Array<Google::Apis::RunV2::GoogleCloudRunOpV2Container>]
658
+ # @return [Array<Google::Apis::RunV2::GoogleCloudRunV2Container>]
652
659
  attr_accessor :containers
653
660
 
654
661
  # A reference to a customer managed encryption key (CMEK) to use to encrypt this
@@ -676,7 +683,7 @@ module Google
676
683
 
677
684
  # Settings for revision-level scaling settings.
678
685
  # Corresponds to the JSON property `scaling`
679
- # @return [Google::Apis::RunV2::GoogleCloudRunOpV2RevisionScaling]
686
+ # @return [Google::Apis::RunV2::GoogleCloudRunV2RevisionScaling]
680
687
  attr_accessor :scaling
681
688
 
682
689
  # Email address of the IAM service account associated with the revision of the
@@ -694,7 +701,7 @@ module Google
694
701
 
695
702
  # A list of Volumes to make available to containers.
696
703
  # Corresponds to the JSON property `volumes`
697
- # @return [Array<Google::Apis::RunV2::GoogleCloudRunOpV2Volume>]
704
+ # @return [Array<Google::Apis::RunV2::GoogleCloudRunV2Volume>]
698
705
  attr_accessor :volumes
699
706
 
700
707
  # VPC Access settings. For more information on creating a VPC Connector, visit
@@ -702,7 +709,7 @@ module Google
702
709
  # information on how to configure Cloud Run with an existing VPC Connector,
703
710
  # visit https://cloud.google.com/run/docs/configuring/connecting-vpc
704
711
  # Corresponds to the JSON property `vpcAccess`
705
- # @return [Google::Apis::RunV2::GoogleCloudRunOpV2VpcAccess]
712
+ # @return [Google::Apis::RunV2::GoogleCloudRunV2VpcAccess]
706
713
  attr_accessor :vpc_access
707
714
 
708
715
  def initialize(**args)
@@ -728,7 +735,7 @@ module Google
728
735
  end
729
736
 
730
737
  # SecretEnvVarSource represents a source for the value of an EnvVar.
731
- class GoogleCloudRunOpV2SecretKeySelector
738
+ class GoogleCloudRunV2SecretKeySelector
732
739
  include Google::Apis::Core::Hashable
733
740
 
734
741
  # Required. The name of the secret in Cloud Secret Manager. Format: `secret_name`
@@ -758,7 +765,7 @@ module Google
758
765
  # The secret's value will be presented as the content of a file whose name is
759
766
  # defined in the item path. If no items are defined, the name of the file is the
760
767
  # secret.
761
- class GoogleCloudRunOpV2SecretVolumeSource
768
+ class GoogleCloudRunV2SecretVolumeSource
762
769
  include Google::Apis::Core::Hashable
763
770
 
764
771
  # Integer representation of mode bits to use on created files by default. Must
@@ -783,7 +790,7 @@ module Google
783
790
  # the file exposed in the volume. When items are defined, they must specify a
784
791
  # path and a version.
785
792
  # Corresponds to the JSON property `items`
786
- # @return [Array<Google::Apis::RunV2::GoogleCloudRunOpV2VersionToPath>]
793
+ # @return [Array<Google::Apis::RunV2::GoogleCloudRunV2VersionToPath>]
787
794
  attr_accessor :items
788
795
 
789
796
  # Required. The name of the secret in Cloud Secret Manager. Format: `secret` if
@@ -810,7 +817,7 @@ module Google
810
817
  # provide a singular abstraction which can be access controlled, reasoned about,
811
818
  # and which encapsulates software lifecycle decisions such as rollout policy and
812
819
  # team resource ownership.
813
- class GoogleCloudRunOpV2Service
820
+ class GoogleCloudRunV2Service
814
821
  include Google::Apis::Core::Hashable
815
822
 
816
823
  # Unstructured key value map that may be set by external tools to store and
@@ -825,7 +832,7 @@ module Google
825
832
 
826
833
  # Settings for Binary Authorization feature.
827
834
  # Corresponds to the JSON property `binaryAuthorization`
828
- # @return [Google::Apis::RunV2::GoogleCloudRunOpV2BinaryAuthorization]
835
+ # @return [Google::Apis::RunV2::GoogleCloudRunV2BinaryAuthorization]
829
836
  attr_accessor :binary_authorization
830
837
 
831
838
  # Arbitrary identifier for the API client.
@@ -843,7 +850,7 @@ module Google
843
850
  # its Serving state. See comments in `reconciling` for additional information on
844
851
  # reconciliation process in Cloud Run.
845
852
  # Corresponds to the JSON property `conditions`
846
- # @return [Array<Google::Apis::RunV2::GoogleCloudRunOpV2Condition>]
853
+ # @return [Array<Google::Apis::RunV2::GoogleCloudRunV2Condition>]
847
854
  attr_accessor :conditions
848
855
 
849
856
  # Output only. The creation time.
@@ -969,26 +976,26 @@ module Google
969
976
  # RevisionTemplate describes the data a revision should have when created from a
970
977
  # template.
971
978
  # Corresponds to the JSON property `template`
972
- # @return [Google::Apis::RunV2::GoogleCloudRunOpV2RevisionTemplate]
979
+ # @return [Google::Apis::RunV2::GoogleCloudRunV2RevisionTemplate]
973
980
  attr_accessor :template
974
981
 
975
982
  # Defines a status condition for a resource.
976
983
  # Corresponds to the JSON property `terminalCondition`
977
- # @return [Google::Apis::RunV2::GoogleCloudRunOpV2Condition]
984
+ # @return [Google::Apis::RunV2::GoogleCloudRunV2Condition]
978
985
  attr_accessor :terminal_condition
979
986
 
980
987
  # Specifies how to distribute traffic over a collection of Revisions belonging
981
988
  # to the Service. If traffic is empty or not provided, defaults to 100% traffic
982
989
  # to the latest `Ready` Revision.
983
990
  # Corresponds to the JSON property `traffic`
984
- # @return [Array<Google::Apis::RunV2::GoogleCloudRunOpV2TrafficTarget>]
991
+ # @return [Array<Google::Apis::RunV2::GoogleCloudRunV2TrafficTarget>]
985
992
  attr_accessor :traffic
986
993
 
987
994
  # Output only. Detailed status information for corresponding traffic targets.
988
995
  # See comments in `reconciling` for additional information on reconciliation
989
996
  # process in Cloud Run.
990
997
  # Corresponds to the JSON property `trafficStatuses`
991
- # @return [Array<Google::Apis::RunV2::GoogleCloudRunOpV2TrafficTargetStatus>]
998
+ # @return [Array<Google::Apis::RunV2::GoogleCloudRunV2TrafficTargetStatus>]
992
999
  attr_accessor :traffic_statuses
993
1000
 
994
1001
  # Output only. Server assigned unique identifier for the trigger. The value is a
@@ -1046,7 +1053,7 @@ module Google
1046
1053
 
1047
1054
  # Holds a single traffic routing entry for the Service. Allocations can be done
1048
1055
  # to a specific Revision name, or pointing to the latest Ready Revision.
1049
- class GoogleCloudRunOpV2TrafficTarget
1056
+ class GoogleCloudRunV2TrafficTarget
1050
1057
  include Google::Apis::Core::Hashable
1051
1058
 
1052
1059
  # Specifies percent of the traffic to this Revision. This defaults to zero if
@@ -1085,7 +1092,7 @@ module Google
1085
1092
  end
1086
1093
 
1087
1094
  # Represents the observed state of a single `TrafficTarget` entry.
1088
- class GoogleCloudRunOpV2TrafficTargetStatus
1095
+ class GoogleCloudRunV2TrafficTargetStatus
1089
1096
  include Google::Apis::Core::Hashable
1090
1097
 
1091
1098
  # Specifies percent of the traffic to this Revision.
@@ -1129,7 +1136,7 @@ module Google
1129
1136
 
1130
1137
  # VersionToPath maps a specific version of a secret to a relative file to mount
1131
1138
  # to, relative to VolumeMount's mount_path.
1132
- class GoogleCloudRunOpV2VersionToPath
1139
+ class GoogleCloudRunV2VersionToPath
1133
1140
  include Google::Apis::Core::Hashable
1134
1141
 
1135
1142
  # Integer octal mode bits to use on this file, must be a value between 01 and
@@ -1170,12 +1177,12 @@ module Google
1170
1177
  end
1171
1178
 
1172
1179
  # Volume represents a named volume in a container.
1173
- class GoogleCloudRunOpV2Volume
1180
+ class GoogleCloudRunV2Volume
1174
1181
  include Google::Apis::Core::Hashable
1175
1182
 
1176
1183
  # Represents a specific Cloud SQL instance.
1177
1184
  # Corresponds to the JSON property `cloudSqlInstance`
1178
- # @return [Google::Apis::RunV2::GoogleCloudRunOpV2CloudSqlInstance]
1185
+ # @return [Google::Apis::RunV2::GoogleCloudRunV2CloudSqlInstance]
1179
1186
  attr_accessor :cloud_sql_instance
1180
1187
 
1181
1188
  # Required. Volume's name.
@@ -1187,7 +1194,7 @@ module Google
1187
1194
  # defined in the item path. If no items are defined, the name of the file is the
1188
1195
  # secret.
1189
1196
  # Corresponds to the JSON property `secret`
1190
- # @return [Google::Apis::RunV2::GoogleCloudRunOpV2SecretVolumeSource]
1197
+ # @return [Google::Apis::RunV2::GoogleCloudRunV2SecretVolumeSource]
1191
1198
  attr_accessor :secret
1192
1199
 
1193
1200
  def initialize(**args)
@@ -1203,7 +1210,7 @@ module Google
1203
1210
  end
1204
1211
 
1205
1212
  # VolumeMount describes a mounting of a Volume within a container.
1206
- class GoogleCloudRunOpV2VolumeMount
1213
+ class GoogleCloudRunV2VolumeMount
1207
1214
  include Google::Apis::Core::Hashable
1208
1215
 
1209
1216
  # Required. Path within the container at which the volume should be mounted.
@@ -1235,7 +1242,7 @@ module Google
1235
1242
  # https://cloud.google.com/vpc/docs/configure-serverless-vpc-access For
1236
1243
  # information on how to configure Cloud Run with an existing VPC Connector,
1237
1244
  # visit https://cloud.google.com/run/docs/configuring/connecting-vpc
1238
- class GoogleCloudRunOpV2VpcAccess
1245
+ class GoogleCloudRunV2VpcAccess
1239
1246
  include Google::Apis::Core::Hashable
1240
1247
 
1241
1248
  # VPC Access connector name. Format: projects/`project`/locations/`location`/
@@ -1680,8 +1687,7 @@ module Google
1680
1687
  # A generic empty message that you can re-use to avoid defining duplicated empty
1681
1688
  # messages in your APIs. A typical example is to use it as the request or the
1682
1689
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
1683
- # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
1684
- # `Empty` is empty JSON object ````.
1690
+ # protobuf.Empty) returns (google.protobuf.Empty); `
1685
1691
  class GoogleProtobufEmpty
1686
1692
  include Google::Apis::Core::Hashable
1687
1693
 
@@ -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.6.0"
19
+ GEM_VERSION = "0.9.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 = "20220218"
25
+ REVISION = "20220401"
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 GoogleCloudRunOpV2BinaryAuthorization
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 GoogleCloudRunOpV2CloudSqlInstance
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 GoogleCloudRunOpV2Condition
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 GoogleCloudRunOpV2Container
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 GoogleCloudRunOpV2ContainerPort
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 GoogleCloudRunOpV2EnvVar
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 GoogleCloudRunOpV2EnvVarSource
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 GoogleCloudRunOpV2ListRevisionsResponse
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 GoogleCloudRunOpV2ListServicesResponse
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 GoogleCloudRunOpV2ResourceRequirements
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 GoogleCloudRunOpV2Revision
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 GoogleCloudRunOpV2RevisionScaling
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 GoogleCloudRunOpV2RevisionTemplate
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 GoogleCloudRunOpV2SecretKeySelector
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 GoogleCloudRunOpV2SecretVolumeSource
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 GoogleCloudRunOpV2Service
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 GoogleCloudRunOpV2TrafficTarget
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 GoogleCloudRunOpV2TrafficTargetStatus
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 GoogleCloudRunOpV2VersionToPath
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 GoogleCloudRunOpV2Volume
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 GoogleCloudRunOpV2VolumeMount
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 GoogleCloudRunOpV2VpcAccess
151
+ class GoogleCloudRunV2VpcAccess
152
152
  class Representation < Google::Apis::Core::JsonRepresentation; end
153
153
 
154
154
  include Google::Apis::Core::JsonObjectSupport
@@ -226,22 +226,23 @@ module Google
226
226
  include Google::Apis::Core::JsonObjectSupport
227
227
  end
228
228
 
229
- class GoogleCloudRunOpV2BinaryAuthorization
229
+ class GoogleCloudRunV2BinaryAuthorization
230
230
  # @private
231
231
  class Representation < Google::Apis::Core::JsonRepresentation
232
232
  property :breakglass_justification, as: 'breakglassJustification'
233
+ property :policy, as: 'policy'
233
234
  property :use_default, as: 'useDefault'
234
235
  end
235
236
  end
236
237
 
237
- class GoogleCloudRunOpV2CloudSqlInstance
238
+ class GoogleCloudRunV2CloudSqlInstance
238
239
  # @private
239
240
  class Representation < Google::Apis::Core::JsonRepresentation
240
241
  collection :connections, as: 'connections'
241
242
  end
242
243
  end
243
244
 
244
- class GoogleCloudRunOpV2Condition
245
+ class GoogleCloudRunV2Condition
245
246
  # @private
246
247
  class Representation < Google::Apis::Core::JsonRepresentation
247
248
  property :domain_mapping_reason, as: 'domainMappingReason'
@@ -257,25 +258,25 @@ module Google
257
258
  end
258
259
  end
259
260
 
260
- class GoogleCloudRunOpV2Container
261
+ class GoogleCloudRunV2Container
261
262
  # @private
262
263
  class Representation < Google::Apis::Core::JsonRepresentation
263
264
  collection :args, as: 'args'
264
265
  collection :command, as: 'command'
265
- collection :env, as: 'env', class: Google::Apis::RunV2::GoogleCloudRunOpV2EnvVar, decorator: Google::Apis::RunV2::GoogleCloudRunOpV2EnvVar::Representation
266
+ collection :env, as: 'env', class: Google::Apis::RunV2::GoogleCloudRunV2EnvVar, decorator: Google::Apis::RunV2::GoogleCloudRunV2EnvVar::Representation
266
267
 
267
268
  property :image, as: 'image'
268
269
  property :name, as: 'name'
269
- collection :ports, as: 'ports', class: Google::Apis::RunV2::GoogleCloudRunOpV2ContainerPort, decorator: Google::Apis::RunV2::GoogleCloudRunOpV2ContainerPort::Representation
270
+ collection :ports, as: 'ports', class: Google::Apis::RunV2::GoogleCloudRunV2ContainerPort, decorator: Google::Apis::RunV2::GoogleCloudRunV2ContainerPort::Representation
270
271
 
271
- property :resources, as: 'resources', class: Google::Apis::RunV2::GoogleCloudRunOpV2ResourceRequirements, decorator: Google::Apis::RunV2::GoogleCloudRunOpV2ResourceRequirements::Representation
272
+ property :resources, as: 'resources', class: Google::Apis::RunV2::GoogleCloudRunV2ResourceRequirements, decorator: Google::Apis::RunV2::GoogleCloudRunV2ResourceRequirements::Representation
272
273
 
273
- collection :volume_mounts, as: 'volumeMounts', class: Google::Apis::RunV2::GoogleCloudRunOpV2VolumeMount, decorator: Google::Apis::RunV2::GoogleCloudRunOpV2VolumeMount::Representation
274
+ collection :volume_mounts, as: 'volumeMounts', class: Google::Apis::RunV2::GoogleCloudRunV2VolumeMount, decorator: Google::Apis::RunV2::GoogleCloudRunV2VolumeMount::Representation
274
275
 
275
276
  end
276
277
  end
277
278
 
278
- class GoogleCloudRunOpV2ContainerPort
279
+ class GoogleCloudRunV2ContainerPort
279
280
  # @private
280
281
  class Representation < Google::Apis::Core::JsonRepresentation
281
282
  property :container_port, as: 'containerPort'
@@ -283,43 +284,43 @@ module Google
283
284
  end
284
285
  end
285
286
 
286
- class GoogleCloudRunOpV2EnvVar
287
+ class GoogleCloudRunV2EnvVar
287
288
  # @private
288
289
  class Representation < Google::Apis::Core::JsonRepresentation
289
290
  property :name, as: 'name'
290
291
  property :value, as: 'value'
291
- property :value_source, as: 'valueSource', class: Google::Apis::RunV2::GoogleCloudRunOpV2EnvVarSource, decorator: Google::Apis::RunV2::GoogleCloudRunOpV2EnvVarSource::Representation
292
+ property :value_source, as: 'valueSource', class: Google::Apis::RunV2::GoogleCloudRunV2EnvVarSource, decorator: Google::Apis::RunV2::GoogleCloudRunV2EnvVarSource::Representation
292
293
 
293
294
  end
294
295
  end
295
296
 
296
- class GoogleCloudRunOpV2EnvVarSource
297
+ class GoogleCloudRunV2EnvVarSource
297
298
  # @private
298
299
  class Representation < Google::Apis::Core::JsonRepresentation
299
- property :secret_key_ref, as: 'secretKeyRef', class: Google::Apis::RunV2::GoogleCloudRunOpV2SecretKeySelector, decorator: Google::Apis::RunV2::GoogleCloudRunOpV2SecretKeySelector::Representation
300
+ property :secret_key_ref, as: 'secretKeyRef', class: Google::Apis::RunV2::GoogleCloudRunV2SecretKeySelector, decorator: Google::Apis::RunV2::GoogleCloudRunV2SecretKeySelector::Representation
300
301
 
301
302
  end
302
303
  end
303
304
 
304
- class GoogleCloudRunOpV2ListRevisionsResponse
305
+ class GoogleCloudRunV2ListRevisionsResponse
305
306
  # @private
306
307
  class Representation < Google::Apis::Core::JsonRepresentation
307
308
  property :next_page_token, as: 'nextPageToken'
308
- collection :revisions, as: 'revisions', class: Google::Apis::RunV2::GoogleCloudRunOpV2Revision, decorator: Google::Apis::RunV2::GoogleCloudRunOpV2Revision::Representation
309
+ collection :revisions, as: 'revisions', class: Google::Apis::RunV2::GoogleCloudRunV2Revision, decorator: Google::Apis::RunV2::GoogleCloudRunV2Revision::Representation
309
310
 
310
311
  end
311
312
  end
312
313
 
313
- class GoogleCloudRunOpV2ListServicesResponse
314
+ class GoogleCloudRunV2ListServicesResponse
314
315
  # @private
315
316
  class Representation < Google::Apis::Core::JsonRepresentation
316
317
  property :next_page_token, as: 'nextPageToken'
317
- collection :services, as: 'services', class: Google::Apis::RunV2::GoogleCloudRunOpV2Service, decorator: Google::Apis::RunV2::GoogleCloudRunOpV2Service::Representation
318
+ collection :services, as: 'services', class: Google::Apis::RunV2::GoogleCloudRunV2Service, decorator: Google::Apis::RunV2::GoogleCloudRunV2Service::Representation
318
319
 
319
320
  end
320
321
  end
321
322
 
322
- class GoogleCloudRunOpV2ResourceRequirements
323
+ class GoogleCloudRunV2ResourceRequirements
323
324
  # @private
324
325
  class Representation < Google::Apis::Core::JsonRepresentation
325
326
  property :cpu_idle, as: 'cpuIdle'
@@ -327,15 +328,15 @@ module Google
327
328
  end
328
329
  end
329
330
 
330
- class GoogleCloudRunOpV2Revision
331
+ class GoogleCloudRunV2Revision
331
332
  # @private
332
333
  class Representation < Google::Apis::Core::JsonRepresentation
333
334
  hash :annotations, as: 'annotations'
334
- collection :conditions, as: 'conditions', class: Google::Apis::RunV2::GoogleCloudRunOpV2Condition, decorator: Google::Apis::RunV2::GoogleCloudRunOpV2Condition::Representation
335
+ collection :conditions, as: 'conditions', class: Google::Apis::RunV2::GoogleCloudRunV2Condition, decorator: Google::Apis::RunV2::GoogleCloudRunV2Condition::Representation
335
336
 
336
337
  property :confidential, as: 'confidential'
337
338
  property :container_concurrency, as: 'containerConcurrency'
338
- collection :containers, as: 'containers', class: Google::Apis::RunV2::GoogleCloudRunOpV2Container, decorator: Google::Apis::RunV2::GoogleCloudRunOpV2Container::Representation
339
+ collection :containers, as: 'containers', class: Google::Apis::RunV2::GoogleCloudRunV2Container, decorator: Google::Apis::RunV2::GoogleCloudRunV2Container::Representation
339
340
 
340
341
  property :create_time, as: 'createTime'
341
342
  property :delete_time, as: 'deleteTime'
@@ -350,21 +351,21 @@ module Google
350
351
  property :name, as: 'name'
351
352
  property :observed_generation, :numeric_string => true, as: 'observedGeneration'
352
353
  property :reconciling, as: 'reconciling'
353
- property :scaling, as: 'scaling', class: Google::Apis::RunV2::GoogleCloudRunOpV2RevisionScaling, decorator: Google::Apis::RunV2::GoogleCloudRunOpV2RevisionScaling::Representation
354
+ property :scaling, as: 'scaling', class: Google::Apis::RunV2::GoogleCloudRunV2RevisionScaling, decorator: Google::Apis::RunV2::GoogleCloudRunV2RevisionScaling::Representation
354
355
 
355
356
  property :service, as: 'service'
356
357
  property :service_account, as: 'serviceAccount'
357
358
  property :timeout, as: 'timeout'
358
359
  property :uid, as: 'uid'
359
360
  property :update_time, as: 'updateTime'
360
- collection :volumes, as: 'volumes', class: Google::Apis::RunV2::GoogleCloudRunOpV2Volume, decorator: Google::Apis::RunV2::GoogleCloudRunOpV2Volume::Representation
361
+ collection :volumes, as: 'volumes', class: Google::Apis::RunV2::GoogleCloudRunV2Volume, decorator: Google::Apis::RunV2::GoogleCloudRunV2Volume::Representation
361
362
 
362
- property :vpc_access, as: 'vpcAccess', class: Google::Apis::RunV2::GoogleCloudRunOpV2VpcAccess, decorator: Google::Apis::RunV2::GoogleCloudRunOpV2VpcAccess::Representation
363
+ property :vpc_access, as: 'vpcAccess', class: Google::Apis::RunV2::GoogleCloudRunV2VpcAccess, decorator: Google::Apis::RunV2::GoogleCloudRunV2VpcAccess::Representation
363
364
 
364
365
  end
365
366
  end
366
367
 
367
- class GoogleCloudRunOpV2RevisionScaling
368
+ class GoogleCloudRunV2RevisionScaling
368
369
  # @private
369
370
  class Representation < Google::Apis::Core::JsonRepresentation
370
371
  property :max_instance_count, as: 'maxInstanceCount'
@@ -372,30 +373,30 @@ module Google
372
373
  end
373
374
  end
374
375
 
375
- class GoogleCloudRunOpV2RevisionTemplate
376
+ class GoogleCloudRunV2RevisionTemplate
376
377
  # @private
377
378
  class Representation < Google::Apis::Core::JsonRepresentation
378
379
  hash :annotations, as: 'annotations'
379
380
  property :confidential, as: 'confidential'
380
381
  property :container_concurrency, as: 'containerConcurrency'
381
- collection :containers, as: 'containers', class: Google::Apis::RunV2::GoogleCloudRunOpV2Container, decorator: Google::Apis::RunV2::GoogleCloudRunOpV2Container::Representation
382
+ collection :containers, as: 'containers', class: Google::Apis::RunV2::GoogleCloudRunV2Container, decorator: Google::Apis::RunV2::GoogleCloudRunV2Container::Representation
382
383
 
383
384
  property :encryption_key, as: 'encryptionKey'
384
385
  property :execution_environment, as: 'executionEnvironment'
385
386
  hash :labels, as: 'labels'
386
387
  property :revision, as: 'revision'
387
- property :scaling, as: 'scaling', class: Google::Apis::RunV2::GoogleCloudRunOpV2RevisionScaling, decorator: Google::Apis::RunV2::GoogleCloudRunOpV2RevisionScaling::Representation
388
+ property :scaling, as: 'scaling', class: Google::Apis::RunV2::GoogleCloudRunV2RevisionScaling, decorator: Google::Apis::RunV2::GoogleCloudRunV2RevisionScaling::Representation
388
389
 
389
390
  property :service_account, as: 'serviceAccount'
390
391
  property :timeout, as: 'timeout'
391
- collection :volumes, as: 'volumes', class: Google::Apis::RunV2::GoogleCloudRunOpV2Volume, decorator: Google::Apis::RunV2::GoogleCloudRunOpV2Volume::Representation
392
+ collection :volumes, as: 'volumes', class: Google::Apis::RunV2::GoogleCloudRunV2Volume, decorator: Google::Apis::RunV2::GoogleCloudRunV2Volume::Representation
392
393
 
393
- property :vpc_access, as: 'vpcAccess', class: Google::Apis::RunV2::GoogleCloudRunOpV2VpcAccess, decorator: Google::Apis::RunV2::GoogleCloudRunOpV2VpcAccess::Representation
394
+ property :vpc_access, as: 'vpcAccess', class: Google::Apis::RunV2::GoogleCloudRunV2VpcAccess, decorator: Google::Apis::RunV2::GoogleCloudRunV2VpcAccess::Representation
394
395
 
395
396
  end
396
397
  end
397
398
 
398
- class GoogleCloudRunOpV2SecretKeySelector
399
+ class GoogleCloudRunV2SecretKeySelector
399
400
  # @private
400
401
  class Representation < Google::Apis::Core::JsonRepresentation
401
402
  property :secret, as: 'secret'
@@ -403,25 +404,25 @@ module Google
403
404
  end
404
405
  end
405
406
 
406
- class GoogleCloudRunOpV2SecretVolumeSource
407
+ class GoogleCloudRunV2SecretVolumeSource
407
408
  # @private
408
409
  class Representation < Google::Apis::Core::JsonRepresentation
409
410
  property :default_mode, as: 'defaultMode'
410
- collection :items, as: 'items', class: Google::Apis::RunV2::GoogleCloudRunOpV2VersionToPath, decorator: Google::Apis::RunV2::GoogleCloudRunOpV2VersionToPath::Representation
411
+ collection :items, as: 'items', class: Google::Apis::RunV2::GoogleCloudRunV2VersionToPath, decorator: Google::Apis::RunV2::GoogleCloudRunV2VersionToPath::Representation
411
412
 
412
413
  property :secret, as: 'secret'
413
414
  end
414
415
  end
415
416
 
416
- class GoogleCloudRunOpV2Service
417
+ class GoogleCloudRunV2Service
417
418
  # @private
418
419
  class Representation < Google::Apis::Core::JsonRepresentation
419
420
  hash :annotations, as: 'annotations'
420
- property :binary_authorization, as: 'binaryAuthorization', class: Google::Apis::RunV2::GoogleCloudRunOpV2BinaryAuthorization, decorator: Google::Apis::RunV2::GoogleCloudRunOpV2BinaryAuthorization::Representation
421
+ property :binary_authorization, as: 'binaryAuthorization', class: Google::Apis::RunV2::GoogleCloudRunV2BinaryAuthorization, decorator: Google::Apis::RunV2::GoogleCloudRunV2BinaryAuthorization::Representation
421
422
 
422
423
  property :client, as: 'client'
423
424
  property :client_version, as: 'clientVersion'
424
- collection :conditions, as: 'conditions', class: Google::Apis::RunV2::GoogleCloudRunOpV2Condition, decorator: Google::Apis::RunV2::GoogleCloudRunOpV2Condition::Representation
425
+ collection :conditions, as: 'conditions', class: Google::Apis::RunV2::GoogleCloudRunV2Condition, decorator: Google::Apis::RunV2::GoogleCloudRunV2Condition::Representation
425
426
 
426
427
  property :create_time, as: 'createTime'
427
428
  property :creator, as: 'creator'
@@ -439,13 +440,13 @@ module Google
439
440
  property :name, as: 'name'
440
441
  property :observed_generation, :numeric_string => true, as: 'observedGeneration'
441
442
  property :reconciling, as: 'reconciling'
442
- property :template, as: 'template', class: Google::Apis::RunV2::GoogleCloudRunOpV2RevisionTemplate, decorator: Google::Apis::RunV2::GoogleCloudRunOpV2RevisionTemplate::Representation
443
+ property :template, as: 'template', class: Google::Apis::RunV2::GoogleCloudRunV2RevisionTemplate, decorator: Google::Apis::RunV2::GoogleCloudRunV2RevisionTemplate::Representation
443
444
 
444
- property :terminal_condition, as: 'terminalCondition', class: Google::Apis::RunV2::GoogleCloudRunOpV2Condition, decorator: Google::Apis::RunV2::GoogleCloudRunOpV2Condition::Representation
445
+ property :terminal_condition, as: 'terminalCondition', class: Google::Apis::RunV2::GoogleCloudRunV2Condition, decorator: Google::Apis::RunV2::GoogleCloudRunV2Condition::Representation
445
446
 
446
- collection :traffic, as: 'traffic', class: Google::Apis::RunV2::GoogleCloudRunOpV2TrafficTarget, decorator: Google::Apis::RunV2::GoogleCloudRunOpV2TrafficTarget::Representation
447
+ collection :traffic, as: 'traffic', class: Google::Apis::RunV2::GoogleCloudRunV2TrafficTarget, decorator: Google::Apis::RunV2::GoogleCloudRunV2TrafficTarget::Representation
447
448
 
448
- collection :traffic_statuses, as: 'trafficStatuses', class: Google::Apis::RunV2::GoogleCloudRunOpV2TrafficTargetStatus, decorator: Google::Apis::RunV2::GoogleCloudRunOpV2TrafficTargetStatus::Representation
449
+ collection :traffic_statuses, as: 'trafficStatuses', class: Google::Apis::RunV2::GoogleCloudRunV2TrafficTargetStatus, decorator: Google::Apis::RunV2::GoogleCloudRunV2TrafficTargetStatus::Representation
449
450
 
450
451
  property :uid, as: 'uid'
451
452
  property :update_time, as: 'updateTime'
@@ -453,7 +454,7 @@ module Google
453
454
  end
454
455
  end
455
456
 
456
- class GoogleCloudRunOpV2TrafficTarget
457
+ class GoogleCloudRunV2TrafficTarget
457
458
  # @private
458
459
  class Representation < Google::Apis::Core::JsonRepresentation
459
460
  property :percent, as: 'percent'
@@ -463,7 +464,7 @@ module Google
463
464
  end
464
465
  end
465
466
 
466
- class GoogleCloudRunOpV2TrafficTargetStatus
467
+ class GoogleCloudRunV2TrafficTargetStatus
467
468
  # @private
468
469
  class Representation < Google::Apis::Core::JsonRepresentation
469
470
  property :percent, as: 'percent'
@@ -474,7 +475,7 @@ module Google
474
475
  end
475
476
  end
476
477
 
477
- class GoogleCloudRunOpV2VersionToPath
478
+ class GoogleCloudRunV2VersionToPath
478
479
  # @private
479
480
  class Representation < Google::Apis::Core::JsonRepresentation
480
481
  property :mode, as: 'mode'
@@ -483,18 +484,18 @@ module Google
483
484
  end
484
485
  end
485
486
 
486
- class GoogleCloudRunOpV2Volume
487
+ class GoogleCloudRunV2Volume
487
488
  # @private
488
489
  class Representation < Google::Apis::Core::JsonRepresentation
489
- property :cloud_sql_instance, as: 'cloudSqlInstance', class: Google::Apis::RunV2::GoogleCloudRunOpV2CloudSqlInstance, decorator: Google::Apis::RunV2::GoogleCloudRunOpV2CloudSqlInstance::Representation
490
+ property :cloud_sql_instance, as: 'cloudSqlInstance', class: Google::Apis::RunV2::GoogleCloudRunV2CloudSqlInstance, decorator: Google::Apis::RunV2::GoogleCloudRunV2CloudSqlInstance::Representation
490
491
 
491
492
  property :name, as: 'name'
492
- property :secret, as: 'secret', class: Google::Apis::RunV2::GoogleCloudRunOpV2SecretVolumeSource, decorator: Google::Apis::RunV2::GoogleCloudRunOpV2SecretVolumeSource::Representation
493
+ property :secret, as: 'secret', class: Google::Apis::RunV2::GoogleCloudRunV2SecretVolumeSource, decorator: Google::Apis::RunV2::GoogleCloudRunV2SecretVolumeSource::Representation
493
494
 
494
495
  end
495
496
  end
496
497
 
497
- class GoogleCloudRunOpV2VolumeMount
498
+ class GoogleCloudRunV2VolumeMount
498
499
  # @private
499
500
  class Representation < Google::Apis::Core::JsonRepresentation
500
501
  property :mount_path, as: 'mountPath'
@@ -502,7 +503,7 @@ module Google
502
503
  end
503
504
  end
504
505
 
505
- class GoogleCloudRunOpV2VpcAccess
506
+ class GoogleCloudRunV2VpcAccess
506
507
  # @private
507
508
  class Representation < Google::Apis::Core::JsonRepresentation
508
509
  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::GoogleCloudRunOpV2Service] google_cloud_run_op_v2_service_object
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, google_cloud_run_op_v2_service_object = nil, service_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
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::GoogleCloudRunOpV2Service::Representation
202
- command.request_object = google_cloud_run_op_v2_service_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::GoogleCloudRunOpV2Service] parsed result object
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::GoogleCloudRunOpV2Service]
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::GoogleCloudRunOpV2Service::Representation
277
- command.response_class = Google::Apis::RunV2::GoogleCloudRunOpV2Service
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::GoogleCloudRunOpV2ListServicesResponse] parsed result object
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::GoogleCloudRunOpV2ListServicesResponse]
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::GoogleCloudRunOpV2ListServicesResponse::Representation
360
- command.response_class = Google::Apis::RunV2::GoogleCloudRunOpV2ListServicesResponse
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::GoogleCloudRunOpV2Service] google_cloud_run_op_v2_service_object
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, google_cloud_run_op_v2_service_object = nil, allow_missing: nil, update_mask: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
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::GoogleCloudRunOpV2Service::Representation
406
- command.request_object = google_cloud_run_op_v2_service_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::GoogleCloudRunOpV2Revision] parsed result object
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::GoogleCloudRunOpV2Revision]
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::GoogleCloudRunOpV2Revision::Representation
551
- command.response_class = Google::Apis::RunV2::GoogleCloudRunOpV2Revision
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::GoogleCloudRunOpV2ListRevisionsResponse] parsed result object
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::GoogleCloudRunOpV2ListRevisionsResponse]
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::GoogleCloudRunOpV2ListRevisionsResponse::Representation
590
- command.response_class = Google::Apis::RunV2::GoogleCloudRunOpV2ListRevisionsResponse
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.6.0
4
+ version: 0.9.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-02-28 00:00:00.000000000 Z
11
+ date: 2022-04-11 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.6.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-run_v2/v0.9.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: []