google-apis-run_v2 0.1.0 → 0.5.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 +17 -0
- data/lib/google/apis/run_v2/classes.rb +6 -38
- data/lib/google/apis/run_v2/gem_version.rb +3 -3
- data/lib/google/apis/run_v2/representations.rb +0 -16
- data/lib/google/apis/run_v2/service.rb +13 -6
- data/lib/google/apis/run_v2.rb +3 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ce76cc9c246d4568a5f71832740e177066d89e88a90923d83a472e51a2739209
|
4
|
+
data.tar.gz: f0c3616f3a5f98d01836f1b3e68c21b5505fb3572799b4995034900cd61c48c1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c51e97ee8d0780529a1c49a475043054a12bb292a7a3def7985a0040a143b3fb9bf58a19cbaab0f1215f0081ccdcd5e205edc1ce7d6353fb68a7509648d8cc0c
|
7
|
+
data.tar.gz: 31a62d896e3041e28b30d9e20b2da926c589ffbae2d1238df78c1111785d100f7cb9b7600984c5bd90c212bbc3050e6dabb7370a6bfba0913468b0a081a5e9f7
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-run_v2
|
2
2
|
|
3
|
+
### v0.5.0 (2022-02-16)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220211
|
6
|
+
|
7
|
+
### v0.4.0 (2022-02-03)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220128
|
10
|
+
|
11
|
+
### v0.3.0 (2022-01-26)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220121
|
14
|
+
|
15
|
+
### v0.2.0 (2022-01-12)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20220107
|
18
|
+
* Regenerated using generator version 0.4.1
|
19
|
+
|
3
20
|
### v0.1.0 (2022-01-06)
|
4
21
|
|
5
22
|
* Regenerated from discovery document revision 20220103
|
@@ -259,32 +259,6 @@ module Google
|
|
259
259
|
end
|
260
260
|
end
|
261
261
|
|
262
|
-
# ContainerStatus holds the information of container name and image digest value.
|
263
|
-
class GoogleCloudRunOpV2ContainerStatus
|
264
|
-
include Google::Apis::Core::Hashable
|
265
|
-
|
266
|
-
# ImageDigest holds the resolved digest for the image specified, regardless of
|
267
|
-
# whether a tag or digest was originally specified in the Container object.
|
268
|
-
# Corresponds to the JSON property `imageDigest`
|
269
|
-
# @return [String]
|
270
|
-
attr_accessor :image_digest
|
271
|
-
|
272
|
-
# The name of the container, if specified.
|
273
|
-
# Corresponds to the JSON property `name`
|
274
|
-
# @return [String]
|
275
|
-
attr_accessor :name
|
276
|
-
|
277
|
-
def initialize(**args)
|
278
|
-
update!(**args)
|
279
|
-
end
|
280
|
-
|
281
|
-
# Update properties of this object
|
282
|
-
def update!(**args)
|
283
|
-
@image_digest = args[:image_digest] if args.key?(:image_digest)
|
284
|
-
@name = args[:name] if args.key?(:name)
|
285
|
-
end
|
286
|
-
end
|
287
|
-
|
288
262
|
# EnvVar represents an environment variable present in a Container.
|
289
263
|
class GoogleCloudRunOpV2EnvVar
|
290
264
|
include Google::Apis::Core::Hashable
|
@@ -452,11 +426,6 @@ module Google
|
|
452
426
|
# @return [Fixnum]
|
453
427
|
attr_accessor :container_concurrency
|
454
428
|
|
455
|
-
# Output only. Status information for each of the containers specified.
|
456
|
-
# Corresponds to the JSON property `containerStatuses`
|
457
|
-
# @return [Array<Google::Apis::RunV2::GoogleCloudRunOpV2ContainerStatus>]
|
458
|
-
attr_accessor :container_statuses
|
459
|
-
|
460
429
|
# Holds the single container that defines the unit of execution for this
|
461
430
|
# Revision.
|
462
431
|
# Corresponds to the JSON property `containers`
|
@@ -518,7 +487,7 @@ module Google
|
|
518
487
|
# Set the launch stage to a preview stage on write to allow use of preview
|
519
488
|
# features in that stage. On read, describes whether the resource uses preview
|
520
489
|
# features. Launch Stages are defined at [Google Cloud Platform Launch Stages](
|
521
|
-
#
|
490
|
+
# https://cloud.google.com/terms/launch-stages).
|
522
491
|
# Corresponds to the JSON property `launchStage`
|
523
492
|
# @return [String]
|
524
493
|
attr_accessor :launch_stage
|
@@ -605,7 +574,6 @@ module Google
|
|
605
574
|
@conditions = args[:conditions] if args.key?(:conditions)
|
606
575
|
@confidential = args[:confidential] if args.key?(:confidential)
|
607
576
|
@container_concurrency = args[:container_concurrency] if args.key?(:container_concurrency)
|
608
|
-
@container_statuses = args[:container_statuses] if args.key?(:container_statuses)
|
609
577
|
@containers = args[:containers] if args.key?(:containers)
|
610
578
|
@create_time = args[:create_time] if args.key?(:create_time)
|
611
579
|
@delete_time = args[:delete_time] if args.key?(:delete_time)
|
@@ -849,7 +817,7 @@ module Google
|
|
849
817
|
# arbitrary metadata. They are not queryable and should be preserved when
|
850
818
|
# modifying objects. Cloud Run will populate some annotations using 'run.
|
851
819
|
# googleapis.com' or 'serving.knative.dev' namespaces. This field follows
|
852
|
-
# Kubernetes annotations' namespacing, limits, and rules. More info:
|
820
|
+
# Kubernetes annotations' namespacing, limits, and rules. More info: https://
|
853
821
|
# kubernetes.io/docs/user-guide/annotations
|
854
822
|
# Corresponds to the JSON property `annotations`
|
855
823
|
# @return [Hash<String,String>]
|
@@ -893,7 +861,8 @@ module Google
|
|
893
861
|
# @return [String]
|
894
862
|
attr_accessor :delete_time
|
895
863
|
|
896
|
-
# User-provided description of the Service.
|
864
|
+
# User-provided description of the Service. This field currently has a 512-
|
865
|
+
# character limit.
|
897
866
|
# Corresponds to the JSON property `description`
|
898
867
|
# @return [String]
|
899
868
|
attr_accessor :description
|
@@ -953,7 +922,7 @@ module Google
|
|
953
922
|
# @return [String]
|
954
923
|
attr_accessor :latest_ready_revision
|
955
924
|
|
956
|
-
# The launch stage as defined by [Google Cloud Platform Launch Stages](
|
925
|
+
# The launch stage as defined by [Google Cloud Platform Launch Stages](https://
|
957
926
|
# cloud.google.com/terms/launch-stages). Cloud Run supports `ALPHA`, `BETA`, and
|
958
927
|
# `GA`. If no value is specified, GA is assumed.
|
959
928
|
# Corresponds to the JSON property `launchStage`
|
@@ -1081,8 +1050,7 @@ module Google
|
|
1081
1050
|
include Google::Apis::Core::Hashable
|
1082
1051
|
|
1083
1052
|
# Specifies percent of the traffic to this Revision. This defaults to zero if
|
1084
|
-
# unspecified.
|
1085
|
-
# TrafficTarget entry.
|
1053
|
+
# unspecified.
|
1086
1054
|
# Corresponds to the JSON property `percent`
|
1087
1055
|
# @return [Fixnum]
|
1088
1056
|
attr_accessor :percent
|
@@ -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.5.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.4.
|
22
|
+
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220211"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -52,12 +52,6 @@ module Google
|
|
52
52
|
include Google::Apis::Core::JsonObjectSupport
|
53
53
|
end
|
54
54
|
|
55
|
-
class GoogleCloudRunOpV2ContainerStatus
|
56
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
-
|
58
|
-
include Google::Apis::Core::JsonObjectSupport
|
59
|
-
end
|
60
|
-
|
61
55
|
class GoogleCloudRunOpV2EnvVar
|
62
56
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
57
|
|
@@ -289,14 +283,6 @@ module Google
|
|
289
283
|
end
|
290
284
|
end
|
291
285
|
|
292
|
-
class GoogleCloudRunOpV2ContainerStatus
|
293
|
-
# @private
|
294
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
295
|
-
property :image_digest, as: 'imageDigest'
|
296
|
-
property :name, as: 'name'
|
297
|
-
end
|
298
|
-
end
|
299
|
-
|
300
286
|
class GoogleCloudRunOpV2EnvVar
|
301
287
|
# @private
|
302
288
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -349,8 +335,6 @@ module Google
|
|
349
335
|
|
350
336
|
property :confidential, as: 'confidential'
|
351
337
|
property :container_concurrency, as: 'containerConcurrency'
|
352
|
-
collection :container_statuses, as: 'containerStatuses', class: Google::Apis::RunV2::GoogleCloudRunOpV2ContainerStatus, decorator: Google::Apis::RunV2::GoogleCloudRunOpV2ContainerStatus::Representation
|
353
|
-
|
354
338
|
collection :containers, as: 'containers', class: Google::Apis::RunV2::GoogleCloudRunOpV2Container, decorator: Google::Apis::RunV2::GoogleCloudRunOpV2Container::Representation
|
355
339
|
|
356
340
|
property :create_time, as: 'createTime'
|
@@ -23,8 +23,9 @@ module Google
|
|
23
23
|
# Cloud Run Admin API
|
24
24
|
#
|
25
25
|
# Deploy and manage user provided container images that scale automatically
|
26
|
-
# based on incoming requests. The Cloud Run Admin API follows the Knative
|
27
|
-
# Serving API specification
|
26
|
+
# based on incoming requests. The Cloud Run Admin API v1 follows the Knative
|
27
|
+
# Serving API specification, while v2 is aligned with Google Cloud AIP-based API
|
28
|
+
# standards, as described in https://google.aip.dev/.
|
28
29
|
#
|
29
30
|
# @example
|
30
31
|
# require 'google/apis/run_v2'
|
@@ -124,13 +125,19 @@ module Google
|
|
124
125
|
# the operations collection id, however overriding users must ensure the name
|
125
126
|
# binding is the parent resource, without the operations collection id.
|
126
127
|
# @param [String] name
|
127
|
-
#
|
128
|
+
# Required. To query for all of the operations for a project.
|
128
129
|
# @param [String] filter
|
129
|
-
#
|
130
|
+
# Optional. A filter for matching the completed or in-progress operations. The
|
131
|
+
# supported formats of *filter* are: To query for only completed operations:
|
132
|
+
# done:true To query for only ongoing operations: done:false Must be empty to
|
133
|
+
# query for all of the latest operations for the given parent project.
|
130
134
|
# @param [Fixnum] page_size
|
131
|
-
# The
|
135
|
+
# The maximum number of records that should be returned. Requested page size
|
136
|
+
# cannot exceed 100. If not set or set to less than or equal to 0, the default
|
137
|
+
# page size is 100. .
|
132
138
|
# @param [String] page_token
|
133
|
-
#
|
139
|
+
# Token identifying which result to start with, which is returned by a previous
|
140
|
+
# list call.
|
134
141
|
# @param [String] fields
|
135
142
|
# Selector specifying which fields to include in a partial response.
|
136
143
|
# @param [String] quota_user
|
data/lib/google/apis/run_v2.rb
CHANGED
@@ -22,8 +22,9 @@ module Google
|
|
22
22
|
# Cloud Run Admin API
|
23
23
|
#
|
24
24
|
# Deploy and manage user provided container images that scale automatically
|
25
|
-
# based on incoming requests. The Cloud Run Admin API follows the Knative
|
26
|
-
# Serving API specification
|
25
|
+
# based on incoming requests. The Cloud Run Admin API v1 follows the Knative
|
26
|
+
# Serving API specification, while v2 is aligned with Google Cloud AIP-based API
|
27
|
+
# standards, as described in https://google.aip.dev/.
|
27
28
|
#
|
28
29
|
# @see https://cloud.google.com/run/
|
29
30
|
module RunV2
|
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.5.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-02-21 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.5.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: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.3.
|
78
|
+
rubygems_version: 3.3.5
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud Run Admin API V2
|