google-apis-run_v2 0.66.0 → 0.68.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 +8 -0
- data/lib/google/apis/run_v2/classes.rb +24 -47
- data/lib/google/apis/run_v2/gem_version.rb +2 -2
- data/lib/google/apis/run_v2/representations.rb +2 -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: 86fc9e501e1d6f0682ab8a87dde73586092e2a99044ee506ae6fd18056222610
|
4
|
+
data.tar.gz: a28b8e8d6d459032486be855851e8d617c3b6de7f14c5814dba1a70b1fe4c46d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 644c5c9333fc86434e95631b049a23fcca4efed13e8084fc2b94dd49436c6b35448346bddc1e6e5ce0d27fce5964d8e02258a26b241c8cd28a8196fd07ba0d0c
|
7
|
+
data.tar.gz: 1369b38756c13f9ef2b41e1913d1c71624a3119210b5a165a0e0ad21298456819b134635a6c198c59b67fa04b4d7922a67942a61be7557c55872e4a5902c44b6
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-run_v2
|
2
2
|
|
3
|
+
### v0.68.0 (2024-07-25)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240712
|
6
|
+
|
7
|
+
### v0.67.0 (2024-06-23)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20240614
|
10
|
+
|
3
11
|
### v0.66.0 (2024-06-16)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20240607
|
@@ -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
|
@@ -1014,7 +1026,8 @@ module Google
|
|
1014
1026
|
# @return [String]
|
1015
1027
|
attr_accessor :creator
|
1016
1028
|
|
1017
|
-
# Output only. The deletion time.
|
1029
|
+
# Output only. The deletion time. It is only populated as a response to a Delete
|
1030
|
+
# request.
|
1018
1031
|
# Corresponds to the JSON property `deleteTime`
|
1019
1032
|
# @return [String]
|
1020
1033
|
attr_accessor :delete_time
|
@@ -1897,7 +1910,8 @@ module Google
|
|
1897
1910
|
attr_accessor :labels
|
1898
1911
|
|
1899
1912
|
# Optional. Sets the maximum number of requests that each serving instance can
|
1900
|
-
# receive.
|
1913
|
+
# receive. If not specified or 0, defaults to 80 when requested CPU >= 1 and
|
1914
|
+
# defaults to 1 when requested CPU < 1.
|
1901
1915
|
# Corresponds to the JSON property `maxInstanceRequestConcurrency`
|
1902
1916
|
# @return [Fixnum]
|
1903
1917
|
attr_accessor :max_instance_request_concurrency
|
@@ -2151,7 +2165,8 @@ module Google
|
|
2151
2165
|
attr_accessor :default_uri_disabled
|
2152
2166
|
alias_method :default_uri_disabled?, :default_uri_disabled
|
2153
2167
|
|
2154
|
-
# Output only. The deletion time.
|
2168
|
+
# Output only. The deletion time. It is only populated as a response to a Delete
|
2169
|
+
# request.
|
2155
2170
|
# Corresponds to the JSON property `deleteTime`
|
2156
2171
|
# @return [String]
|
2157
2172
|
attr_accessor :delete_time
|
@@ -3884,40 +3899,6 @@ module Google
|
|
3884
3899
|
end
|
3885
3900
|
end
|
3886
3901
|
|
3887
|
-
# Represents a storage location in Cloud Storage
|
3888
|
-
class GoogleDevtoolsCloudbuildV1GcsLocation
|
3889
|
-
include Google::Apis::Core::Hashable
|
3890
|
-
|
3891
|
-
# Cloud Storage bucket. See https://cloud.google.com/storage/docs/naming#
|
3892
|
-
# requirements
|
3893
|
-
# Corresponds to the JSON property `bucket`
|
3894
|
-
# @return [String]
|
3895
|
-
attr_accessor :bucket
|
3896
|
-
|
3897
|
-
# Cloud Storage generation for the object. If the generation is omitted, the
|
3898
|
-
# latest generation will be used.
|
3899
|
-
# Corresponds to the JSON property `generation`
|
3900
|
-
# @return [Fixnum]
|
3901
|
-
attr_accessor :generation
|
3902
|
-
|
3903
|
-
# Cloud Storage object. See https://cloud.google.com/storage/docs/naming#
|
3904
|
-
# objectnames
|
3905
|
-
# Corresponds to the JSON property `object`
|
3906
|
-
# @return [String]
|
3907
|
-
attr_accessor :object
|
3908
|
-
|
3909
|
-
def initialize(**args)
|
3910
|
-
update!(**args)
|
3911
|
-
end
|
3912
|
-
|
3913
|
-
# Update properties of this object
|
3914
|
-
def update!(**args)
|
3915
|
-
@bucket = args[:bucket] if args.key?(:bucket)
|
3916
|
-
@generation = args[:generation] if args.key?(:generation)
|
3917
|
-
@object = args[:object] if args.key?(:object)
|
3918
|
-
end
|
3919
|
-
end
|
3920
|
-
|
3921
3902
|
# GitConfig is a configuration for git operations.
|
3922
3903
|
class GoogleDevtoolsCloudbuildV1GitConfig
|
3923
3904
|
include Google::Apis::Core::Hashable
|
@@ -4007,17 +3988,14 @@ module Google
|
|
4007
3988
|
class GoogleDevtoolsCloudbuildV1HttpConfig
|
4008
3989
|
include Google::Apis::Core::Hashable
|
4009
3990
|
|
4010
|
-
# SecretVersion resource of the HTTP proxy URL. The
|
4011
|
-
#
|
3991
|
+
# SecretVersion resource of the HTTP proxy URL. The Service Account used in the
|
3992
|
+
# build (either the default Service Account or user-specified Service Account)
|
3993
|
+
# should have `secretmanager.versions.access` permissions on this secret. The
|
3994
|
+
# proxy URL should be in format `protocol://@]proxyhost[:port]`.
|
4012
3995
|
# Corresponds to the JSON property `proxySecretVersionName`
|
4013
3996
|
# @return [String]
|
4014
3997
|
attr_accessor :proxy_secret_version_name
|
4015
3998
|
|
4016
|
-
# Represents a storage location in Cloud Storage
|
4017
|
-
# Corresponds to the JSON property `proxySslCaInfo`
|
4018
|
-
# @return [Google::Apis::RunV2::GoogleDevtoolsCloudbuildV1GcsLocation]
|
4019
|
-
attr_accessor :proxy_ssl_ca_info
|
4020
|
-
|
4021
3999
|
def initialize(**args)
|
4022
4000
|
update!(**args)
|
4023
4001
|
end
|
@@ -4025,7 +4003,6 @@ module Google
|
|
4025
4003
|
# Update properties of this object
|
4026
4004
|
def update!(**args)
|
4027
4005
|
@proxy_secret_version_name = args[:proxy_secret_version_name] if args.key?(:proxy_secret_version_name)
|
4028
|
-
@proxy_ssl_ca_info = args[:proxy_ssl_ca_info] if args.key?(:proxy_ssl_ca_info)
|
4029
4006
|
end
|
4030
4007
|
end
|
4031
4008
|
|
@@ -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.68.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.15.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240712"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -424,12 +424,6 @@ module Google
|
|
424
424
|
include Google::Apis::Core::JsonObjectSupport
|
425
425
|
end
|
426
426
|
|
427
|
-
class GoogleDevtoolsCloudbuildV1GcsLocation
|
428
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
429
|
-
|
430
|
-
include Google::Apis::Core::JsonObjectSupport
|
431
|
-
end
|
432
|
-
|
433
427
|
class GoogleDevtoolsCloudbuildV1GitConfig
|
434
428
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
435
429
|
|
@@ -809,8 +803,10 @@ module Google
|
|
809
803
|
class GoogleCloudRunV2ExecutionReference
|
810
804
|
# @private
|
811
805
|
class Representation < Google::Apis::Core::JsonRepresentation
|
806
|
+
property :completion_status, as: 'completionStatus'
|
812
807
|
property :completion_time, as: 'completionTime'
|
813
808
|
property :create_time, as: 'createTime'
|
809
|
+
property :delete_time, as: 'deleteTime'
|
814
810
|
property :name, as: 'name'
|
815
811
|
end
|
816
812
|
end
|
@@ -1555,15 +1551,6 @@ module Google
|
|
1555
1551
|
end
|
1556
1552
|
end
|
1557
1553
|
|
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
1554
|
class GoogleDevtoolsCloudbuildV1GitConfig
|
1568
1555
|
# @private
|
1569
1556
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1593,8 +1580,6 @@ module Google
|
|
1593
1580
|
# @private
|
1594
1581
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1595
1582
|
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
1583
|
end
|
1599
1584
|
end
|
1600
1585
|
|
@@ -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.68.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-07-25 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.68.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: []
|