google-apis-run_v2 0.24.0 → 0.26.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: 1201a8a64db4758bb60275542d4af429ca9ae94ea33ed0feca9ada053f3d9c4e
4
- data.tar.gz: 4570dcddd5735aa6444f431c3415afc92e2c8de0be0455f45e61a1c4966c0ae5
3
+ metadata.gz: 1b1aa2c1b8561bca76517f2be52301b91dd8747bd92890a7c156d1aa8da08bd0
4
+ data.tar.gz: 00f906e077a9f29a5fbd61fc2856d623ff2b639f12df0925a341f375be9fd795
5
5
  SHA512:
6
- metadata.gz: e71603ac2161ab9b626b7e088a82de4b38efac40ad5c6da8d42221b284b121b64a2066b5b2884462430332f78afcb8a7f9cd3e138e6afcca608ca8e7b5866420
7
- data.tar.gz: 6530c8a49ce7c67e23525ea54487603e3aa671b6ca7ac427c8202b8af0688a06c8669ae65cbfb51ae4a30e76701ce1a372cf60d07ec6e7844131409dae92cd9b
6
+ metadata.gz: 6d641c0b5b688e584ee0939c646dcaee303ec0d675cce23a2a9166af57aab98df897961cd87ab6067940b38b777f6c62f9ba770f0a0c41087ba8cc6c4798f1de
7
+ data.tar.gz: 49d68b348a823e0ca7d35ae65ee5c9e69df029671ca95654cb17ef7122dd4a322d8647701aade71261a91b6d8e3ba6db8ad40e931cd2cca9d52e6df27a9185fb
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-run_v2
2
2
 
3
+ ### v0.26.0 (2022-12-04)
4
+
5
+ * Regenerated from discovery document revision 20221129
6
+
7
+ ### v0.25.0 (2022-11-11)
8
+
9
+ * Regenerated from discovery document revision 20221106
10
+
3
11
  ### v0.24.0 (2022-11-04)
4
12
 
5
13
  * Regenerated from discovery document revision 20221030
@@ -394,9 +394,7 @@ module Google
394
394
  # s billing system, so they can be used to filter, or break down billing charges
395
395
  # by team, component, environment, state, etc. For more information, visit https:
396
396
  # //cloud.google.com/resource-manager/docs/creating-managing-labels or https://
397
- # cloud.google.com/run/docs/configuring/labels Cloud Run will populate some
398
- # labels with 'run.googleapis.com' or 'serving.knative.dev' namespaces. Those
399
- # labels are read-only, and user changes will not be preserved.
397
+ # cloud.google.com/run/docs/configuring/labels
400
398
  # Corresponds to the JSON property `labels`
401
399
  # @return [Hash<String,String>]
402
400
  attr_accessor :labels
@@ -549,12 +547,19 @@ module Google
549
547
  class GoogleCloudRunV2ExecutionTemplate
550
548
  include Google::Apis::Core::Hashable
551
549
 
552
- # KRM-style annotations for the resource.
550
+ # KRM-style annotations for the resource. Cloud Run API v2 does not support
551
+ # annotations with `run.googleapis.com`, `cloud.googleapis.com`, `serving.
552
+ # knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be
553
+ # rejected. All system annotations in v1 now have a corresponding field in v2
554
+ # ExecutionTemplate.
553
555
  # Corresponds to the JSON property `annotations`
554
556
  # @return [Hash<String,String>]
555
557
  attr_accessor :annotations
556
558
 
557
- # KRM-style labels for the resource.
559
+ # KRM-style labels for the resource. Cloud Run API v2 does not support labels
560
+ # with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `
561
+ # autoscaling.knative.dev` namespaces, and they will be rejected. All system
562
+ # labels in v1 now have a corresponding field in v2 ExecutionTemplate.
558
563
  # Corresponds to the JSON property `labels`
559
564
  # @return [Hash<String,String>]
560
565
  attr_accessor :labels
@@ -597,6 +602,34 @@ module Google
597
602
  end
598
603
  end
599
604
 
605
+ # GRPCAction describes an action involving a GRPC port.
606
+ class GoogleCloudRunV2GrpcAction
607
+ include Google::Apis::Core::Hashable
608
+
609
+ # Port number of the gRPC service. Number must be in the range 1 to 65535. If
610
+ # not specified, defaults to 8080.
611
+ # Corresponds to the JSON property `port`
612
+ # @return [Fixnum]
613
+ attr_accessor :port
614
+
615
+ # Service is the name of the service to place in the gRPC HealthCheckRequest (
616
+ # see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). If this
617
+ # is not specified, the default behavior is defined by gRPC.
618
+ # Corresponds to the JSON property `service`
619
+ # @return [String]
620
+ attr_accessor :service
621
+
622
+ def initialize(**args)
623
+ update!(**args)
624
+ end
625
+
626
+ # Update properties of this object
627
+ def update!(**args)
628
+ @port = args[:port] if args.key?(:port)
629
+ @service = args[:service] if args.key?(:service)
630
+ end
631
+ end
632
+
600
633
  # HTTPGetAction describes an action based on HTTP Get requests.
601
634
  class GoogleCloudRunV2HttpGetAction
602
635
  include Google::Apis::Core::Hashable
@@ -647,16 +680,18 @@ module Google
647
680
  end
648
681
  end
649
682
 
650
- # Job represents the configuration of a single job. A job an immutable resource
651
- # that references a container image which is run to completion.
683
+ # Job represents the configuration of a single job, which references a container
684
+ # image that is run to completion.
652
685
  class GoogleCloudRunV2Job
653
686
  include Google::Apis::Core::Hashable
654
687
 
655
688
  # KRM-style annotations for the resource. Unstructured key value map that may be
656
689
  # set by external tools to store and arbitrary metadata. They are not queryable
657
- # and should be preserved when modifying objects. Cloud Run will populate some
658
- # annotations using 'run.googleapis.com' or 'serving.knative.dev' namespaces.
659
- # This field follows Kubernetes annotations' namespacing, limits, and rules.
690
+ # and should be preserved when modifying objects. Cloud Run API v2 does not
691
+ # support annotations with `run.googleapis.com`, `cloud.googleapis.com`, `
692
+ # serving.knative.dev`, or `autoscaling.knative.dev` namespaces, and they will
693
+ # be rejected. All system annotations in v1 now have a corresponding field in v2
694
+ # Job. This field follows Kubernetes annotations' namespacing, limits, and rules.
660
695
  # More info: https://kubernetes.io/docs/user-guide/annotations
661
696
  # Corresponds to the JSON property `annotations`
662
697
  # @return [Hash<String,String>]
@@ -727,9 +762,10 @@ module Google
727
762
  # s billing system, so they can be used to filter, or break down billing charges
728
763
  # by team, component, environment, state, etc. For more information, visit https:
729
764
  # //cloud.google.com/resource-manager/docs/creating-managing-labels or https://
730
- # cloud.google.com/run/docs/configuring/labels Cloud Run will populate some
731
- # labels with 'run.googleapis.com' or 'serving.knative.dev' namespaces. Those
732
- # labels are read-only, and user changes will not be preserved.
765
+ # cloud.google.com/run/docs/configuring/labels Cloud Run API v2 does not support
766
+ # labels with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`
767
+ # , or `autoscaling.knative.dev` namespaces, and they will be rejected. All
768
+ # system labels in v1 now have a corresponding field in v2 Job.
733
769
  # Corresponds to the JSON property `labels`
734
770
  # @return [Hash<String,String>]
735
771
  attr_accessor :labels
@@ -981,6 +1017,11 @@ module Google
981
1017
  # @return [Fixnum]
982
1018
  attr_accessor :failure_threshold
983
1019
 
1020
+ # GRPCAction describes an action involving a GRPC port.
1021
+ # Corresponds to the JSON property `grpc`
1022
+ # @return [Google::Apis::RunV2::GoogleCloudRunV2GrpcAction]
1023
+ attr_accessor :grpc
1024
+
984
1025
  # HTTPGetAction describes an action based on HTTP Get requests.
985
1026
  # Corresponds to the JSON property `httpGet`
986
1027
  # @return [Google::Apis::RunV2::GoogleCloudRunV2HttpGetAction]
@@ -1022,6 +1063,7 @@ module Google
1022
1063
  # Update properties of this object
1023
1064
  def update!(**args)
1024
1065
  @failure_threshold = args[:failure_threshold] if args.key?(:failure_threshold)
1066
+ @grpc = args[:grpc] if args.key?(:grpc)
1025
1067
  @http_get = args[:http_get] if args.key?(:http_get)
1026
1068
  @initial_delay_seconds = args[:initial_delay_seconds] if args.key?(:initial_delay_seconds)
1027
1069
  @period_seconds = args[:period_seconds] if args.key?(:period_seconds)
@@ -1041,9 +1083,9 @@ module Google
1041
1083
  alias_method :cpu_idle?, :cpu_idle
1042
1084
 
1043
1085
  # Only memory and CPU are supported. Note: The only supported values for CPU are
1044
- # '1', '2', and '4'. Setting 4 CPU requires at least 2Gi of memory. The values
1045
- # of the map is string form of the 'quantity' k8s type: https://github.com/
1046
- # kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/
1086
+ # '1', '2', '4', and '8'. Setting 4 CPU requires at least 2Gi of memory. The
1087
+ # values of the map is string form of the 'quantity' k8s type: https://github.
1088
+ # com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachinery/pkg/api/
1047
1089
  # resource/quantity.go
1048
1090
  # Corresponds to the JSON property `limits`
1049
1091
  # @return [Hash<String,String>]
@@ -1128,9 +1170,7 @@ module Google
1128
1170
  # s billing system, so they can be used to filter, or break down billing charges
1129
1171
  # by team, component, environment, state, etc. For more information, visit https:
1130
1172
  # //cloud.google.com/resource-manager/docs/creating-managing-labels or https://
1131
- # cloud.google.com/run/docs/configuring/labels Cloud Run will populate some
1132
- # labels with 'run.googleapis.com' or 'serving.knative.dev' namespaces. Those
1133
- # labels are read-only, and user changes will not be preserved.
1173
+ # cloud.google.com/run/docs/configuring/labels
1134
1174
  # Corresponds to the JSON property `labels`
1135
1175
  # @return [Hash<String,String>]
1136
1176
  attr_accessor :labels
@@ -1284,7 +1324,11 @@ module Google
1284
1324
  class GoogleCloudRunV2RevisionTemplate
1285
1325
  include Google::Apis::Core::Hashable
1286
1326
 
1287
- # KRM-style annotations for the resource.
1327
+ # KRM-style annotations for the resource. Cloud Run API v2 does not support
1328
+ # annotations with `run.googleapis.com`, `cloud.googleapis.com`, `serving.
1329
+ # knative.dev`, or `autoscaling.knative.dev` namespaces, and they will be
1330
+ # rejected. All system annotations in v1 now have a corresponding field in v2
1331
+ # RevisionTemplate.
1288
1332
  # Corresponds to the JSON property `annotations`
1289
1333
  # @return [Hash<String,String>]
1290
1334
  attr_accessor :annotations
@@ -1307,7 +1351,10 @@ module Google
1307
1351
  # @return [String]
1308
1352
  attr_accessor :execution_environment
1309
1353
 
1310
- # KRM-style labels for the resource.
1354
+ # KRM-style labels for the resource. Cloud Run API v2 does not support labels
1355
+ # with `run.googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `
1356
+ # autoscaling.knative.dev` namespaces, and they will be rejected. All system
1357
+ # labels in v1 now have a corresponding field in v2 RevisionTemplate.
1311
1358
  # Corresponds to the JSON property `labels`
1312
1359
  # @return [Hash<String,String>]
1313
1360
  attr_accessor :labels
@@ -1414,8 +1461,8 @@ module Google
1414
1461
  # @return [String]
1415
1462
  attr_accessor :secret
1416
1463
 
1417
- # The Cloud Secret Manager secret version. Can be 'latest' for the latest value
1418
- # or an integer for a specific version.
1464
+ # The Cloud Secret Manager secret version. Can be 'latest' for the latest
1465
+ # version, an integer for a specific version, or a version alias.
1419
1466
  # Corresponds to the JSON property `version`
1420
1467
  # @return [String]
1421
1468
  attr_accessor :version
@@ -1491,10 +1538,12 @@ module Google
1491
1538
 
1492
1539
  # Unstructured key value map that may be set by external tools to store and
1493
1540
  # arbitrary metadata. They are not queryable and should be preserved when
1494
- # modifying objects. Cloud Run will populate some annotations using 'run.
1495
- # googleapis.com' or 'serving.knative.dev' namespaces. This field follows
1496
- # Kubernetes annotations' namespacing, limits, and rules. More info: https://
1497
- # kubernetes.io/docs/user-guide/annotations
1541
+ # modifying objects. Cloud Run API v2 does not support annotations with `run.
1542
+ # googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `
1543
+ # autoscaling.knative.dev` namespaces, and they will be rejected. All system
1544
+ # annotations in v1 now have a corresponding field in v2 Service. This field
1545
+ # follows Kubernetes annotations' namespacing, limits, and rules. More info:
1546
+ # https://kubernetes.io/docs/user-guide/annotations
1498
1547
  # Corresponds to the JSON property `annotations`
1499
1548
  # @return [Hash<String,String>]
1500
1549
  attr_accessor :annotations
@@ -1575,9 +1624,10 @@ module Google
1575
1624
  # can be used to filter, or break down billing charges by team, component,
1576
1625
  # environment, state, etc. For more information, visit https://cloud.google.com/
1577
1626
  # resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/
1578
- # docs/configuring/labels Cloud Run will populate some labels with 'run.
1579
- # googleapis.com' or 'serving.knative.dev' namespaces. Those labels are read-
1580
- # only, and user changes will not be preserved.
1627
+ # docs/configuring/labels Cloud Run API v2 does not support labels with `run.
1628
+ # googleapis.com`, `cloud.googleapis.com`, `serving.knative.dev`, or `
1629
+ # autoscaling.knative.dev` namespaces, and they will be rejected. All system
1630
+ # labels in v1 now have a corresponding field in v2 Service.
1581
1631
  # Corresponds to the JSON property `labels`
1582
1632
  # @return [Hash<String,String>]
1583
1633
  attr_accessor :labels
@@ -1832,9 +1882,7 @@ module Google
1832
1882
  # s billing system, so they can be used to filter, or break down billing charges
1833
1883
  # by team, component, environment, state, etc. For more information, visit https:
1834
1884
  # //cloud.google.com/resource-manager/docs/creating-managing-labels or https://
1835
- # cloud.google.com/run/docs/configuring/labels Cloud Run will populate some
1836
- # labels with 'run.googleapis.com' or 'serving.knative.dev' namespaces. Those
1837
- # labels are read-only, and user changes will not be preserved.
1885
+ # cloud.google.com/run/docs/configuring/labels
1838
1886
  # Corresponds to the JSON property `labels`
1839
1887
  # @return [Hash<String,String>]
1840
1888
  attr_accessor :labels
@@ -2167,8 +2215,8 @@ module Google
2167
2215
  # @return [String]
2168
2216
  attr_accessor :path
2169
2217
 
2170
- # The Cloud Secret Manager secret version. Can be 'latest' for the latest value
2171
- # or an integer for a specific version.
2218
+ # The Cloud Secret Manager secret version. Can be 'latest' for the latest value,
2219
+ # or an integer or a secret alias for a specific version.
2172
2220
  # Corresponds to the JSON property `version`
2173
2221
  # @return [String]
2174
2222
  attr_accessor :version
@@ -2255,7 +2303,7 @@ module Google
2255
2303
  include Google::Apis::Core::Hashable
2256
2304
 
2257
2305
  # VPC Access connector name. Format: projects/`project`/locations/`location`/
2258
- # connectors/`connector`
2306
+ # connectors/`connector`, where `project` can be project id or number.
2259
2307
  # Corresponds to the JSON property `connector`
2260
2308
  # @return [String]
2261
2309
  attr_accessor :connector
@@ -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.24.0"
19
+ GEM_VERSION = "0.26.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.11.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20221030"
25
+ REVISION = "20221129"
26
26
  end
27
27
  end
28
28
  end
@@ -82,6 +82,12 @@ module Google
82
82
  include Google::Apis::Core::JsonObjectSupport
83
83
  end
84
84
 
85
+ class GoogleCloudRunV2GrpcAction
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
85
91
  class GoogleCloudRunV2HttpGetAction
86
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
93
 
@@ -446,6 +452,14 @@ module Google
446
452
  end
447
453
  end
448
454
 
455
+ class GoogleCloudRunV2GrpcAction
456
+ # @private
457
+ class Representation < Google::Apis::Core::JsonRepresentation
458
+ property :port, as: 'port'
459
+ property :service, as: 'service'
460
+ end
461
+ end
462
+
449
463
  class GoogleCloudRunV2HttpGetAction
450
464
  # @private
451
465
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -546,6 +560,8 @@ module Google
546
560
  # @private
547
561
  class Representation < Google::Apis::Core::JsonRepresentation
548
562
  property :failure_threshold, as: 'failureThreshold'
563
+ property :grpc, as: 'grpc', class: Google::Apis::RunV2::GoogleCloudRunV2GrpcAction, decorator: Google::Apis::RunV2::GoogleCloudRunV2GrpcAction::Representation
564
+
549
565
  property :http_get, as: 'httpGet', class: Google::Apis::RunV2::GoogleCloudRunV2HttpGetAction, decorator: Google::Apis::RunV2::GoogleCloudRunV2HttpGetAction::Representation
550
566
 
551
567
  property :initial_delay_seconds, as: 'initialDelaySeconds'
@@ -52,10 +52,11 @@ module Google
52
52
  @batch_path = 'batch'
53
53
  end
54
54
 
55
- # Create a Job.
55
+ # Creates a Job.
56
56
  # @param [String] parent
57
57
  # Required. The location and project in which this Job should be created. Format:
58
- # projects/`project`/locations/`location`
58
+ # projects/`project`/locations/`location`, where `project` can be project id or
59
+ # number.
59
60
  # @param [Google::Apis::RunV2::GoogleCloudRunV2Job] google_cloud_run_v2_job_object
60
61
  # @param [String] job_id
61
62
  # Required. The unique identifier for the Job. The name of the job becomes `
@@ -97,7 +98,7 @@ module Google
97
98
  # Deletes a Job.
98
99
  # @param [String] name
99
100
  # Required. The full name of the Job. Format: projects/`project`/locations/`
100
- # location`/jobs/`job`
101
+ # location`/jobs/`job`, where `project` can be project id or number.
101
102
  # @param [String] etag
102
103
  # A system-generated fingerprint for this version of the resource. May be used
103
104
  # to detect modification conflict during updates.
@@ -136,7 +137,7 @@ module Google
136
137
  # Gets information about a Job.
137
138
  # @param [String] name
138
139
  # Required. The full name of the Job. Format: projects/`project`/locations/`
139
- # location`/jobs/`job`
140
+ # location`/jobs/`job`, where `project` can be project id or number.
140
141
  # @param [String] fields
141
142
  # Selector specifying which fields to include in a partial response.
142
143
  # @param [String] quota_user
@@ -164,7 +165,7 @@ module Google
164
165
  execute_or_queue_command(command, &block)
165
166
  end
166
167
 
167
- # Get the IAM Access Control policy currently in effect for the given Job. This
168
+ # Gets the IAM Access Control policy currently in effect for the given Job. This
168
169
  # result does not include any inherited policies.
169
170
  # @param [String] resource
170
171
  # REQUIRED: The resource for which the policy is being requested. See [Resource
@@ -209,10 +210,10 @@ module Google
209
210
  execute_or_queue_command(command, &block)
210
211
  end
211
212
 
212
- # List Jobs.
213
+ # Lists Jobs.
213
214
  # @param [String] parent
214
215
  # Required. The location and project to list resources on. Format: projects/`
215
- # project`/locations/`location`
216
+ # project`/locations/`location`, where `project` can be project id or number.
216
217
  # @param [Fixnum] page_size
217
218
  # Maximum number of Jobs to return in this call.
218
219
  # @param [String] page_token
@@ -296,7 +297,7 @@ module Google
296
297
  # Triggers creation of a new Execution of this Job.
297
298
  # @param [String] name
298
299
  # Required. The full name of the Job. Format: projects/`project`/locations/`
299
- # location`/jobs/`job`
300
+ # location`/jobs/`job`, where `project` can be project id or number.
300
301
  # @param [Google::Apis::RunV2::GoogleCloudRunV2RunJobRequest] google_cloud_run_v2_run_job_request_object
301
302
  # @param [String] fields
302
303
  # Selector specifying which fields to include in a partial response.
@@ -399,10 +400,11 @@ module Google
399
400
  execute_or_queue_command(command, &block)
400
401
  end
401
402
 
402
- # Delete an Execution.
403
+ # Deletes an Execution.
403
404
  # @param [String] name
404
405
  # Required. The name of the Execution to delete. Format: projects/`project`/
405
- # locations/`location`/jobs/`job`/executions/`execution`
406
+ # locations/`location`/jobs/`job`/executions/`execution`, where `project` can be
407
+ # project id or number.
406
408
  # @param [String] etag
407
409
  # A system-generated fingerprint for this version of the resource. This may be
408
410
  # used to detect modification conflict during updates.
@@ -438,10 +440,11 @@ module Google
438
440
  execute_or_queue_command(command, &block)
439
441
  end
440
442
 
441
- # Gets information about a Execution.
443
+ # Gets information about an Execution.
442
444
  # @param [String] name
443
445
  # Required. The full name of the Execution. Format: projects/`project`/locations/
444
- # `location`/jobs/`job`/executions/`execution`
446
+ # `location`/jobs/`job`/executions/`execution`, where `project` can be project
447
+ # id or number.
445
448
  # @param [String] fields
446
449
  # Selector specifying which fields to include in a partial response.
447
450
  # @param [String] quota_user
@@ -469,11 +472,12 @@ module Google
469
472
  execute_or_queue_command(command, &block)
470
473
  end
471
474
 
472
- # List Executions from a Job.
475
+ # Lists Executions from a Job.
473
476
  # @param [String] parent
474
477
  # Required. The Execution from which the Executions should be listed. To list
475
478
  # all Executions across Jobs, use "-" instead of Job name. Format: projects/`
476
- # project`/locations/`location`/jobs/`job`
479
+ # project`/locations/`location`/jobs/`job`, where `project` can be project id or
480
+ # number.
477
481
  # @param [Fixnum] page_size
478
482
  # Maximum number of Executions to return in this call.
479
483
  # @param [String] page_token
@@ -542,7 +546,7 @@ module Google
542
546
  execute_or_queue_command(command, &block)
543
547
  end
544
548
 
545
- # List Tasks from an Execution of a Job.
549
+ # Lists Tasks from an Execution of a Job.
546
550
  # @param [String] parent
547
551
  # Required. The Execution from which the Tasks should be listed. To list all
548
552
  # Tasks across Executions of a Job, use "-" instead of Execution name. To list
@@ -704,13 +708,13 @@ module Google
704
708
  # Creates a new Service in a given project and location.
705
709
  # @param [String] parent
706
710
  # Required. The location and project in which this service should be created.
707
- # Format: projects/`project`/locations/`location` Only lowercase characters,
708
- # digits, and hyphens.
711
+ # Format: projects/`project`/locations/`location`, where `project` can be
712
+ # project id or number. Only lowercase characters, digits, and hyphens.
709
713
  # @param [Google::Apis::RunV2::GoogleCloudRunV2Service] google_cloud_run_v2_service_object
710
714
  # @param [String] service_id
711
715
  # Required. The unique identifier for the Service. It must begin with letter,
712
- # and may not end with hyphen; must contain fewer than 50 characters. The name
713
- # of the service becomes `parent`/services/`service_id`.
716
+ # and cannot end with hyphen; must contain fewer than 50 characters. The name of
717
+ # the service becomes `parent`/services/`service_id`.
714
718
  # @param [Boolean] validate_only
715
719
  # Indicates that the request should be validated and default values populated,
716
720
  # without persisting the request or creating any resources.
@@ -749,7 +753,7 @@ module Google
749
753
  # will delete all revisions.
750
754
  # @param [String] name
751
755
  # Required. The full name of the Service. Format: projects/`project`/locations/`
752
- # location`/services/`service`
756
+ # location`/services/`service`, where `project` can be project id or number.
753
757
  # @param [String] etag
754
758
  # A system-generated fingerprint for this version of the resource. May be used
755
759
  # to detect modification conflict during updates.
@@ -788,7 +792,7 @@ module Google
788
792
  # Gets information about a Service.
789
793
  # @param [String] name
790
794
  # Required. The full name of the Service. Format: projects/`project`/locations/`
791
- # location`/services/`service`
795
+ # location`/services/`service`, where `project` can be project id or number.
792
796
  # @param [String] fields
793
797
  # Selector specifying which fields to include in a partial response.
794
798
  # @param [String] quota_user
@@ -816,7 +820,7 @@ module Google
816
820
  execute_or_queue_command(command, &block)
817
821
  end
818
822
 
819
- # Get the IAM Access Control policy currently in effect for the given Cloud Run
823
+ # Gets the IAM Access Control policy currently in effect for the given Cloud Run
820
824
  # Service. This result does not include any inherited policies.
821
825
  # @param [String] resource
822
826
  # REQUIRED: The resource for which the policy is being requested. See [Resource
@@ -861,11 +865,11 @@ module Google
861
865
  execute_or_queue_command(command, &block)
862
866
  end
863
867
 
864
- # List Services.
868
+ # Lists Services.
865
869
  # @param [String] parent
866
870
  # Required. The location and project to list resources on. Location must be a
867
- # valid GCP region, and may not be the "-" wildcard. Format: projects/`project`/
868
- # locations/`location`
871
+ # valid Google Cloud region, and cannot be the "-" wildcard. Format: projects/`
872
+ # project`/locations/`location`, where `project` can be project id or number.
869
873
  # @param [Fixnum] page_size
870
874
  # Maximum number of Services to return in this call.
871
875
  # @param [String] page_token
@@ -1020,7 +1024,7 @@ module Google
1020
1024
  execute_or_queue_command(command, &block)
1021
1025
  end
1022
1026
 
1023
- # Delete a Revision.
1027
+ # Deletes a Revision.
1024
1028
  # @param [String] name
1025
1029
  # Required. The name of the Revision to delete. Format: projects/`project`/
1026
1030
  # locations/`location`/services/`service`/revisions/`revision`
@@ -1090,7 +1094,7 @@ module Google
1090
1094
  execute_or_queue_command(command, &block)
1091
1095
  end
1092
1096
 
1093
- # List Revisions from a given Service, or from a given location.
1097
+ # Lists Revisions from a given Service, or from a given location.
1094
1098
  # @param [String] parent
1095
1099
  # Required. The Service from which the Revisions should be listed. To list all
1096
1100
  # Revisions across Services, use "-" instead of Service name. Format: projects/`
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.24.0
4
+ version: 0.26.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-07 00:00:00.000000000 Z
11
+ date: 2022-12-12 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.24.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-run_v2/v0.26.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: []