google-apis-run_v2 0.67.0 → 0.69.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 +9 -0
- data/lib/google/apis/run_v2/classes.rb +52 -45
- data/lib/google/apis/run_v2/gem_version.rb +3 -3
- data/lib/google/apis/run_v2/representations.rb +19 -17
- data/lib/google/apis/run_v2/service.rb +32 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ebd2317f444e329d3cd3a2cd472abdc3855a483f1f3a00c7777604c7ce1a88b8
|
4
|
+
data.tar.gz: c65a385863dc6f49fe41617bc7399fd81f82510454d26c535e37ce7b77668e60
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f43b17c407d337d74e23b2cbacabf91444e6e0b0bf611d20a0b83cd4c4bd155e293d5a6623720d9c43f59bbd1d08b8923981701112640171c0d07780dc35dc42
|
7
|
+
data.tar.gz: c827630551dd965ac25c0de88d775e8fe9e7fffe56dba6d5ec4f1f0685f3f2194c7895dfc0baafc07e442f5a31214dff0494deb466f815eea8df1a7e17f2c7fe
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-run_v2
|
2
2
|
|
3
|
+
### v0.69.0 (2024-08-11)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240802
|
6
|
+
* Regenerated using generator version 0.15.1
|
7
|
+
|
8
|
+
### v0.68.0 (2024-07-25)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20240712
|
11
|
+
|
3
12
|
### v0.67.0 (2024-06-23)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20240614
|
@@ -647,6 +647,11 @@ module Google
|
|
647
647
|
class GoogleCloudRunV2ExecutionReference
|
648
648
|
include Google::Apis::Core::Hashable
|
649
649
|
|
650
|
+
# Status for the execution completion.
|
651
|
+
# Corresponds to the JSON property `completionStatus`
|
652
|
+
# @return [String]
|
653
|
+
attr_accessor :completion_status
|
654
|
+
|
650
655
|
# Creation timestamp of the execution.
|
651
656
|
# Corresponds to the JSON property `completionTime`
|
652
657
|
# @return [String]
|
@@ -657,6 +662,12 @@ module Google
|
|
657
662
|
# @return [String]
|
658
663
|
attr_accessor :create_time
|
659
664
|
|
665
|
+
# The deletion time of the execution. It is only populated as a response to a
|
666
|
+
# Delete request.
|
667
|
+
# Corresponds to the JSON property `deleteTime`
|
668
|
+
# @return [String]
|
669
|
+
attr_accessor :delete_time
|
670
|
+
|
660
671
|
# Name of the execution.
|
661
672
|
# Corresponds to the JSON property `name`
|
662
673
|
# @return [String]
|
@@ -668,8 +679,10 @@ module Google
|
|
668
679
|
|
669
680
|
# Update properties of this object
|
670
681
|
def update!(**args)
|
682
|
+
@completion_status = args[:completion_status] if args.key?(:completion_status)
|
671
683
|
@completion_time = args[:completion_time] if args.key?(:completion_time)
|
672
684
|
@create_time = args[:create_time] if args.key?(:create_time)
|
685
|
+
@delete_time = args[:delete_time] if args.key?(:delete_time)
|
673
686
|
@name = args[:name] if args.key?(:name)
|
674
687
|
end
|
675
688
|
end
|
@@ -816,8 +829,7 @@ module Google
|
|
816
829
|
class GoogleCloudRunV2GcsVolumeSource
|
817
830
|
include Google::Apis::Core::Hashable
|
818
831
|
|
819
|
-
# Cloud Storage Bucket name.
|
820
|
-
# dynamic mounting is public.
|
832
|
+
# Cloud Storage Bucket name.
|
821
833
|
# Corresponds to the JSON property `bucket`
|
822
834
|
# @return [String]
|
823
835
|
attr_accessor :bucket
|
@@ -1726,6 +1738,11 @@ module Google
|
|
1726
1738
|
# @return [String]
|
1727
1739
|
attr_accessor :service_account
|
1728
1740
|
|
1741
|
+
# Service mesh configuration.
|
1742
|
+
# Corresponds to the JSON property `serviceMesh`
|
1743
|
+
# @return [Google::Apis::RunV2::GoogleCloudRunV2ServiceMesh]
|
1744
|
+
attr_accessor :service_mesh
|
1745
|
+
|
1729
1746
|
# Enable session affinity.
|
1730
1747
|
# Corresponds to the JSON property `sessionAffinity`
|
1731
1748
|
# @return [Boolean]
|
@@ -1791,6 +1808,7 @@ module Google
|
|
1791
1808
|
@scaling_status = args[:scaling_status] if args.key?(:scaling_status)
|
1792
1809
|
@service = args[:service] if args.key?(:service)
|
1793
1810
|
@service_account = args[:service_account] if args.key?(:service_account)
|
1811
|
+
@service_mesh = args[:service_mesh] if args.key?(:service_mesh)
|
1794
1812
|
@session_affinity = args[:session_affinity] if args.key?(:session_affinity)
|
1795
1813
|
@timeout = args[:timeout] if args.key?(:timeout)
|
1796
1814
|
@uid = args[:uid] if args.key?(:uid)
|
@@ -1898,7 +1916,8 @@ module Google
|
|
1898
1916
|
attr_accessor :labels
|
1899
1917
|
|
1900
1918
|
# Optional. Sets the maximum number of requests that each serving instance can
|
1901
|
-
# receive.
|
1919
|
+
# receive. If not specified or 0, defaults to 80 when requested CPU >= 1 and
|
1920
|
+
# defaults to 1 when requested CPU < 1.
|
1902
1921
|
# Corresponds to the JSON property `maxInstanceRequestConcurrency`
|
1903
1922
|
# @return [Fixnum]
|
1904
1923
|
attr_accessor :max_instance_request_concurrency
|
@@ -1927,6 +1946,11 @@ module Google
|
|
1927
1946
|
# @return [String]
|
1928
1947
|
attr_accessor :service_account
|
1929
1948
|
|
1949
|
+
# Service mesh configuration.
|
1950
|
+
# Corresponds to the JSON property `serviceMesh`
|
1951
|
+
# @return [Google::Apis::RunV2::GoogleCloudRunV2ServiceMesh]
|
1952
|
+
attr_accessor :service_mesh
|
1953
|
+
|
1930
1954
|
# Optional. Enable session affinity.
|
1931
1955
|
# Corresponds to the JSON property `sessionAffinity`
|
1932
1956
|
# @return [Boolean]
|
@@ -1966,6 +1990,7 @@ module Google
|
|
1966
1990
|
@revision = args[:revision] if args.key?(:revision)
|
1967
1991
|
@scaling = args[:scaling] if args.key?(:scaling)
|
1968
1992
|
@service_account = args[:service_account] if args.key?(:service_account)
|
1993
|
+
@service_mesh = args[:service_mesh] if args.key?(:service_mesh)
|
1969
1994
|
@session_affinity = args[:session_affinity] if args.key?(:session_affinity)
|
1970
1995
|
@timeout = args[:timeout] if args.key?(:timeout)
|
1971
1996
|
@volumes = args[:volumes] if args.key?(:volumes)
|
@@ -2366,6 +2391,26 @@ module Google
|
|
2366
2391
|
end
|
2367
2392
|
end
|
2368
2393
|
|
2394
|
+
# Service mesh configuration.
|
2395
|
+
class GoogleCloudRunV2ServiceMesh
|
2396
|
+
include Google::Apis::Core::Hashable
|
2397
|
+
|
2398
|
+
# The service mesh resource name. Format: projects/`project_number`/locations/
|
2399
|
+
# global/meshes/`mesh`.
|
2400
|
+
# Corresponds to the JSON property `mesh`
|
2401
|
+
# @return [String]
|
2402
|
+
attr_accessor :mesh
|
2403
|
+
|
2404
|
+
def initialize(**args)
|
2405
|
+
update!(**args)
|
2406
|
+
end
|
2407
|
+
|
2408
|
+
# Update properties of this object
|
2409
|
+
def update!(**args)
|
2410
|
+
@mesh = args[:mesh] if args.key?(:mesh)
|
2411
|
+
end
|
2412
|
+
end
|
2413
|
+
|
2369
2414
|
# Scaling settings applied at the service level rather than at the revision
|
2370
2415
|
# level.
|
2371
2416
|
class GoogleCloudRunV2ServiceScaling
|
@@ -3886,40 +3931,6 @@ module Google
|
|
3886
3931
|
end
|
3887
3932
|
end
|
3888
3933
|
|
3889
|
-
# Represents a storage location in Cloud Storage
|
3890
|
-
class GoogleDevtoolsCloudbuildV1GcsLocation
|
3891
|
-
include Google::Apis::Core::Hashable
|
3892
|
-
|
3893
|
-
# Cloud Storage bucket. See https://cloud.google.com/storage/docs/naming#
|
3894
|
-
# requirements
|
3895
|
-
# Corresponds to the JSON property `bucket`
|
3896
|
-
# @return [String]
|
3897
|
-
attr_accessor :bucket
|
3898
|
-
|
3899
|
-
# Cloud Storage generation for the object. If the generation is omitted, the
|
3900
|
-
# latest generation will be used.
|
3901
|
-
# Corresponds to the JSON property `generation`
|
3902
|
-
# @return [Fixnum]
|
3903
|
-
attr_accessor :generation
|
3904
|
-
|
3905
|
-
# Cloud Storage object. See https://cloud.google.com/storage/docs/naming#
|
3906
|
-
# objectnames
|
3907
|
-
# Corresponds to the JSON property `object`
|
3908
|
-
# @return [String]
|
3909
|
-
attr_accessor :object
|
3910
|
-
|
3911
|
-
def initialize(**args)
|
3912
|
-
update!(**args)
|
3913
|
-
end
|
3914
|
-
|
3915
|
-
# Update properties of this object
|
3916
|
-
def update!(**args)
|
3917
|
-
@bucket = args[:bucket] if args.key?(:bucket)
|
3918
|
-
@generation = args[:generation] if args.key?(:generation)
|
3919
|
-
@object = args[:object] if args.key?(:object)
|
3920
|
-
end
|
3921
|
-
end
|
3922
|
-
|
3923
3934
|
# GitConfig is a configuration for git operations.
|
3924
3935
|
class GoogleDevtoolsCloudbuildV1GitConfig
|
3925
3936
|
include Google::Apis::Core::Hashable
|
@@ -4009,17 +4020,14 @@ module Google
|
|
4009
4020
|
class GoogleDevtoolsCloudbuildV1HttpConfig
|
4010
4021
|
include Google::Apis::Core::Hashable
|
4011
4022
|
|
4012
|
-
# SecretVersion resource of the HTTP proxy URL. The
|
4013
|
-
#
|
4023
|
+
# SecretVersion resource of the HTTP proxy URL. The Service Account used in the
|
4024
|
+
# build (either the default Service Account or user-specified Service Account)
|
4025
|
+
# should have `secretmanager.versions.access` permissions on this secret. The
|
4026
|
+
# proxy URL should be in format `protocol://@]proxyhost[:port]`.
|
4014
4027
|
# Corresponds to the JSON property `proxySecretVersionName`
|
4015
4028
|
# @return [String]
|
4016
4029
|
attr_accessor :proxy_secret_version_name
|
4017
4030
|
|
4018
|
-
# Represents a storage location in Cloud Storage
|
4019
|
-
# Corresponds to the JSON property `proxySslCaInfo`
|
4020
|
-
# @return [Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1GcsLocation]
|
4021
|
-
attr_accessor :proxy_ssl_ca_info
|
4022
|
-
|
4023
4031
|
def initialize(**args)
|
4024
4032
|
update!(**args)
|
4025
4033
|
end
|
@@ -4027,7 +4035,6 @@ module Google
|
|
4027
4035
|
# Update properties of this object
|
4028
4036
|
def update!(**args)
|
4029
4037
|
@proxy_secret_version_name = args[:proxy_secret_version_name] if args.key?(:proxy_secret_version_name)
|
4030
|
-
@proxy_ssl_ca_info = args[:proxy_ssl_ca_info] if args.key?(:proxy_ssl_ca_info)
|
4031
4038
|
end
|
4032
4039
|
end
|
4033
4040
|
|
@@ -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.69.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.15.
|
22
|
+
GENERATOR_VERSION = "0.15.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240802"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -274,6 +274,12 @@ module Google
|
|
274
274
|
include Google::Apis::Core::JsonObjectSupport
|
275
275
|
end
|
276
276
|
|
277
|
+
class GoogleCloudRunV2ServiceMesh
|
278
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
279
|
+
|
280
|
+
include Google::Apis::Core::JsonObjectSupport
|
281
|
+
end
|
282
|
+
|
277
283
|
class GoogleCloudRunV2ServiceScaling
|
278
284
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
279
285
|
|
@@ -424,12 +430,6 @@ module Google
|
|
424
430
|
include Google::Apis::Core::JsonObjectSupport
|
425
431
|
end
|
426
432
|
|
427
|
-
class GoogleDevtoolsCloudbuildV1GcsLocation
|
428
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
429
|
-
|
430
|
-
include Google::Apis::Core::JsonObjectSupport
|
431
|
-
end
|
432
|
-
|
433
433
|
class GoogleDevtoolsCloudbuildV1GitConfig
|
434
434
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
435
435
|
|
@@ -809,8 +809,10 @@ module Google
|
|
809
809
|
class GoogleCloudRunV2ExecutionReference
|
810
810
|
# @private
|
811
811
|
class Representation < Google::Apis::Core::JsonRepresentation
|
812
|
+
property :completion_status, as: 'completionStatus'
|
812
813
|
property :completion_time, as: 'completionTime'
|
813
814
|
property :create_time, as: 'createTime'
|
815
|
+
property :delete_time, as: 'deleteTime'
|
814
816
|
property :name, as: 'name'
|
815
817
|
end
|
816
818
|
end
|
@@ -1078,6 +1080,8 @@ module Google
|
|
1078
1080
|
|
1079
1081
|
property :service, as: 'service'
|
1080
1082
|
property :service_account, as: 'serviceAccount'
|
1083
|
+
property :service_mesh, as: 'serviceMesh', class: Google::Apis::RunV2::GoogleCloudRunV2ServiceMesh, decorator: Google::Apis::RunV2::GoogleCloudRunV2ServiceMesh::Representation
|
1084
|
+
|
1081
1085
|
property :session_affinity, as: 'sessionAffinity'
|
1082
1086
|
property :timeout, as: 'timeout'
|
1083
1087
|
property :uid, as: 'uid'
|
@@ -1121,6 +1125,8 @@ module Google
|
|
1121
1125
|
property :scaling, as: 'scaling', class: Google::Apis::RunV2::GoogleCloudRunV2RevisionScaling, decorator: Google::Apis::RunV2::GoogleCloudRunV2RevisionScaling::Representation
|
1122
1126
|
|
1123
1127
|
property :service_account, as: 'serviceAccount'
|
1128
|
+
property :service_mesh, as: 'serviceMesh', class: Google::Apis::RunV2::GoogleCloudRunV2ServiceMesh, decorator: Google::Apis::RunV2::GoogleCloudRunV2ServiceMesh::Representation
|
1129
|
+
|
1124
1130
|
property :session_affinity, as: 'sessionAffinity'
|
1125
1131
|
property :timeout, as: 'timeout'
|
1126
1132
|
collection :volumes, as: 'volumes', class: Google::Apis::RunV2::GoogleCloudRunV2Volume, decorator: Google::Apis::RunV2::GoogleCloudRunV2Volume::Representation
|
@@ -1203,6 +1209,13 @@ module Google
|
|
1203
1209
|
end
|
1204
1210
|
end
|
1205
1211
|
|
1212
|
+
class GoogleCloudRunV2ServiceMesh
|
1213
|
+
# @private
|
1214
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1215
|
+
property :mesh, as: 'mesh'
|
1216
|
+
end
|
1217
|
+
end
|
1218
|
+
|
1206
1219
|
class GoogleCloudRunV2ServiceScaling
|
1207
1220
|
# @private
|
1208
1221
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1555,15 +1568,6 @@ module Google
|
|
1555
1568
|
end
|
1556
1569
|
end
|
1557
1570
|
|
1558
|
-
class GoogleDevtoolsCloudbuildV1GcsLocation
|
1559
|
-
# @private
|
1560
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1561
|
-
property :bucket, as: 'bucket'
|
1562
|
-
property :generation, :numeric_string => true, as: 'generation'
|
1563
|
-
property :object, as: 'object'
|
1564
|
-
end
|
1565
|
-
end
|
1566
|
-
|
1567
1571
|
class GoogleDevtoolsCloudbuildV1GitConfig
|
1568
1572
|
# @private
|
1569
1573
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1593,8 +1597,6 @@ module Google
|
|
1593
1597
|
# @private
|
1594
1598
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1595
1599
|
property :proxy_secret_version_name, as: 'proxySecretVersionName'
|
1596
|
-
property :proxy_ssl_ca_info, as: 'proxySslCaInfo', class: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1GcsLocation, decorator: Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1GcsLocation::Representation
|
1597
|
-
|
1598
1600
|
end
|
1599
1601
|
end
|
1600
1602
|
|
@@ -158,6 +158,38 @@ module Google
|
|
158
158
|
execute_or_queue_command(command, &block)
|
159
159
|
end
|
160
160
|
|
161
|
+
# Export generated customer metadata for a given project.
|
162
|
+
# @param [String] name
|
163
|
+
# Required. The name of the project of which metadata should be exported. Format:
|
164
|
+
# `projects/`project_id_or_number`/locations/`location`` for Project in a given
|
165
|
+
# location.
|
166
|
+
# @param [String] fields
|
167
|
+
# Selector specifying which fields to include in a partial response.
|
168
|
+
# @param [String] quota_user
|
169
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
170
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
171
|
+
# @param [Google::Apis::RequestOptions] options
|
172
|
+
# Request-specific options
|
173
|
+
#
|
174
|
+
# @yield [result, err] Result & error if block supplied
|
175
|
+
# @yieldparam result [Google::Apis::RunV2::GoogleCloudRunV2Metadata] parsed result object
|
176
|
+
# @yieldparam err [StandardError] error object if request failed
|
177
|
+
#
|
178
|
+
# @return [Google::Apis::RunV2::GoogleCloudRunV2Metadata]
|
179
|
+
#
|
180
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
181
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
182
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
183
|
+
def export_project_location_project_metadata(name, fields: nil, quota_user: nil, options: nil, &block)
|
184
|
+
command = make_simple_command(:get, 'v2/{+name}:exportProjectMetadata', options)
|
185
|
+
command.response_representation = Google::Apis::RunV2::GoogleCloudRunV2Metadata::Representation
|
186
|
+
command.response_class = Google::Apis::RunV2::GoogleCloudRunV2Metadata
|
187
|
+
command.params['name'] = name unless name.nil?
|
188
|
+
command.query['fields'] = fields unless fields.nil?
|
189
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
190
|
+
execute_or_queue_command(command, &block)
|
191
|
+
end
|
192
|
+
|
161
193
|
# Creates a Job.
|
162
194
|
# @param [String] parent
|
163
195
|
# Required. The location and project in which this Job should be created. Format:
|
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.69.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: 2024-
|
11
|
+
date: 2024-08-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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-run_v2/v0.69.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: []
|