google-apis-run_v1alpha1 0.13.0 → 0.17.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 +16 -0
- data/OVERVIEW.md +2 -2
- data/lib/google/apis/run_v1alpha1/classes.rb +115 -21
- data/lib/google/apis/run_v1alpha1/gem_version.rb +2 -2
- data/lib/google/apis/run_v1alpha1/representations.rb +32 -0
- data/lib/google/apis/run_v1alpha1.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1d7090f7b1d939bdf52d4bb51ca3d0444379b55957155634a6246aaa10ee783e
|
4
|
+
data.tar.gz: 835cd773f2a31f562de8724dd56a2557ced8775e22c3d4245d975cf82c35a013
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2fefa08599f846dc3e2851d726ed2a63d770b207aca04592198aece541c0500406d106380625e655fae3f40bf2f5053915176cdbb6ea347445847dea2ac06778
|
7
|
+
data.tar.gz: 84287847feee6f25a466d798ee9da4966bf13ad466451927289e9d7716f40d557066f4c3765a5ee1029fc456fe3ea8b82d83dcd76ef821c6f50380ec6bd56868
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-run_v1alpha1
|
2
2
|
|
3
|
+
### v0.17.0 (2021-10-20)
|
4
|
+
|
5
|
+
* Unspecified changes
|
6
|
+
|
7
|
+
### v0.16.0 (2021-10-07)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20211001
|
10
|
+
|
11
|
+
### v0.15.0 (2021-09-17)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210910
|
14
|
+
|
15
|
+
### v0.14.0 (2021-09-01)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210813
|
18
|
+
|
3
19
|
### v0.13.0 (2021-07-22)
|
4
20
|
|
5
21
|
* Regenerated from discovery document revision 20210716
|
data/OVERVIEW.md
CHANGED
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
|
|
60
60
|
|
61
61
|
More detailed descriptions of the Google simple REST clients are available in two documents.
|
62
62
|
|
63
|
-
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
64
|
-
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
63
|
+
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
|
64
|
+
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
|
65
65
|
|
66
66
|
(Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Run service in particular.)
|
67
67
|
|
@@ -103,10 +103,17 @@ module Google
|
|
103
103
|
class ConfigMapVolumeSource
|
104
104
|
include Google::Apis::Core::Hashable
|
105
105
|
|
106
|
-
# (Optional)
|
107
|
-
# between
|
108
|
-
#
|
109
|
-
#
|
106
|
+
# (Optional) Integer representation of mode bits to use on created files by
|
107
|
+
# default. Must be a value between 01 and 0777 (octal). If 0 or not set, it will
|
108
|
+
# default to 0644. Directories within the path are not affected by this setting.
|
109
|
+
# Notes * Internally, a umask of 0222 will be applied to any non-zero value. *
|
110
|
+
# This is an integer representation of the mode bits. So, the octal integer
|
111
|
+
# value should look exactly as the chmod numeric notation with a leading zero.
|
112
|
+
# Some examples: for chmod 777 (a=rwx), set to 0777 (octal) or 511 (base-10).
|
113
|
+
# For chmod 640 (u=rw,g=r), set to 0640 (octal) or 416 (base-10). For chmod 755 (
|
114
|
+
# u=rwx,g=rx,o=rx), set to 0755 (octal) or 493 (base-10). * This might be in
|
115
|
+
# conflict with other options that affect the file mode, like fsGroup, and the
|
116
|
+
# result can be other mode bits set.
|
110
117
|
# Corresponds to the JSON property `defaultMode`
|
111
118
|
# @return [Fixnum]
|
112
119
|
attr_accessor :default_mode
|
@@ -478,6 +485,45 @@ module Google
|
|
478
485
|
end
|
479
486
|
end
|
480
487
|
|
488
|
+
# The `Status` type defines a logical error model that is suitable for different
|
489
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
490
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
491
|
+
# data: error code, error message, and error details. You can find out more
|
492
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
493
|
+
# //cloud.google.com/apis/design/errors).
|
494
|
+
class GoogleRpcStatus
|
495
|
+
include Google::Apis::Core::Hashable
|
496
|
+
|
497
|
+
# The status code, which should be an enum value of google.rpc.Code.
|
498
|
+
# Corresponds to the JSON property `code`
|
499
|
+
# @return [Fixnum]
|
500
|
+
attr_accessor :code
|
501
|
+
|
502
|
+
# A list of messages that carry the error details. There is a common set of
|
503
|
+
# message types for APIs to use.
|
504
|
+
# Corresponds to the JSON property `details`
|
505
|
+
# @return [Array<Hash<String,Object>>]
|
506
|
+
attr_accessor :details
|
507
|
+
|
508
|
+
# A developer-facing error message, which should be in English. Any user-facing
|
509
|
+
# error message should be localized and sent in the google.rpc.Status.details
|
510
|
+
# field, or localized by the client.
|
511
|
+
# Corresponds to the JSON property `message`
|
512
|
+
# @return [String]
|
513
|
+
attr_accessor :message
|
514
|
+
|
515
|
+
def initialize(**args)
|
516
|
+
update!(**args)
|
517
|
+
end
|
518
|
+
|
519
|
+
# Update properties of this object
|
520
|
+
def update!(**args)
|
521
|
+
@code = args[:code] if args.key?(:code)
|
522
|
+
@details = args[:details] if args.key?(:details)
|
523
|
+
@message = args[:message] if args.key?(:message)
|
524
|
+
end
|
525
|
+
end
|
526
|
+
|
481
527
|
# Not supported by Cloud Run HTTPGetAction describes an action based on HTTP Get
|
482
528
|
# requests.
|
483
529
|
class HttpGetAction
|
@@ -543,6 +589,38 @@ module Google
|
|
543
589
|
end
|
544
590
|
end
|
545
591
|
|
592
|
+
# Result of an instance attempt.
|
593
|
+
class InstanceAttemptResult
|
594
|
+
include Google::Apis::Core::Hashable
|
595
|
+
|
596
|
+
# Optional. The exit code of this attempt. This may be unset if the container
|
597
|
+
# was unable to exit cleanly with a code due to some other failure. See status
|
598
|
+
# field for possible failure details.
|
599
|
+
# Corresponds to the JSON property `exitCode`
|
600
|
+
# @return [Fixnum]
|
601
|
+
attr_accessor :exit_code
|
602
|
+
|
603
|
+
# The `Status` type defines a logical error model that is suitable for different
|
604
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
605
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
606
|
+
# data: error code, error message, and error details. You can find out more
|
607
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
608
|
+
# //cloud.google.com/apis/design/errors).
|
609
|
+
# Corresponds to the JSON property `status`
|
610
|
+
# @return [Google::Apis::RunV1alpha1::GoogleRpcStatus]
|
611
|
+
attr_accessor :status
|
612
|
+
|
613
|
+
def initialize(**args)
|
614
|
+
update!(**args)
|
615
|
+
end
|
616
|
+
|
617
|
+
# Update properties of this object
|
618
|
+
def update!(**args)
|
619
|
+
@exit_code = args[:exit_code] if args.key?(:exit_code)
|
620
|
+
@status = args[:status] if args.key?(:status)
|
621
|
+
end
|
622
|
+
end
|
623
|
+
|
546
624
|
# InstanceSpec is a description of an instance.
|
547
625
|
class InstanceSpec
|
548
626
|
include Google::Apis::Core::Hashable
|
@@ -631,6 +709,11 @@ module Google
|
|
631
709
|
# @return [Fixnum]
|
632
710
|
attr_accessor :index
|
633
711
|
|
712
|
+
# Result of an instance attempt.
|
713
|
+
# Corresponds to the JSON property `lastAttemptResult`
|
714
|
+
# @return [Google::Apis::RunV1alpha1::InstanceAttemptResult]
|
715
|
+
attr_accessor :last_attempt_result
|
716
|
+
|
634
717
|
# Optional. Last exit code seen for this instance. +optional
|
635
718
|
# Corresponds to the JSON property `lastExitCode`
|
636
719
|
# @return [Fixnum]
|
@@ -664,6 +747,7 @@ module Google
|
|
664
747
|
@completion_time = args[:completion_time] if args.key?(:completion_time)
|
665
748
|
@failed = args[:failed] if args.key?(:failed)
|
666
749
|
@index = args[:index] if args.key?(:index)
|
750
|
+
@last_attempt_result = args[:last_attempt_result] if args.key?(:last_attempt_result)
|
667
751
|
@last_exit_code = args[:last_exit_code] if args.key?(:last_exit_code)
|
668
752
|
@restarted = args[:restarted] if args.key?(:restarted)
|
669
753
|
@start_time = args[:start_time] if args.key?(:start_time)
|
@@ -774,7 +858,7 @@ module Google
|
|
774
858
|
attr_accessor :status
|
775
859
|
|
776
860
|
# Required. Type is used to communicate the status of the reconciliation process.
|
777
|
-
# See also: https://github.com/knative/serving/blob/
|
861
|
+
# See also: https://github.com/knative/serving/blob/main/docs/spec/errors.md#
|
778
862
|
# error-conditions-and-reporting Types include: * "Completed": True when the Job
|
779
863
|
# has successfully completed. * "Started": True when the Job has successfully
|
780
864
|
# started running. * "ResourcesAvailable": True when underlying resources have
|
@@ -953,10 +1037,16 @@ module Google
|
|
953
1037
|
# @return [String]
|
954
1038
|
attr_accessor :key
|
955
1039
|
|
956
|
-
# (Optional) Mode bits to use on this file, must be a value between
|
957
|
-
#
|
958
|
-
#
|
959
|
-
#
|
1040
|
+
# (Optional) Mode bits to use on this file, must be a value between 01 and 0777 (
|
1041
|
+
# octal). If 0 or not set, the Volume's default mode will be used. Notes *
|
1042
|
+
# Internally, a umask of 0222 will be applied to any non-zero value. * This is
|
1043
|
+
# an integer representation of the mode bits. So, the octal integer value should
|
1044
|
+
# look exactly as the chmod numeric notation with a leading zero. Some examples:
|
1045
|
+
# for chmod 777 (a=rwx), set to 0777 (octal) or 511 (base-10). For chmod 640 (u=
|
1046
|
+
# rw,g=r), set to 0640 (octal) or 416 (base-10). For chmod 755 (u=rwx,g=rx,o=rx),
|
1047
|
+
# set to 0755 (octal) or 493 (base-10). * This might be in conflict with other
|
1048
|
+
# options that affect the file mode, like fsGroup, and the result can be other
|
1049
|
+
# mode bits set.
|
960
1050
|
# Corresponds to the JSON property `mode`
|
961
1051
|
# @return [Fixnum]
|
962
1052
|
attr_accessor :mode
|
@@ -1534,13 +1624,17 @@ module Google
|
|
1534
1624
|
class SecretVolumeSource
|
1535
1625
|
include Google::Apis::Core::Hashable
|
1536
1626
|
|
1537
|
-
#
|
1538
|
-
# between
|
1539
|
-
#
|
1540
|
-
#
|
1541
|
-
#
|
1542
|
-
#
|
1543
|
-
# (a=rwx)
|
1627
|
+
# Integer representation of mode bits to use on created files by default. Must
|
1628
|
+
# be a value between 01 and 0777 (octal). If 0 or not set, it will default to
|
1629
|
+
# 0644. Directories within the path are not affected by this setting. Notes *
|
1630
|
+
# Internally, a umask of 0222 will be applied to any non-zero value. * This is
|
1631
|
+
# an integer representation of the mode bits. So, the octal integer value should
|
1632
|
+
# look exactly as the chmod numeric notation with a leading zero. Some examples:
|
1633
|
+
# for chmod 777 (a=rwx), set to 0777 (octal) or 511 (base-10). For chmod 640 (u=
|
1634
|
+
# rw,g=r), set to 0640 (octal) or 416 (base-10). For chmod 755 (u=rwx,g=rx,o=rx),
|
1635
|
+
# set to 0755 (octal) or 493 (base-10). * This might be in conflict with other
|
1636
|
+
# options that affect the file mode, like fsGroup, and the result can be other
|
1637
|
+
# mode bits set.
|
1544
1638
|
# Corresponds to the JSON property `defaultMode`
|
1545
1639
|
# @return [Fixnum]
|
1546
1640
|
attr_accessor :default_mode
|
@@ -1642,7 +1736,7 @@ module Google
|
|
1642
1736
|
end
|
1643
1737
|
end
|
1644
1738
|
|
1645
|
-
#
|
1739
|
+
# Volume represents a named volume in a container.
|
1646
1740
|
class Volume
|
1647
1741
|
include Google::Apis::Core::Hashable
|
1648
1742
|
|
@@ -1654,7 +1748,7 @@ module Google
|
|
1654
1748
|
# @return [Google::Apis::RunV1alpha1::ConfigMapVolumeSource]
|
1655
1749
|
attr_accessor :config_map
|
1656
1750
|
|
1657
|
-
# Volume's name.
|
1751
|
+
# Volume's name. In Cloud Run Fully Managed, the name 'cloudsql' is reserved.
|
1658
1752
|
# Corresponds to the JSON property `name`
|
1659
1753
|
# @return [String]
|
1660
1754
|
attr_accessor :name
|
@@ -1679,8 +1773,7 @@ module Google
|
|
1679
1773
|
end
|
1680
1774
|
end
|
1681
1775
|
|
1682
|
-
#
|
1683
|
-
# a container.
|
1776
|
+
# VolumeMount describes a mounting of a Volume within a container.
|
1684
1777
|
class VolumeMount
|
1685
1778
|
include Google::Apis::Core::Hashable
|
1686
1779
|
|
@@ -1690,7 +1783,8 @@ module Google
|
|
1690
1783
|
# @return [String]
|
1691
1784
|
attr_accessor :mount_path
|
1692
1785
|
|
1693
|
-
#
|
1786
|
+
# The name of the volume. There must be a corresponding Volume with the same
|
1787
|
+
# name.
|
1694
1788
|
# Corresponds to the JSON property `name`
|
1695
1789
|
# @return [String]
|
1696
1790
|
attr_accessor :name
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module RunV1alpha1
|
18
18
|
# Version of the google-apis-run_v1alpha1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.17.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20211001"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -82,6 +82,12 @@ module Google
|
|
82
82
|
include Google::Apis::Core::JsonObjectSupport
|
83
83
|
end
|
84
84
|
|
85
|
+
class GoogleRpcStatus
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
85
91
|
class HttpGetAction
|
86
92
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
93
|
|
@@ -94,6 +100,12 @@ module Google
|
|
94
100
|
include Google::Apis::Core::JsonObjectSupport
|
95
101
|
end
|
96
102
|
|
103
|
+
class InstanceAttemptResult
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
97
109
|
class InstanceSpec
|
98
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
111
|
|
@@ -343,6 +355,15 @@ module Google
|
|
343
355
|
end
|
344
356
|
end
|
345
357
|
|
358
|
+
class GoogleRpcStatus
|
359
|
+
# @private
|
360
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
361
|
+
property :code, as: 'code'
|
362
|
+
collection :details, as: 'details'
|
363
|
+
property :message, as: 'message'
|
364
|
+
end
|
365
|
+
end
|
366
|
+
|
346
367
|
class HttpGetAction
|
347
368
|
# @private
|
348
369
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -362,6 +383,15 @@ module Google
|
|
362
383
|
end
|
363
384
|
end
|
364
385
|
|
386
|
+
class InstanceAttemptResult
|
387
|
+
# @private
|
388
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
389
|
+
property :exit_code, as: 'exitCode'
|
390
|
+
property :status, as: 'status', class: Google::Apis::RunV1alpha1::GoogleRpcStatus, decorator: Google::Apis::RunV1alpha1::GoogleRpcStatus::Representation
|
391
|
+
|
392
|
+
end
|
393
|
+
end
|
394
|
+
|
365
395
|
class InstanceSpec
|
366
396
|
# @private
|
367
397
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -382,6 +412,8 @@ module Google
|
|
382
412
|
property :completion_time, as: 'completionTime'
|
383
413
|
property :failed, as: 'failed'
|
384
414
|
property :index, as: 'index'
|
415
|
+
property :last_attempt_result, as: 'lastAttemptResult', class: Google::Apis::RunV1alpha1::InstanceAttemptResult, decorator: Google::Apis::RunV1alpha1::InstanceAttemptResult::Representation
|
416
|
+
|
385
417
|
property :last_exit_code, as: 'lastExitCode'
|
386
418
|
property :restarted, as: 'restarted'
|
387
419
|
property :start_time, as: 'startTime'
|
@@ -31,7 +31,7 @@ module Google
|
|
31
31
|
# This is NOT the gem version.
|
32
32
|
VERSION = 'V1alpha1'
|
33
33
|
|
34
|
-
# See, edit, configure, and delete your Google Cloud
|
34
|
+
# See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
|
35
35
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
36
36
|
end
|
37
37
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-run_v1alpha1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.17.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: 2021-
|
11
|
+
date: 2021-10-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -57,9 +57,9 @@ licenses:
|
|
57
57
|
- Apache-2.0
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
|
-
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-run_v1alpha1/v0.
|
62
|
-
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
60
|
+
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-run_v1alpha1/CHANGELOG.md
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-run_v1alpha1/v0.17.0
|
62
|
+
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-run_v1alpha1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
65
65
|
require_paths:
|