google-apis-run_v2 0.21.0 → 0.23.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/lib/google/apis/run_v2/classes.rb +144 -0
- data/lib/google/apis/run_v2/gem_version.rb +3 -3
- data/lib/google/apis/run_v2/representations.rb +66 -0
- data/lib/google/apis/run_v2/service.rb +20 -26
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: af87b9d3eb9ae426e93d0a50c57b1004d22d38dc1aa90409160f3bbf4d6cbcb3
|
4
|
+
data.tar.gz: d19105da49394e37eb7e7e06b0cca2858dfe4f8ed50689b23a023f05c2ed20a6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0337a9b34878143e312596ad79a168b61f0ea664870fc6189cbcd77c9e221757ca3741004b575511ce8fee8cf62dc4ea53895afbe35526cfbd0aa1ea94027479
|
7
|
+
data.tar.gz: fd64e493bd8acd3c1744e73bec2d67ce41a433825a4da497748cb9d08e1b44f07bf3b935047659c9df2976fbeb38f0bdc9b10c62e41fdf9cef4c4426b54779b0
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,15 @@
|
|
1
1
|
# Release history for google-apis-run_v2
|
2
2
|
|
3
|
+
### v0.23.0 (2022-10-28)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20221023
|
6
|
+
* Regenerated using generator version 0.11.0
|
7
|
+
|
8
|
+
### v0.22.0 (2022-09-28)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20220918
|
11
|
+
* Regenerated using generator version 0.10.0
|
12
|
+
|
3
13
|
### v0.21.0 (2022-09-01)
|
4
14
|
|
5
15
|
* Regenerated from discovery document revision 20220828
|
@@ -180,6 +180,12 @@ module Google
|
|
180
180
|
# @return [String]
|
181
181
|
attr_accessor :image
|
182
182
|
|
183
|
+
# Probe describes a health check to be performed against a container to
|
184
|
+
# determine whether it is alive or ready to receive traffic.
|
185
|
+
# Corresponds to the JSON property `livenessProbe`
|
186
|
+
# @return [Google::Apis::RunV2::GoogleCloudRunV2Probe]
|
187
|
+
attr_accessor :liveness_probe
|
188
|
+
|
183
189
|
# Name of the container specified as a DNS_LABEL.
|
184
190
|
# Corresponds to the JSON property `name`
|
185
191
|
# @return [String]
|
@@ -199,6 +205,12 @@ module Google
|
|
199
205
|
# @return [Google::Apis::RunV2::GoogleCloudRunV2ResourceRequirements]
|
200
206
|
attr_accessor :resources
|
201
207
|
|
208
|
+
# Probe describes a health check to be performed against a container to
|
209
|
+
# determine whether it is alive or ready to receive traffic.
|
210
|
+
# Corresponds to the JSON property `startupProbe`
|
211
|
+
# @return [Google::Apis::RunV2::GoogleCloudRunV2Probe]
|
212
|
+
attr_accessor :startup_probe
|
213
|
+
|
202
214
|
# Volume to mount into the container's filesystem.
|
203
215
|
# Corresponds to the JSON property `volumeMounts`
|
204
216
|
# @return [Array<Google::Apis::RunV2::GoogleCloudRunV2VolumeMount>]
|
@@ -220,9 +232,11 @@ module Google
|
|
220
232
|
@command = args[:command] if args.key?(:command)
|
221
233
|
@env = args[:env] if args.key?(:env)
|
222
234
|
@image = args[:image] if args.key?(:image)
|
235
|
+
@liveness_probe = args[:liveness_probe] if args.key?(:liveness_probe)
|
223
236
|
@name = args[:name] if args.key?(:name)
|
224
237
|
@ports = args[:ports] if args.key?(:ports)
|
225
238
|
@resources = args[:resources] if args.key?(:resources)
|
239
|
+
@startup_probe = args[:startup_probe] if args.key?(:startup_probe)
|
226
240
|
@volume_mounts = args[:volume_mounts] if args.key?(:volume_mounts)
|
227
241
|
@working_dir = args[:working_dir] if args.key?(:working_dir)
|
228
242
|
end
|
@@ -583,6 +597,56 @@ module Google
|
|
583
597
|
end
|
584
598
|
end
|
585
599
|
|
600
|
+
# HTTPGetAction describes an action based on HTTP Get requests.
|
601
|
+
class GoogleCloudRunV2HttpGetAction
|
602
|
+
include Google::Apis::Core::Hashable
|
603
|
+
|
604
|
+
# Custom headers to set in the request. HTTP allows repeated headers.
|
605
|
+
# Corresponds to the JSON property `httpHeaders`
|
606
|
+
# @return [Array<Google::Apis::RunV2::GoogleCloudRunV2HttpHeader>]
|
607
|
+
attr_accessor :http_headers
|
608
|
+
|
609
|
+
# Path to access on the HTTP server. Defaults to '/'.
|
610
|
+
# Corresponds to the JSON property `path`
|
611
|
+
# @return [String]
|
612
|
+
attr_accessor :path
|
613
|
+
|
614
|
+
def initialize(**args)
|
615
|
+
update!(**args)
|
616
|
+
end
|
617
|
+
|
618
|
+
# Update properties of this object
|
619
|
+
def update!(**args)
|
620
|
+
@http_headers = args[:http_headers] if args.key?(:http_headers)
|
621
|
+
@path = args[:path] if args.key?(:path)
|
622
|
+
end
|
623
|
+
end
|
624
|
+
|
625
|
+
# HTTPHeader describes a custom header to be used in HTTP probes
|
626
|
+
class GoogleCloudRunV2HttpHeader
|
627
|
+
include Google::Apis::Core::Hashable
|
628
|
+
|
629
|
+
# Required. The header field name
|
630
|
+
# Corresponds to the JSON property `name`
|
631
|
+
# @return [String]
|
632
|
+
attr_accessor :name
|
633
|
+
|
634
|
+
# The header field value
|
635
|
+
# Corresponds to the JSON property `value`
|
636
|
+
# @return [String]
|
637
|
+
attr_accessor :value
|
638
|
+
|
639
|
+
def initialize(**args)
|
640
|
+
update!(**args)
|
641
|
+
end
|
642
|
+
|
643
|
+
# Update properties of this object
|
644
|
+
def update!(**args)
|
645
|
+
@name = args[:name] if args.key?(:name)
|
646
|
+
@value = args[:value] if args.key?(:value)
|
647
|
+
end
|
648
|
+
end
|
649
|
+
|
586
650
|
# Job represents the configuration of a single job. A job an immutable resource
|
587
651
|
# that references a container image which is run to completion.
|
588
652
|
class GoogleCloudRunV2Job
|
@@ -906,6 +970,66 @@ module Google
|
|
906
970
|
end
|
907
971
|
end
|
908
972
|
|
973
|
+
# Probe describes a health check to be performed against a container to
|
974
|
+
# determine whether it is alive or ready to receive traffic.
|
975
|
+
class GoogleCloudRunV2Probe
|
976
|
+
include Google::Apis::Core::Hashable
|
977
|
+
|
978
|
+
# Minimum consecutive failures for the probe to be considered failed after
|
979
|
+
# having succeeded. Defaults to 3. Minimum value is 1.
|
980
|
+
# Corresponds to the JSON property `failureThreshold`
|
981
|
+
# @return [Fixnum]
|
982
|
+
attr_accessor :failure_threshold
|
983
|
+
|
984
|
+
# HTTPGetAction describes an action based on HTTP Get requests.
|
985
|
+
# Corresponds to the JSON property `httpGet`
|
986
|
+
# @return [Google::Apis::RunV2::GoogleCloudRunV2HttpGetAction]
|
987
|
+
attr_accessor :http_get
|
988
|
+
|
989
|
+
# Number of seconds after the container has started before the probe is
|
990
|
+
# initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for
|
991
|
+
# liveness probe is 3600. Maximum value for startup probe is 240. More info:
|
992
|
+
# https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-
|
993
|
+
# probes
|
994
|
+
# Corresponds to the JSON property `initialDelaySeconds`
|
995
|
+
# @return [Fixnum]
|
996
|
+
attr_accessor :initial_delay_seconds
|
997
|
+
|
998
|
+
# How often (in seconds) to perform the probe. Default to 10 seconds. Minimum
|
999
|
+
# value is 1. Maximum value for liveness probe is 3600. Maximum value for
|
1000
|
+
# startup probe is 240. Must be greater or equal than timeout_seconds.
|
1001
|
+
# Corresponds to the JSON property `periodSeconds`
|
1002
|
+
# @return [Fixnum]
|
1003
|
+
attr_accessor :period_seconds
|
1004
|
+
|
1005
|
+
# TCPSocketAction describes an action based on opening a socket
|
1006
|
+
# Corresponds to the JSON property `tcpSocket`
|
1007
|
+
# @return [Google::Apis::RunV2::GoogleCloudRunV2TcpSocketAction]
|
1008
|
+
attr_accessor :tcp_socket
|
1009
|
+
|
1010
|
+
# Number of seconds after which the probe times out. Defaults to 1 second.
|
1011
|
+
# Minimum value is 1. Maximum value is 3600. Must be smaller than period_seconds.
|
1012
|
+
# More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#
|
1013
|
+
# container-probes
|
1014
|
+
# Corresponds to the JSON property `timeoutSeconds`
|
1015
|
+
# @return [Fixnum]
|
1016
|
+
attr_accessor :timeout_seconds
|
1017
|
+
|
1018
|
+
def initialize(**args)
|
1019
|
+
update!(**args)
|
1020
|
+
end
|
1021
|
+
|
1022
|
+
# Update properties of this object
|
1023
|
+
def update!(**args)
|
1024
|
+
@failure_threshold = args[:failure_threshold] if args.key?(:failure_threshold)
|
1025
|
+
@http_get = args[:http_get] if args.key?(:http_get)
|
1026
|
+
@initial_delay_seconds = args[:initial_delay_seconds] if args.key?(:initial_delay_seconds)
|
1027
|
+
@period_seconds = args[:period_seconds] if args.key?(:period_seconds)
|
1028
|
+
@tcp_socket = args[:tcp_socket] if args.key?(:tcp_socket)
|
1029
|
+
@timeout_seconds = args[:timeout_seconds] if args.key?(:timeout_seconds)
|
1030
|
+
end
|
1031
|
+
end
|
1032
|
+
|
909
1033
|
# ResourceRequirements describes the compute resource requirements.
|
910
1034
|
class GoogleCloudRunV2ResourceRequirements
|
911
1035
|
include Google::Apis::Core::Hashable
|
@@ -1600,6 +1724,26 @@ module Google
|
|
1600
1724
|
end
|
1601
1725
|
end
|
1602
1726
|
|
1727
|
+
# TCPSocketAction describes an action based on opening a socket
|
1728
|
+
class GoogleCloudRunV2TcpSocketAction
|
1729
|
+
include Google::Apis::Core::Hashable
|
1730
|
+
|
1731
|
+
# Port number to access on the container. Must be in the range 1 to 65535. If
|
1732
|
+
# not specified, defaults to 8080.
|
1733
|
+
# Corresponds to the JSON property `port`
|
1734
|
+
# @return [Fixnum]
|
1735
|
+
attr_accessor :port
|
1736
|
+
|
1737
|
+
def initialize(**args)
|
1738
|
+
update!(**args)
|
1739
|
+
end
|
1740
|
+
|
1741
|
+
# Update properties of this object
|
1742
|
+
def update!(**args)
|
1743
|
+
@port = args[:port] if args.key?(:port)
|
1744
|
+
end
|
1745
|
+
end
|
1746
|
+
|
1603
1747
|
# Task represents a single run of a container to completion.
|
1604
1748
|
class GoogleCloudRunV2Task
|
1605
1749
|
include Google::Apis::Core::Hashable
|
@@ -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.23.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.11.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20221023"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -82,6 +82,18 @@ module Google
|
|
82
82
|
include Google::Apis::Core::JsonObjectSupport
|
83
83
|
end
|
84
84
|
|
85
|
+
class GoogleCloudRunV2HttpGetAction
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
91
|
+
class GoogleCloudRunV2HttpHeader
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
85
97
|
class GoogleCloudRunV2Job
|
86
98
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
99
|
|
@@ -118,6 +130,12 @@ module Google
|
|
118
130
|
include Google::Apis::Core::JsonObjectSupport
|
119
131
|
end
|
120
132
|
|
133
|
+
class GoogleCloudRunV2Probe
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
+
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
137
|
+
end
|
138
|
+
|
121
139
|
class GoogleCloudRunV2ResourceRequirements
|
122
140
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
141
|
|
@@ -166,6 +184,12 @@ module Google
|
|
166
184
|
include Google::Apis::Core::JsonObjectSupport
|
167
185
|
end
|
168
186
|
|
187
|
+
class GoogleCloudRunV2TcpSocketAction
|
188
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
|
+
|
190
|
+
include Google::Apis::Core::JsonObjectSupport
|
191
|
+
end
|
192
|
+
|
169
193
|
class GoogleCloudRunV2Task
|
170
194
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
195
|
|
@@ -329,11 +353,15 @@ module Google
|
|
329
353
|
collection :env, as: 'env', class: Google::Apis::RunV2::GoogleCloudRunV2EnvVar, decorator: Google::Apis::RunV2::GoogleCloudRunV2EnvVar::Representation
|
330
354
|
|
331
355
|
property :image, as: 'image'
|
356
|
+
property :liveness_probe, as: 'livenessProbe', class: Google::Apis::RunV2::GoogleCloudRunV2Probe, decorator: Google::Apis::RunV2::GoogleCloudRunV2Probe::Representation
|
357
|
+
|
332
358
|
property :name, as: 'name'
|
333
359
|
collection :ports, as: 'ports', class: Google::Apis::RunV2::GoogleCloudRunV2ContainerPort, decorator: Google::Apis::RunV2::GoogleCloudRunV2ContainerPort::Representation
|
334
360
|
|
335
361
|
property :resources, as: 'resources', class: Google::Apis::RunV2::GoogleCloudRunV2ResourceRequirements, decorator: Google::Apis::RunV2::GoogleCloudRunV2ResourceRequirements::Representation
|
336
362
|
|
363
|
+
property :startup_probe, as: 'startupProbe', class: Google::Apis::RunV2::GoogleCloudRunV2Probe, decorator: Google::Apis::RunV2::GoogleCloudRunV2Probe::Representation
|
364
|
+
|
337
365
|
collection :volume_mounts, as: 'volumeMounts', class: Google::Apis::RunV2::GoogleCloudRunV2VolumeMount, decorator: Google::Apis::RunV2::GoogleCloudRunV2VolumeMount::Representation
|
338
366
|
|
339
367
|
property :working_dir, as: 'workingDir'
|
@@ -418,6 +446,23 @@ module Google
|
|
418
446
|
end
|
419
447
|
end
|
420
448
|
|
449
|
+
class GoogleCloudRunV2HttpGetAction
|
450
|
+
# @private
|
451
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
452
|
+
collection :http_headers, as: 'httpHeaders', class: Google::Apis::RunV2::GoogleCloudRunV2HttpHeader, decorator: Google::Apis::RunV2::GoogleCloudRunV2HttpHeader::Representation
|
453
|
+
|
454
|
+
property :path, as: 'path'
|
455
|
+
end
|
456
|
+
end
|
457
|
+
|
458
|
+
class GoogleCloudRunV2HttpHeader
|
459
|
+
# @private
|
460
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
461
|
+
property :name, as: 'name'
|
462
|
+
property :value, as: 'value'
|
463
|
+
end
|
464
|
+
end
|
465
|
+
|
421
466
|
class GoogleCloudRunV2Job
|
422
467
|
# @private
|
423
468
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -497,6 +542,20 @@ module Google
|
|
497
542
|
end
|
498
543
|
end
|
499
544
|
|
545
|
+
class GoogleCloudRunV2Probe
|
546
|
+
# @private
|
547
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
548
|
+
property :failure_threshold, as: 'failureThreshold'
|
549
|
+
property :http_get, as: 'httpGet', class: Google::Apis::RunV2::GoogleCloudRunV2HttpGetAction, decorator: Google::Apis::RunV2::GoogleCloudRunV2HttpGetAction::Representation
|
550
|
+
|
551
|
+
property :initial_delay_seconds, as: 'initialDelaySeconds'
|
552
|
+
property :period_seconds, as: 'periodSeconds'
|
553
|
+
property :tcp_socket, as: 'tcpSocket', class: Google::Apis::RunV2::GoogleCloudRunV2TcpSocketAction, decorator: Google::Apis::RunV2::GoogleCloudRunV2TcpSocketAction::Representation
|
554
|
+
|
555
|
+
property :timeout_seconds, as: 'timeoutSeconds'
|
556
|
+
end
|
557
|
+
end
|
558
|
+
|
500
559
|
class GoogleCloudRunV2ResourceRequirements
|
501
560
|
# @private
|
502
561
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -637,6 +696,13 @@ module Google
|
|
637
696
|
end
|
638
697
|
end
|
639
698
|
|
699
|
+
class GoogleCloudRunV2TcpSocketAction
|
700
|
+
# @private
|
701
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
702
|
+
property :port, as: 'port'
|
703
|
+
end
|
704
|
+
end
|
705
|
+
|
640
706
|
class GoogleCloudRunV2Task
|
641
707
|
# @private
|
642
708
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -55,7 +55,7 @@ module Google
|
|
55
55
|
# Create a Job.
|
56
56
|
# @param [String] parent
|
57
57
|
# Required. The location and project in which this Job should be created. Format:
|
58
|
-
# projects/`
|
58
|
+
# projects/`project`/locations/`location`
|
59
59
|
# @param [Google::Apis::RunV2::GoogleCloudRunV2Job] google_cloud_run_v2_job_object
|
60
60
|
# @param [String] job_id
|
61
61
|
# Required. The unique identifier for the Job. The name of the job becomes `
|
@@ -96,16 +96,11 @@ module Google
|
|
96
96
|
|
97
97
|
# Deletes a Job.
|
98
98
|
# @param [String] name
|
99
|
-
# Required. The full name of the Job. Format: projects/`
|
100
|
-
#
|
99
|
+
# Required. The full name of the Job. Format: projects/`project`/locations/`
|
100
|
+
# location`/jobs/`job`
|
101
101
|
# @param [String] etag
|
102
102
|
# A system-generated fingerprint for this version of the resource. May be used
|
103
103
|
# to detect modification conflict during updates.
|
104
|
-
# @param [Boolean] force
|
105
|
-
# If set to true, the Job and its Executions will be deleted no matter whether
|
106
|
-
# any Executions are still running or not. If set to false or unset, the Job and
|
107
|
-
# its Executions can only be deleted if there are no running Executions. Any
|
108
|
-
# running Execution will fail the deletion.
|
109
104
|
# @param [Boolean] validate_only
|
110
105
|
# Indicates that the request should be validated without actually deleting any
|
111
106
|
# resources.
|
@@ -126,13 +121,12 @@ module Google
|
|
126
121
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
127
122
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
128
123
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
129
|
-
def delete_project_location_job(name, etag: nil,
|
124
|
+
def delete_project_location_job(name, etag: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
|
130
125
|
command = make_simple_command(:delete, 'v2/{+name}', options)
|
131
126
|
command.response_representation = Google::Apis::RunV2::GoogleLongrunningOperation::Representation
|
132
127
|
command.response_class = Google::Apis::RunV2::GoogleLongrunningOperation
|
133
128
|
command.params['name'] = name unless name.nil?
|
134
129
|
command.query['etag'] = etag unless etag.nil?
|
135
|
-
command.query['force'] = force unless force.nil?
|
136
130
|
command.query['validateOnly'] = validate_only unless validate_only.nil?
|
137
131
|
command.query['fields'] = fields unless fields.nil?
|
138
132
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -141,8 +135,8 @@ module Google
|
|
141
135
|
|
142
136
|
# Gets information about a Job.
|
143
137
|
# @param [String] name
|
144
|
-
# Required. The full name of the Job. Format: projects/`
|
145
|
-
#
|
138
|
+
# Required. The full name of the Job. Format: projects/`project`/locations/`
|
139
|
+
# location`/jobs/`job`
|
146
140
|
# @param [String] fields
|
147
141
|
# Selector specifying which fields to include in a partial response.
|
148
142
|
# @param [String] quota_user
|
@@ -218,7 +212,7 @@ module Google
|
|
218
212
|
# List Jobs.
|
219
213
|
# @param [String] parent
|
220
214
|
# Required. The location and project to list resources on. Format: projects/`
|
221
|
-
#
|
215
|
+
# project`/locations/`location`
|
222
216
|
# @param [Fixnum] page_size
|
223
217
|
# Maximum number of Jobs to return in this call.
|
224
218
|
# @param [String] page_token
|
@@ -301,8 +295,8 @@ module Google
|
|
301
295
|
|
302
296
|
# Triggers creation of a new Execution of this Job.
|
303
297
|
# @param [String] name
|
304
|
-
# Required. The full name of the Job. Format: projects/`
|
305
|
-
#
|
298
|
+
# Required. The full name of the Job. Format: projects/`project`/locations/`
|
299
|
+
# location`/jobs/`job`
|
306
300
|
# @param [Google::Apis::RunV2::GoogleCloudRunV2RunJobRequest] google_cloud_run_v2_run_job_request_object
|
307
301
|
# @param [String] fields
|
308
302
|
# Selector specifying which fields to include in a partial response.
|
@@ -710,13 +704,13 @@ module Google
|
|
710
704
|
# Creates a new Service in a given project and location.
|
711
705
|
# @param [String] parent
|
712
706
|
# Required. The location and project in which this service should be created.
|
713
|
-
# Format: projects/`
|
714
|
-
#
|
715
|
-
# fewer than 50 characters.
|
707
|
+
# Format: projects/`project`/locations/`location` Only lowercase characters,
|
708
|
+
# digits, and hyphens.
|
716
709
|
# @param [Google::Apis::RunV2::GoogleCloudRunV2Service] google_cloud_run_v2_service_object
|
717
710
|
# @param [String] service_id
|
718
|
-
# Required. The unique identifier for the Service.
|
719
|
-
#
|
711
|
+
# 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`.
|
720
714
|
# @param [Boolean] validate_only
|
721
715
|
# Indicates that the request should be validated and default values populated,
|
722
716
|
# without persisting the request or creating any resources.
|
@@ -754,8 +748,8 @@ module Google
|
|
754
748
|
# Deletes a Service. This will cause the Service to stop serving traffic and
|
755
749
|
# will delete all revisions.
|
756
750
|
# @param [String] name
|
757
|
-
# Required. The full name of the Service. Format: projects/`
|
758
|
-
#
|
751
|
+
# Required. The full name of the Service. Format: projects/`project`/locations/`
|
752
|
+
# location`/services/`service`
|
759
753
|
# @param [String] etag
|
760
754
|
# A system-generated fingerprint for this version of the resource. May be used
|
761
755
|
# to detect modification conflict during updates.
|
@@ -793,8 +787,8 @@ module Google
|
|
793
787
|
|
794
788
|
# Gets information about a Service.
|
795
789
|
# @param [String] name
|
796
|
-
# Required. The full name of the Service. Format: projects/`
|
797
|
-
#
|
790
|
+
# Required. The full name of the Service. Format: projects/`project`/locations/`
|
791
|
+
# location`/services/`service`
|
798
792
|
# @param [String] fields
|
799
793
|
# Selector specifying which fields to include in a partial response.
|
800
794
|
# @param [String] quota_user
|
@@ -870,8 +864,8 @@ module Google
|
|
870
864
|
# List Services.
|
871
865
|
# @param [String] parent
|
872
866
|
# Required. The location and project to list resources on. Location must be a
|
873
|
-
# valid GCP region, and may not be the "-" wildcard. Format: projects/`
|
874
|
-
#
|
867
|
+
# valid GCP region, and may not be the "-" wildcard. Format: projects/`project`/
|
868
|
+
# locations/`location`
|
875
869
|
# @param [Fixnum] page_size
|
876
870
|
# Maximum number of Services to return in this call.
|
877
871
|
# @param [String] page_token
|
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.23.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-10-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 0.9.1
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version:
|
29
|
+
version: 0.9.1
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -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.23.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: []
|