google-apis-run_v2 0.119.0 → 0.120.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8deb2b7acc3ee1075392938ff2a0aa0d27b2f1d8f1e6292c025fde5fd4046754
4
- data.tar.gz: 19ef2f98d2d021935eb42368db04dab2238e464f03c3fdfca5e049256b6f0c2f
3
+ metadata.gz: b2e968da6f1f8f4b3e134688dbb809e1826a61bc04052201083367ffe43653aa
4
+ data.tar.gz: 0aaa893a50813d4540711110bea8947697891a61b255fe4aaedc879cf8872257
5
5
  SHA512:
6
- metadata.gz: feb4436f910ea69c27b68b84996ead14c1b7f275124e77f97ef67c042096480bc36ad699be5cd90735c09f5b554697128ee126cc89a5c93e2bb586e6330db0b6
7
- data.tar.gz: 64219a2a0586a419011df3502d0cf57488ccb1d25d1b84ba6612aa47b7f22b3d1b6e45766ecef7383b7ad9442549306dd2c0563302e91ef13730b9fdf33a7628
6
+ metadata.gz: 27f2c76e8a47966083b25ea437c080a7f62047193946315d6ded2b4341fee532e647f0fa8077fd1ee49c5412a063f31050fbf547883809fb395d35f7353baad4
7
+ data.tar.gz: 0da7925ad73d761036e4506597d4679345b65ed4fd2933733f84c52013fca26cbed05992524289c8f873c151595adbe01253ee3435630eb71e5bfdf52018efd4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-run_v2
2
2
 
3
+ ### v0.120.0 (2026-08-16)
4
+
5
+ * Regenerated from discovery document revision 20260807
6
+
3
7
  ### v0.119.0 (2026-07-26)
4
8
 
5
9
  * Regenerated from discovery document revision 20260717
@@ -4101,6 +4101,44 @@ module Google
4101
4101
  end
4102
4102
  end
4103
4103
 
4104
+ # The request message for the UploadSource method.
4105
+ class GoogleCloudRunV2UploadSourceRequest
4106
+ include Google::Apis::Core::Hashable
4107
+
4108
+ # The name of Cloud Run Service upload source archive will be used for.
4109
+ # Corresponds to the JSON property `service`
4110
+ # @return [String]
4111
+ attr_accessor :service
4112
+
4113
+ def initialize(**args)
4114
+ update!(**args)
4115
+ end
4116
+
4117
+ # Update properties of this object
4118
+ def update!(**args)
4119
+ @service = args[:service] if args.key?(:service)
4120
+ end
4121
+ end
4122
+
4123
+ # The response message for the UploadSource method.
4124
+ class GoogleCloudRunV2UploadSourceResponse
4125
+ include Google::Apis::Core::Hashable
4126
+
4127
+ # Cloud Storage source.
4128
+ # Corresponds to the JSON property `cloudStorageSource`
4129
+ # @return [Google::Apis::RunV2::GoogleCloudRunV2CloudStorageSource]
4130
+ attr_accessor :cloud_storage_source
4131
+
4132
+ def initialize(**args)
4133
+ update!(**args)
4134
+ end
4135
+
4136
+ # Update properties of this object
4137
+ def update!(**args)
4138
+ @cloud_storage_source = args[:cloud_storage_source] if args.key?(:cloud_storage_source)
4139
+ end
4140
+ end
4141
+
4104
4142
  # VersionToPath maps a specific version of a secret to a relative file to mount
4105
4143
  # to, relative to VolumeMount's mount_path.
4106
4144
  class GoogleCloudRunV2VersionToPath
@@ -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.119.0"
19
+ GEM_VERSION = "0.120.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 = "20260717"
25
+ REVISION = "20260807"
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
 
@@ -1805,6 +1817,21 @@ module Google
1805
1817
  end
1806
1818
  end
1807
1819
 
1820
+ class GoogleCloudRunV2UploadSourceRequest
1821
+ # @private
1822
+ class Representation < Google::Apis::Core::JsonRepresentation
1823
+ property :service, as: 'service'
1824
+ end
1825
+ end
1826
+
1827
+ class GoogleCloudRunV2UploadSourceResponse
1828
+ # @private
1829
+ class Representation < Google::Apis::Core::JsonRepresentation
1830
+ property :cloud_storage_source, as: 'cloudStorageSource', class: Google::Apis::RunV2::GoogleCloudRunV2CloudStorageSource, decorator: Google::Apis::RunV2::GoogleCloudRunV2CloudStorageSource::Representation
1831
+
1832
+ end
1833
+ end
1834
+
1808
1835
  class GoogleCloudRunV2VersionToPath
1809
1836
  # @private
1810
1837
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -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.119.0
4
+ version: 0.120.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.119.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-run_v2/v0.120.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: