google-apis-run_v2 0.119.0 → 0.121.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/run_v2/classes.rb +63 -0
- data/lib/google/apis/run_v2/gem_version.rb +2 -2
- data/lib/google/apis/run_v2/representations.rb +30 -0
- data/lib/google/apis/run_v2/service.rb +49 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 26e37c5566b2eb44e495e2ccbef58b3bf41a0a4413a946b71ff738ae78d0b628
|
|
4
|
+
data.tar.gz: ca3070f69f862cc03c2af0a0d6f23ccddaeb43e63528037ebc2f232a7ca6394f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e503a046aadd938993b60c707c3f5baf9a59d01e683aa5de03e54ae9c7f1f926ef5e5b75e0c6d14fd5972bc8a85f896dc1ec55a5c896a55f859610708aa8e381
|
|
7
|
+
data.tar.gz: 5d0c6ef31a8f514e098f42d74f3da76836bb5fd2a15adab64cf99b4786c35c3e30b7c009f40b3ddd1a4352b58ed866ae057886146d9dfa5948b467d3d4426d3b
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-run_v2
|
|
2
2
|
|
|
3
|
+
### v0.121.0 (2026-09-06)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20260828
|
|
6
|
+
|
|
7
|
+
### v0.120.0 (2026-08-23)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20260814
|
|
10
|
+
|
|
3
11
|
### v0.119.0 (2026-07-26)
|
|
4
12
|
|
|
5
13
|
* Regenerated from discovery document revision 20260717
|
|
@@ -1011,6 +1011,13 @@ module Google
|
|
|
1011
1011
|
# @return [String]
|
|
1012
1012
|
attr_accessor :client_version
|
|
1013
1013
|
|
|
1014
|
+
# Optional. If true, the system will start the execution within the next 12
|
|
1015
|
+
# hours depending on available capacity.
|
|
1016
|
+
# Corresponds to the JSON property `delayExecution`
|
|
1017
|
+
# @return [Boolean]
|
|
1018
|
+
attr_accessor :delay_execution
|
|
1019
|
+
alias_method :delay_execution?, :delay_execution
|
|
1020
|
+
|
|
1014
1021
|
# Unstructured key value map that can be used to organize and categorize objects.
|
|
1015
1022
|
# User-provided labels are shared with Google's billing system, so they can be
|
|
1016
1023
|
# used to filter, or break down billing charges by team, component, environment,
|
|
@@ -1056,6 +1063,7 @@ module Google
|
|
|
1056
1063
|
@annotations = args[:annotations] if args.key?(:annotations)
|
|
1057
1064
|
@client = args[:client] if args.key?(:client)
|
|
1058
1065
|
@client_version = args[:client_version] if args.key?(:client_version)
|
|
1066
|
+
@delay_execution = args[:delay_execution] if args.key?(:delay_execution)
|
|
1059
1067
|
@labels = args[:labels] if args.key?(:labels)
|
|
1060
1068
|
@parallelism = args[:parallelism] if args.key?(:parallelism)
|
|
1061
1069
|
@task_count = args[:task_count] if args.key?(:task_count)
|
|
@@ -2229,6 +2237,13 @@ module Google
|
|
|
2229
2237
|
# @return [Array<Google::Apis::RunV2::GoogleCloudRunV2ContainerOverride>]
|
|
2230
2238
|
attr_accessor :container_overrides
|
|
2231
2239
|
|
|
2240
|
+
# Optional. If true, the system will start the execution within the next 12
|
|
2241
|
+
# hours depending on available capacity.
|
|
2242
|
+
# Corresponds to the JSON property `delayExecution`
|
|
2243
|
+
# @return [Boolean]
|
|
2244
|
+
attr_accessor :delay_execution
|
|
2245
|
+
alias_method :delay_execution?, :delay_execution
|
|
2246
|
+
|
|
2232
2247
|
# Optional. The desired number of tasks the execution should run. Will replace
|
|
2233
2248
|
# existing task_count value.
|
|
2234
2249
|
# Corresponds to the JSON property `taskCount`
|
|
@@ -2249,6 +2264,7 @@ module Google
|
|
|
2249
2264
|
# Update properties of this object
|
|
2250
2265
|
def update!(**args)
|
|
2251
2266
|
@container_overrides = args[:container_overrides] if args.key?(:container_overrides)
|
|
2267
|
+
@delay_execution = args[:delay_execution] if args.key?(:delay_execution)
|
|
2252
2268
|
@task_count = args[:task_count] if args.key?(:task_count)
|
|
2253
2269
|
@timeout = args[:timeout] if args.key?(:timeout)
|
|
2254
2270
|
end
|
|
@@ -4101,6 +4117,44 @@ module Google
|
|
|
4101
4117
|
end
|
|
4102
4118
|
end
|
|
4103
4119
|
|
|
4120
|
+
# The request message for the UploadSource method.
|
|
4121
|
+
class GoogleCloudRunV2UploadSourceRequest
|
|
4122
|
+
include Google::Apis::Core::Hashable
|
|
4123
|
+
|
|
4124
|
+
# The name of Cloud Run Service upload source archive will be used for.
|
|
4125
|
+
# Corresponds to the JSON property `service`
|
|
4126
|
+
# @return [String]
|
|
4127
|
+
attr_accessor :service
|
|
4128
|
+
|
|
4129
|
+
def initialize(**args)
|
|
4130
|
+
update!(**args)
|
|
4131
|
+
end
|
|
4132
|
+
|
|
4133
|
+
# Update properties of this object
|
|
4134
|
+
def update!(**args)
|
|
4135
|
+
@service = args[:service] if args.key?(:service)
|
|
4136
|
+
end
|
|
4137
|
+
end
|
|
4138
|
+
|
|
4139
|
+
# The response message for the UploadSource method.
|
|
4140
|
+
class GoogleCloudRunV2UploadSourceResponse
|
|
4141
|
+
include Google::Apis::Core::Hashable
|
|
4142
|
+
|
|
4143
|
+
# Cloud Storage source.
|
|
4144
|
+
# Corresponds to the JSON property `cloudStorageSource`
|
|
4145
|
+
# @return [Google::Apis::RunV2::GoogleCloudRunV2CloudStorageSource]
|
|
4146
|
+
attr_accessor :cloud_storage_source
|
|
4147
|
+
|
|
4148
|
+
def initialize(**args)
|
|
4149
|
+
update!(**args)
|
|
4150
|
+
end
|
|
4151
|
+
|
|
4152
|
+
# Update properties of this object
|
|
4153
|
+
def update!(**args)
|
|
4154
|
+
@cloud_storage_source = args[:cloud_storage_source] if args.key?(:cloud_storage_source)
|
|
4155
|
+
end
|
|
4156
|
+
end
|
|
4157
|
+
|
|
4104
4158
|
# VersionToPath maps a specific version of a secret to a relative file to mount
|
|
4105
4159
|
# to, relative to VolumeMount's mount_path.
|
|
4106
4160
|
class GoogleCloudRunV2VersionToPath
|
|
@@ -5830,6 +5884,14 @@ module Google
|
|
|
5830
5884
|
# @return [String]
|
|
5831
5885
|
attr_accessor :dest_path
|
|
5832
5886
|
|
|
5887
|
+
# Optional. True if remote tags should be fetched too (default false). Note:
|
|
5888
|
+
# when depth is 1 (default), git fetch only retrieves tags pointing to commits
|
|
5889
|
+
# within the shallow boundary. Set depth to -1 to fetch all historical tags.
|
|
5890
|
+
# Corresponds to the JSON property `fetchTags`
|
|
5891
|
+
# @return [Boolean]
|
|
5892
|
+
attr_accessor :fetch_tags
|
|
5893
|
+
alias_method :fetch_tags?, :fetch_tags
|
|
5894
|
+
|
|
5833
5895
|
# Optional. True if submodules should be fetched too (default false).
|
|
5834
5896
|
# Corresponds to the JSON property `recurseSubmodules`
|
|
5835
5897
|
# @return [Boolean]
|
|
@@ -5854,6 +5916,7 @@ module Google
|
|
|
5854
5916
|
def update!(**args)
|
|
5855
5917
|
@depth = args[:depth] if args.key?(:depth)
|
|
5856
5918
|
@dest_path = args[:dest_path] if args.key?(:dest_path)
|
|
5919
|
+
@fetch_tags = args[:fetch_tags] if args.key?(:fetch_tags)
|
|
5857
5920
|
@recurse_submodules = args[:recurse_submodules] if args.key?(:recurse_submodules)
|
|
5858
5921
|
@repository = args[:repository] if args.key?(:repository)
|
|
5859
5922
|
@revision = args[:revision] if args.key?(:revision)
|
|
@@ -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.121.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.19.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260828"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -442,6 +442,18 @@ module Google
|
|
|
442
442
|
include Google::Apis::Core::JsonObjectSupport
|
|
443
443
|
end
|
|
444
444
|
|
|
445
|
+
class GoogleCloudRunV2UploadSourceRequest
|
|
446
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
447
|
+
|
|
448
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
449
|
+
end
|
|
450
|
+
|
|
451
|
+
class GoogleCloudRunV2UploadSourceResponse
|
|
452
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
453
|
+
|
|
454
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
455
|
+
end
|
|
456
|
+
|
|
445
457
|
class GoogleCloudRunV2VersionToPath
|
|
446
458
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
447
459
|
|
|
@@ -1098,6 +1110,7 @@ module Google
|
|
|
1098
1110
|
hash :annotations, as: 'annotations'
|
|
1099
1111
|
property :client, as: 'client'
|
|
1100
1112
|
property :client_version, as: 'clientVersion'
|
|
1113
|
+
property :delay_execution, as: 'delayExecution'
|
|
1101
1114
|
hash :labels, as: 'labels'
|
|
1102
1115
|
property :parallelism, as: 'parallelism'
|
|
1103
1116
|
property :task_count, as: 'taskCount'
|
|
@@ -1401,6 +1414,7 @@ module Google
|
|
|
1401
1414
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1402
1415
|
collection :container_overrides, as: 'containerOverrides', class: Google::Apis::RunV2::GoogleCloudRunV2ContainerOverride, decorator: Google::Apis::RunV2::GoogleCloudRunV2ContainerOverride::Representation
|
|
1403
1416
|
|
|
1417
|
+
property :delay_execution, as: 'delayExecution'
|
|
1404
1418
|
property :task_count, as: 'taskCount'
|
|
1405
1419
|
property :timeout, as: 'timeout'
|
|
1406
1420
|
end
|
|
@@ -1805,6 +1819,21 @@ module Google
|
|
|
1805
1819
|
end
|
|
1806
1820
|
end
|
|
1807
1821
|
|
|
1822
|
+
class GoogleCloudRunV2UploadSourceRequest
|
|
1823
|
+
# @private
|
|
1824
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1825
|
+
property :service, as: 'service'
|
|
1826
|
+
end
|
|
1827
|
+
end
|
|
1828
|
+
|
|
1829
|
+
class GoogleCloudRunV2UploadSourceResponse
|
|
1830
|
+
# @private
|
|
1831
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1832
|
+
property :cloud_storage_source, as: 'cloudStorageSource', class: Google::Apis::RunV2::GoogleCloudRunV2CloudStorageSource, decorator: Google::Apis::RunV2::GoogleCloudRunV2CloudStorageSource::Representation
|
|
1833
|
+
|
|
1834
|
+
end
|
|
1835
|
+
end
|
|
1836
|
+
|
|
1808
1837
|
class GoogleCloudRunV2VersionToPath
|
|
1809
1838
|
# @private
|
|
1810
1839
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2201,6 +2230,7 @@ module Google
|
|
|
2201
2230
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2202
2231
|
property :depth, :numeric_string => true, as: 'depth'
|
|
2203
2232
|
property :dest_path, as: 'destPath'
|
|
2233
|
+
property :fetch_tags, as: 'fetchTags'
|
|
2204
2234
|
property :recurse_submodules, as: 'recurseSubmodules'
|
|
2205
2235
|
property :repository, as: 'repository', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1GitSourceRepository, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1GitSourceRepository::Representation
|
|
2206
2236
|
|
|
@@ -1857,6 +1857,55 @@ module Google
|
|
|
1857
1857
|
execute_or_queue_command(command, &block)
|
|
1858
1858
|
end
|
|
1859
1859
|
|
|
1860
|
+
# Uploads a source archive to a Google Cloud Storage bucket through Cloud Run.
|
|
1861
|
+
# The uploaded source object should be used for Cloud Run resource deployments.
|
|
1862
|
+
# User is responsible for managing the lifecycle of the uploaded object. If
|
|
1863
|
+
# uploading through the Cloud Run API to Cloud Storage is not desired, you can
|
|
1864
|
+
# use the IAM Deny Policy to deny the `run.locations.uploadSource` permission
|
|
1865
|
+
# for all principals.
|
|
1866
|
+
# @param [String] parent
|
|
1867
|
+
# Required. The project and location in which the source archive should be
|
|
1868
|
+
# uploaded to, specified in the format `projects/*/locations/*`.
|
|
1869
|
+
# @param [Google::Apis::RunV2::GoogleCloudRunV2UploadSourceRequest] google_cloud_run_v2_upload_source_request_object
|
|
1870
|
+
# @param [String] fields
|
|
1871
|
+
# Selector specifying which fields to include in a partial response.
|
|
1872
|
+
# @param [String] quota_user
|
|
1873
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1874
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1875
|
+
# @param [IO, String] upload_source
|
|
1876
|
+
# IO stream or filename containing content to upload
|
|
1877
|
+
# @param [String] content_type
|
|
1878
|
+
# Content type of the uploaded content.
|
|
1879
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1880
|
+
# Request-specific options
|
|
1881
|
+
#
|
|
1882
|
+
# @yield [result, err] Result & error if block supplied
|
|
1883
|
+
# @yieldparam result [Google::Apis::RunV2::GoogleCloudRunV2UploadSourceResponse] parsed result object
|
|
1884
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1885
|
+
#
|
|
1886
|
+
# @return [Google::Apis::RunV2::GoogleCloudRunV2UploadSourceResponse]
|
|
1887
|
+
#
|
|
1888
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1889
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1890
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1891
|
+
def upload_project_location_source_upload(parent, google_cloud_run_v2_upload_source_request_object = nil, fields: nil, quota_user: nil, upload_source: nil, content_type: nil, options: nil, &block)
|
|
1892
|
+
if upload_source.nil?
|
|
1893
|
+
command = make_simple_command(:post, 'v2/{+parent}:uploadSource', options)
|
|
1894
|
+
else
|
|
1895
|
+
command = make_upload_command(:post, 'v2/{+parent}:uploadSource', options)
|
|
1896
|
+
command.upload_source = upload_source
|
|
1897
|
+
command.upload_content_type = content_type
|
|
1898
|
+
end
|
|
1899
|
+
command.request_representation = Google::Apis::RunV2::GoogleCloudRunV2UploadSourceRequest::Representation
|
|
1900
|
+
command.request_object = google_cloud_run_v2_upload_source_request_object
|
|
1901
|
+
command.response_representation = Google::Apis::RunV2::GoogleCloudRunV2UploadSourceResponse::Representation
|
|
1902
|
+
command.response_class = Google::Apis::RunV2::GoogleCloudRunV2UploadSourceResponse
|
|
1903
|
+
command.params['parent'] = parent unless parent.nil?
|
|
1904
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1905
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1906
|
+
execute_or_queue_command(command, &block)
|
|
1907
|
+
end
|
|
1908
|
+
|
|
1860
1909
|
# Creates a new WorkerPool in a given project and location.
|
|
1861
1910
|
# @param [String] parent
|
|
1862
1911
|
# Required. The location and project in which this worker pool should be created.
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.121.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-run_v2/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-run_v2/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-run_v2/v0.121.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-run_v2
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|