google-apis-run_v1 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_v1/classes.rb +130 -78
- data/lib/google/apis/run_v1/gem_version.rb +2 -2
- data/lib/google/apis/run_v1/representations.rb +24 -0
- data/lib/google/apis/run_v1/service.rb +50 -7
- 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: 1a63c99b9251a646480c1107571d36119934211053c4a4f559629fa368fede66
|
4
|
+
data.tar.gz: e409ed7482ed95e2593ea92508c548bc11484781a157368be6fa43ee8f96dbba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8f4930b23b2beca902effbeb00eae1a83589fc4baa07dd4d461e9afb6340a5ee53b3de69f4c11e767b8becb2c7b112ed5408b015fd2fa3702f24bea0605c4556
|
7
|
+
data.tar.gz: f4f9347ca7eceea69bb2885e121667037c311bed069f2d89415d762947e605216cfbbd0c5166d1046202ce5f0e43cbb4adbf97a6b927c1c6df85b4ad06f37566
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-run_v1
|
2
2
|
|
3
|
+
### v0.17.0 (2021-11-17)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20211112
|
6
|
+
|
7
|
+
### v0.16.0 (2021-11-10)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20211105
|
10
|
+
|
11
|
+
### v0.15.0 (2021-10-27)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20211022
|
14
|
+
|
15
|
+
### v0.14.0 (2021-10-06)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20211001
|
18
|
+
|
3
19
|
### v0.13.0 (2021-09-01)
|
4
20
|
|
5
21
|
* Regenerated from discovery document revision 20210813
|
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
|
|
@@ -140,7 +140,7 @@ module Google
|
|
140
140
|
end
|
141
141
|
end
|
142
142
|
|
143
|
-
# Associates `members
|
143
|
+
# Associates `members`, or principals, with a `role`.
|
144
144
|
class Binding
|
145
145
|
include Google::Apis::Core::Hashable
|
146
146
|
|
@@ -163,7 +163,7 @@ module Google
|
|
163
163
|
# @return [Google::Apis::RunV1::Expr]
|
164
164
|
attr_accessor :condition
|
165
165
|
|
166
|
-
# Specifies the
|
166
|
+
# Specifies the principals requesting access for a Cloud Platform resource. `
|
167
167
|
# members` can have the following values: * `allUsers`: A special identifier
|
168
168
|
# that represents anyone who is on the internet; with or without a Google
|
169
169
|
# account. * `allAuthenticatedUsers`: A special identifier that represents
|
@@ -193,8 +193,8 @@ module Google
|
|
193
193
|
# @return [Array<String>]
|
194
194
|
attr_accessor :members
|
195
195
|
|
196
|
-
# Role that is assigned to `members
|
197
|
-
#
|
196
|
+
# Role that is assigned to the list of `members`, or principals. For example, `
|
197
|
+
# roles/viewer`, `roles/editor`, or `roles/owner`.
|
198
198
|
# Corresponds to the JSON property `role`
|
199
199
|
# @return [String]
|
200
200
|
attr_accessor :role
|
@@ -292,10 +292,17 @@ module Google
|
|
292
292
|
class ConfigMapVolumeSource
|
293
293
|
include Google::Apis::Core::Hashable
|
294
294
|
|
295
|
-
# (Optional)
|
296
|
-
# between
|
297
|
-
#
|
298
|
-
#
|
295
|
+
# (Optional) Integer representation of mode bits to use on created files by
|
296
|
+
# default. Must be a value between 01 and 0777 (octal). If 0 or not set, it will
|
297
|
+
# default to 0644. Directories within the path are not affected by this setting.
|
298
|
+
# Notes * Internally, a umask of 0222 will be applied to any non-zero value. *
|
299
|
+
# This is an integer representation of the mode bits. So, the octal integer
|
300
|
+
# value should look exactly as the chmod numeric notation with a leading zero.
|
301
|
+
# Some examples: for chmod 777 (a=rwx), set to 0777 (octal) or 511 (base-10).
|
302
|
+
# For chmod 640 (u=rw,g=r), set to 0640 (octal) or 416 (base-10). For chmod 755 (
|
303
|
+
# u=rwx,g=rx,o=rx), set to 0755 (octal) or 493 (base-10). * This might be in
|
304
|
+
# conflict with other options that affect the file mode, like fsGroup, and the
|
305
|
+
# result can be other mode bits set.
|
299
306
|
# Corresponds to the JSON property `defaultMode`
|
300
307
|
# @return [Fixnum]
|
301
308
|
attr_accessor :default_mode
|
@@ -777,6 +784,23 @@ module Google
|
|
777
784
|
end
|
778
785
|
end
|
779
786
|
|
787
|
+
# A generic empty message that you can re-use to avoid defining duplicated empty
|
788
|
+
# messages in your APIs. A typical example is to use it as the request or the
|
789
|
+
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
790
|
+
# protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
|
791
|
+
# `Empty` is empty JSON object ````.
|
792
|
+
class Empty
|
793
|
+
include Google::Apis::Core::Hashable
|
794
|
+
|
795
|
+
def initialize(**args)
|
796
|
+
update!(**args)
|
797
|
+
end
|
798
|
+
|
799
|
+
# Update properties of this object
|
800
|
+
def update!(**args)
|
801
|
+
end
|
802
|
+
end
|
803
|
+
|
780
804
|
# Not supported by Cloud Run EnvFromSource represents the source of a set of
|
781
805
|
# ConfigMaps
|
782
806
|
class EnvFromSource
|
@@ -1006,6 +1030,19 @@ module Google
|
|
1006
1030
|
end
|
1007
1031
|
end
|
1008
1032
|
|
1033
|
+
# The request message for Operations.CancelOperation.
|
1034
|
+
class GoogleLongrunningCancelOperationRequest
|
1035
|
+
include Google::Apis::Core::Hashable
|
1036
|
+
|
1037
|
+
def initialize(**args)
|
1038
|
+
update!(**args)
|
1039
|
+
end
|
1040
|
+
|
1041
|
+
# Update properties of this object
|
1042
|
+
def update!(**args)
|
1043
|
+
end
|
1044
|
+
end
|
1045
|
+
|
1009
1046
|
# Not supported by Cloud Run HTTPGetAction describes an action based on HTTP Get
|
1010
1047
|
# requests.
|
1011
1048
|
class HttpGetAction
|
@@ -1081,10 +1118,16 @@ module Google
|
|
1081
1118
|
# @return [String]
|
1082
1119
|
attr_accessor :key
|
1083
1120
|
|
1084
|
-
# (Optional) Mode bits to use on this file, must be a value between
|
1085
|
-
#
|
1086
|
-
#
|
1087
|
-
#
|
1121
|
+
# (Optional) Mode bits to use on this file, must be a value between 01 and 0777 (
|
1122
|
+
# octal). If 0 or not set, the Volume's default mode will be used. Notes *
|
1123
|
+
# Internally, a umask of 0222 will be applied to any non-zero value. * This is
|
1124
|
+
# an integer representation of the mode bits. So, the octal integer value should
|
1125
|
+
# look exactly as the chmod numeric notation with a leading zero. Some examples:
|
1126
|
+
# for chmod 777 (a=rwx), set to 0777 (octal) or 511 (base-10). For chmod 640 (u=
|
1127
|
+
# rw,g=r), set to 0640 (octal) or 416 (base-10). For chmod 755 (u=rwx,g=rx,o=rx),
|
1128
|
+
# set to 0755 (octal) or 493 (base-10). * This might be in conflict with other
|
1129
|
+
# options that affect the file mode, like fsGroup, and the result can be other
|
1130
|
+
# mode bits set.
|
1088
1131
|
# Corresponds to the JSON property `mode`
|
1089
1132
|
# @return [Fixnum]
|
1090
1133
|
attr_accessor :mode
|
@@ -1732,31 +1775,31 @@ module Google
|
|
1732
1775
|
|
1733
1776
|
# An Identity and Access Management (IAM) policy, which specifies access
|
1734
1777
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
1735
|
-
# A `binding` binds one or more `members
|
1736
|
-
# user accounts, service accounts, Google groups, and domains (
|
1737
|
-
# A `role` is a named list of permissions; each `role` can be
|
1738
|
-
# role or a user-created custom role. For some types of Google
|
1739
|
-
# a `binding` can also specify a `condition`, which is a
|
1740
|
-
# allows access to a resource only if the expression
|
1741
|
-
# condition can add constraints based on attributes of
|
1742
|
-
# or both. To learn which resources support
|
1743
|
-
# see the [IAM documentation](https://cloud.
|
1744
|
-
# resource-policies). **JSON example:** ` "
|
1745
|
-
# resourcemanager.organizationAdmin", "members": [
|
1746
|
-
# group:admins@example.com", "domain:google.com", "
|
1747
|
-
# appspot.gserviceaccount.com" ] `, ` "role": "
|
1748
|
-
# organizationViewer", "members": [ "user:eve@example.com"
|
1749
|
-
# title": "expirable access", "description": "Does not grant
|
1750
|
-
# 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
1751
|
-
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
1752
|
-
# members: - user:mike@example.com - group:admins@example.com -
|
1753
|
-
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
1754
|
-
# resourcemanager.organizationAdmin - members: - user:eve@example.
|
1755
|
-
# roles/resourcemanager.organizationViewer condition: title: expirable
|
1756
|
-
# description: Does not grant access after Sep 2020 expression: request.
|
1757
|
-
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
1758
|
-
# description of IAM and its features, see the [IAM documentation](https://
|
1759
|
-
# google.com/iam/docs/).
|
1778
|
+
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
1779
|
+
# Principals can be user accounts, service accounts, Google groups, and domains (
|
1780
|
+
# such as G Suite). A `role` is a named list of permissions; each `role` can be
|
1781
|
+
# an IAM predefined role or a user-created custom role. For some types of Google
|
1782
|
+
# Cloud resources, a `binding` can also specify a `condition`, which is a
|
1783
|
+
# logical expression that allows access to a resource only if the expression
|
1784
|
+
# evaluates to `true`. A condition can add constraints based on attributes of
|
1785
|
+
# the request, the resource, or both. To learn which resources support
|
1786
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
1787
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
1788
|
+
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
1789
|
+
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
1790
|
+
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
1791
|
+
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
1792
|
+
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
1793
|
+
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
1794
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
1795
|
+
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
1796
|
+
# domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
1797
|
+
# role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
|
1798
|
+
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
|
1799
|
+
# access description: Does not grant access after Sep 2020 expression: request.
|
1800
|
+
# time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
1801
|
+
# a description of IAM and its features, see the [IAM documentation](https://
|
1802
|
+
# cloud.google.com/iam/docs/).
|
1760
1803
|
class Policy
|
1761
1804
|
include Google::Apis::Core::Hashable
|
1762
1805
|
|
@@ -1765,9 +1808,14 @@ module Google
|
|
1765
1808
|
# @return [Array<Google::Apis::RunV1::AuditConfig>]
|
1766
1809
|
attr_accessor :audit_configs
|
1767
1810
|
|
1768
|
-
# Associates a list of `members
|
1769
|
-
# condition` that determines how and when the `bindings` are applied.
|
1770
|
-
# the `bindings` must contain at least one
|
1811
|
+
# Associates a list of `members`, or principals, with a `role`. Optionally, may
|
1812
|
+
# specify a `condition` that determines how and when the `bindings` are applied.
|
1813
|
+
# Each of the `bindings` must contain at least one principal. The `bindings` in
|
1814
|
+
# a `Policy` can refer to up to 1,500 principals; up to 250 of these principals
|
1815
|
+
# can be Google groups. Each occurrence of a principal counts towards these
|
1816
|
+
# limits. For example, if the `bindings` grant 50 different roles to `user:alice@
|
1817
|
+
# example.com`, and not to any other principal, then you can add another 1,450
|
1818
|
+
# principals to the `bindings` in the `Policy`.
|
1771
1819
|
# Corresponds to the JSON property `bindings`
|
1772
1820
|
# @return [Array<Google::Apis::RunV1::Binding>]
|
1773
1821
|
attr_accessor :bindings
|
@@ -1941,12 +1989,12 @@ module Google
|
|
1941
1989
|
attr_accessor :limits
|
1942
1990
|
|
1943
1991
|
# (Optional) Only memory and CPU are supported. Note: The only supported values
|
1944
|
-
# for CPU are '1' and '
|
1945
|
-
# resources required. If Requests is omitted for a container, it
|
1946
|
-
# Limits if that is explicitly specified, otherwise to an
|
1947
|
-
# value. The values of the map is string form of the '
|
1948
|
-
#
|
1949
|
-
# pkg/api/resource/quantity.go
|
1992
|
+
# for CPU are '1', '2', and '4'. Requests describes the minimum amount of
|
1993
|
+
# compute resources required. If Requests is omitted for a container, it
|
1994
|
+
# defaults to Limits if that is explicitly specified, otherwise to an
|
1995
|
+
# implementation-defined value. The values of the map is string form of the '
|
1996
|
+
# quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/
|
1997
|
+
# staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
|
1950
1998
|
# Corresponds to the JSON property `requests`
|
1951
1999
|
# @return [Hash<String,String>]
|
1952
2000
|
attr_accessor :requests
|
@@ -2367,13 +2415,17 @@ module Google
|
|
2367
2415
|
class SecretVolumeSource
|
2368
2416
|
include Google::Apis::Core::Hashable
|
2369
2417
|
|
2370
|
-
#
|
2371
|
-
# between
|
2372
|
-
#
|
2373
|
-
#
|
2374
|
-
#
|
2375
|
-
#
|
2376
|
-
# (a=rwx)
|
2418
|
+
# Integer representation of mode bits to use on created files by default. Must
|
2419
|
+
# be a value between 01 and 0777 (octal). If 0 or not set, it will default to
|
2420
|
+
# 0644. Directories within the path are not affected by this setting. Notes *
|
2421
|
+
# Internally, a umask of 0222 will be applied to any non-zero value. * This is
|
2422
|
+
# an integer representation of the mode bits. So, the octal integer value should
|
2423
|
+
# look exactly as the chmod numeric notation with a leading zero. Some examples:
|
2424
|
+
# for chmod 777 (a=rwx), set to 0777 (octal) or 511 (base-10). For chmod 640 (u=
|
2425
|
+
# rw,g=r), set to 0640 (octal) or 416 (base-10). For chmod 755 (u=rwx,g=rx,o=rx),
|
2426
|
+
# set to 0755 (octal) or 493 (base-10). * This might be in conflict with other
|
2427
|
+
# options that affect the file mode, like fsGroup, and the result can be other
|
2428
|
+
# mode bits set.
|
2377
2429
|
# Corresponds to the JSON property `defaultMode`
|
2378
2430
|
# @return [Fixnum]
|
2379
2431
|
attr_accessor :default_mode
|
@@ -2607,31 +2659,31 @@ module Google
|
|
2607
2659
|
|
2608
2660
|
# An Identity and Access Management (IAM) policy, which specifies access
|
2609
2661
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
2610
|
-
# A `binding` binds one or more `members
|
2611
|
-
# user accounts, service accounts, Google groups, and domains (
|
2612
|
-
# A `role` is a named list of permissions; each `role` can be
|
2613
|
-
# role or a user-created custom role. For some types of Google
|
2614
|
-
# a `binding` can also specify a `condition`, which is a
|
2615
|
-
# allows access to a resource only if the expression
|
2616
|
-
# condition can add constraints based on attributes of
|
2617
|
-
# or both. To learn which resources support
|
2618
|
-
# see the [IAM documentation](https://cloud.
|
2619
|
-
# resource-policies). **JSON example:** ` "
|
2620
|
-
# resourcemanager.organizationAdmin", "members": [
|
2621
|
-
# group:admins@example.com", "domain:google.com", "
|
2622
|
-
# appspot.gserviceaccount.com" ] `, ` "role": "
|
2623
|
-
# organizationViewer", "members": [ "user:eve@example.com"
|
2624
|
-
# title": "expirable access", "description": "Does not grant
|
2625
|
-
# 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
2626
|
-
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
2627
|
-
# members: - user:mike@example.com - group:admins@example.com -
|
2628
|
-
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
2629
|
-
# resourcemanager.organizationAdmin - members: - user:eve@example.
|
2630
|
-
# roles/resourcemanager.organizationViewer condition: title: expirable
|
2631
|
-
# description: Does not grant access after Sep 2020 expression: request.
|
2632
|
-
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
2633
|
-
# description of IAM and its features, see the [IAM documentation](https://
|
2634
|
-
# google.com/iam/docs/).
|
2662
|
+
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
2663
|
+
# Principals can be user accounts, service accounts, Google groups, and domains (
|
2664
|
+
# such as G Suite). A `role` is a named list of permissions; each `role` can be
|
2665
|
+
# an IAM predefined role or a user-created custom role. For some types of Google
|
2666
|
+
# Cloud resources, a `binding` can also specify a `condition`, which is a
|
2667
|
+
# logical expression that allows access to a resource only if the expression
|
2668
|
+
# evaluates to `true`. A condition can add constraints based on attributes of
|
2669
|
+
# the request, the resource, or both. To learn which resources support
|
2670
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
2671
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
2672
|
+
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
2673
|
+
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
2674
|
+
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
2675
|
+
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
2676
|
+
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
2677
|
+
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
2678
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
2679
|
+
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
2680
|
+
# domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
2681
|
+
# role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
|
2682
|
+
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
|
2683
|
+
# access description: Does not grant access after Sep 2020 expression: request.
|
2684
|
+
# time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
2685
|
+
# a description of IAM and its features, see the [IAM documentation](https://
|
2686
|
+
# cloud.google.com/iam/docs/).
|
2635
2687
|
# Corresponds to the JSON property `policy`
|
2636
2688
|
# @return [Google::Apis::RunV1::Policy]
|
2637
2689
|
attr_accessor :policy
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module RunV1
|
18
18
|
# Version of the google-apis-run_v1 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 = "20211112"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -118,6 +118,12 @@ module Google
|
|
118
118
|
include Google::Apis::Core::JsonObjectSupport
|
119
119
|
end
|
120
120
|
|
121
|
+
class Empty
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
121
127
|
class EnvFromSource
|
122
128
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
129
|
|
@@ -154,6 +160,12 @@ module Google
|
|
154
160
|
include Google::Apis::Core::JsonObjectSupport
|
155
161
|
end
|
156
162
|
|
163
|
+
class GoogleLongrunningCancelOperationRequest
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
|
+
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
167
|
+
end
|
168
|
+
|
157
169
|
class HttpGetAction
|
158
170
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
171
|
|
@@ -596,6 +608,12 @@ module Google
|
|
596
608
|
end
|
597
609
|
end
|
598
610
|
|
611
|
+
class Empty
|
612
|
+
# @private
|
613
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
614
|
+
end
|
615
|
+
end
|
616
|
+
|
599
617
|
class EnvFromSource
|
600
618
|
# @private
|
601
619
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -656,6 +674,12 @@ module Google
|
|
656
674
|
end
|
657
675
|
end
|
658
676
|
|
677
|
+
class GoogleLongrunningCancelOperationRequest
|
678
|
+
# @private
|
679
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
680
|
+
end
|
681
|
+
end
|
682
|
+
|
659
683
|
class HttpGetAction
|
660
684
|
# @private
|
661
685
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -783,6 +783,46 @@ module Google
|
|
783
783
|
execute_or_queue_command(command, &block)
|
784
784
|
end
|
785
785
|
|
786
|
+
# Starts asynchronous cancellation on a long-running operation. The server makes
|
787
|
+
# a best effort to cancel the operation, but success is not guaranteed. If the
|
788
|
+
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
789
|
+
# Clients can use Operations.GetOperation or other methods to check whether the
|
790
|
+
# cancellation succeeded or whether the operation completed despite cancellation.
|
791
|
+
# On successful cancellation, the operation is not deleted; instead, it becomes
|
792
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of 1,
|
793
|
+
# corresponding to `Code.CANCELLED`.
|
794
|
+
# @param [String] name
|
795
|
+
# The name of the operation resource to be cancelled.
|
796
|
+
# @param [Google::Apis::RunV1::GoogleLongrunningCancelOperationRequest] google_longrunning_cancel_operation_request_object
|
797
|
+
# @param [String] fields
|
798
|
+
# Selector specifying which fields to include in a partial response.
|
799
|
+
# @param [String] quota_user
|
800
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
801
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
802
|
+
# @param [Google::Apis::RequestOptions] options
|
803
|
+
# Request-specific options
|
804
|
+
#
|
805
|
+
# @yield [result, err] Result & error if block supplied
|
806
|
+
# @yieldparam result [Google::Apis::RunV1::Empty] parsed result object
|
807
|
+
# @yieldparam err [StandardError] error object if request failed
|
808
|
+
#
|
809
|
+
# @return [Google::Apis::RunV1::Empty]
|
810
|
+
#
|
811
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
812
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
813
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
814
|
+
def cancel_operation(name, google_longrunning_cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
815
|
+
command = make_simple_command(:post, 'v1/{+name}:cancel', options)
|
816
|
+
command.request_representation = Google::Apis::RunV1::GoogleLongrunningCancelOperationRequest::Representation
|
817
|
+
command.request_object = google_longrunning_cancel_operation_request_object
|
818
|
+
command.response_representation = Google::Apis::RunV1::Empty::Representation
|
819
|
+
command.response_class = Google::Apis::RunV1::Empty
|
820
|
+
command.params['name'] = name unless name.nil?
|
821
|
+
command.query['fields'] = fields unless fields.nil?
|
822
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
823
|
+
execute_or_queue_command(command, &block)
|
824
|
+
end
|
825
|
+
|
786
826
|
# List authorized domains.
|
787
827
|
# @param [String] parent
|
788
828
|
# Name of the parent Project resource. Example: `projects/myproject`.
|
@@ -1502,13 +1542,16 @@ module Google
|
|
1502
1542
|
# REQUIRED: The resource for which the policy is being requested. See the
|
1503
1543
|
# operation documentation for the appropriate value for this field.
|
1504
1544
|
# @param [Fixnum] options_requested_policy_version
|
1505
|
-
# Optional. The policy
|
1506
|
-
# 3. Requests specifying an invalid value will be
|
1507
|
-
# policies with any conditional bindings must
|
1508
|
-
#
|
1509
|
-
# field unset.
|
1510
|
-
#
|
1511
|
-
#
|
1545
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
1546
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
1547
|
+
# rejected. Requests for policies with any conditional role bindings must
|
1548
|
+
# specify version 3. Policies with no conditional role bindings may specify any
|
1549
|
+
# valid value or leave the field unset. The policy in the response might use the
|
1550
|
+
# policy version that you specified, or it might use a lower policy version. For
|
1551
|
+
# example, if you specify version 3, but the policy has no conditional role
|
1552
|
+
# bindings, the response uses version 1. To learn which resources support
|
1553
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
1554
|
+
# google.com/iam/help/conditions/resource-policies).
|
1512
1555
|
# @param [String] fields
|
1513
1556
|
# Selector specifying which fields to include in a partial response.
|
1514
1557
|
# @param [String] quota_user
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-run_v1
|
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-12-06 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_v1/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_v1/CHANGELOG.md
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-run_v1/v0.17.0
|
62
|
+
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-run_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
65
65
|
require_paths:
|