google-apis-run_v1 0.12.0 → 0.16.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: baa2b9ee0ab9642fdeb2befbd33bda279e5c9c039c0856d8e9210c7437713d0b
4
- data.tar.gz: 73146c2c476015b0fb1b148417776435fb112949fb46640f3f3bb0b39dc7393f
3
+ metadata.gz: d12d706d34741a855f2b0a8df92f04976e10384627038b2d3e64aad40f6b7ba9
4
+ data.tar.gz: 4d8721b10c11c7a4789c63c78d27f2ccb125691518dc841124e0ce79f88e0d3b
5
5
  SHA512:
6
- metadata.gz: d9a2ab6be63626bffb81c287ad26a469319d495a94f451867e0452e85258e45cf3acc7f777ec09f6bfb38ad82a3a031e00f1f11b70235e49f9b619cb83ba6f2e
7
- data.tar.gz: fad043914ebc219e5857e89a010a8ed51c67312a7fa7c2acc540fdee7276ef182b520e2d3f8218652b02d09375f623feb4f0dc8819af569323e421fe364464b9
6
+ metadata.gz: ebe8a31c002cfaea253b089f3bb23be0ee9dd6aa9de6f9296a935fdc53371b15b52ee41d59d03932361211a97ef6fd24f7297ff9b0d70a1621160aa21a30ab4f
7
+ data.tar.gz: 2fdd55592c3e6e355d2bf8937c43c64ff01a6043e5811cdfe2dc2bbeaffd73c12ebb51847f03d5faaf2fbf32d23e506064a3beaf3ccf66f3d9ed4c934f66fe79
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-run_v1
2
2
 
3
+ ### v0.16.0 (2021-11-10)
4
+
5
+ * Regenerated from discovery document revision 20211105
6
+
7
+ ### v0.15.0 (2021-10-27)
8
+
9
+ * Regenerated from discovery document revision 20211022
10
+
11
+ ### v0.14.0 (2021-10-06)
12
+
13
+ * Regenerated from discovery document revision 20211001
14
+
15
+ ### v0.13.0 (2021-09-01)
16
+
17
+ * Regenerated from discovery document revision 20210813
18
+
3
19
  ### v0.12.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/master/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/master/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
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` with a `role`.
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 identities requesting access for a Cloud Platform resource. `
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`. For example, `roles/viewer`, `roles/editor`
197
- # , or `roles/owner`.
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) Mode bits to use on created files by default. Must be a value
296
- # between 0 and 0777. Defaults to 0644. Directories within the path are not
297
- # affected by this setting. This might be in conflict with other options that
298
- # affect the file mode, like fsGroup, and the result can be other mode bits set.
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
@@ -338,7 +345,7 @@ module Google
338
345
  # and optionally how the containers those revisions reference are built. Users
339
346
  # create new Revisions by updating the Configuration's spec. The "latest created"
340
347
  # revision's name is available under status, as is the "latest ready" revision'
341
- # s name. See also: https://github.com/knative/serving/blob/master/docs/spec/
348
+ # s name. See also: https://github.com/knative/serving/blob/main/docs/spec/
342
349
  # overview.md#configuration
343
350
  class Configuration
344
351
  include Google::Apis::Core::Hashable
@@ -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
@@ -984,7 +1008,7 @@ module Google
984
1008
  attr_accessor :status
985
1009
 
986
1010
  # type is used to communicate the status of the reconciliation process. See also:
987
- # https://github.com/knative/serving/blob/master/docs/spec/errors.md#error-
1011
+ # https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-
988
1012
  # conditions-and-reporting Types common to all resources include: * "Ready":
989
1013
  # True when the Resource is ready.
990
1014
  # Corresponds to the JSON property `type`
@@ -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 0000 and
1085
- # 0777. If not specified, the volume defaultMode will be used. This might be in
1086
- # conflict with other options that affect the file mode, like fsGroup, and the
1087
- # result can be other mode bits set.
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` to a single `role`. Members can be
1736
- # user accounts, service accounts, Google groups, and domains (such as G Suite).
1737
- # A `role` is a named list of permissions; each `role` can be an IAM predefined
1738
- # role or a user-created custom role. For some types of Google Cloud resources,
1739
- # a `binding` can also specify a `condition`, which is a logical expression that
1740
- # allows access to a resource only if the expression evaluates to `true`. A
1741
- # condition can add constraints based on attributes of the request, the resource,
1742
- # or both. To learn which resources support conditions in their IAM policies,
1743
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
1744
- # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
1745
- # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
1746
- # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
1747
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
1748
- # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
1749
- # title": "expirable access", "description": "Does not grant access after Sep
1750
- # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
1751
- # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
1752
- # members: - user:mike@example.com - group:admins@example.com - domain:google.
1753
- # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
1754
- # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
1755
- # roles/resourcemanager.organizationViewer condition: title: expirable access
1756
- # description: Does not grant access after Sep 2020 expression: request.time <
1757
- # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
1758
- # description of IAM and its features, see the [IAM documentation](https://cloud.
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` to a `role`. Optionally, may specify a `
1769
- # condition` that determines how and when the `bindings` are applied. Each of
1770
- # the `bindings` must contain at least one member.
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
@@ -1964,7 +2012,7 @@ module Google
1964
2012
 
1965
2013
  # Revision is an immutable snapshot of code and configuration. A revision
1966
2014
  # references a container image. Revisions are created by updates to a
1967
- # Configuration. See also: https://github.com/knative/serving/blob/master/docs/
2015
+ # Configuration. See also: https://github.com/knative/serving/blob/main/docs/
1968
2016
  # spec/overview.md#revision
1969
2017
  class Revision
1970
2018
  include Google::Apis::Core::Hashable
@@ -2027,7 +2075,7 @@ module Google
2027
2075
  # this Revision. In the context of a Revision, we disallow a number of fields on
2028
2076
  # this Container, including: name and lifecycle. In Cloud Run, only a single
2029
2077
  # container may be provided. The runtime contract is documented here: https://
2030
- # github.com/knative/serving/blob/master/docs/runtime-contract.md
2078
+ # github.com/knative/serving/blob/main/docs/runtime-contract.md
2031
2079
  # Corresponds to the JSON property `containers`
2032
2080
  # @return [Array<Google::Apis::RunV1::Container>]
2033
2081
  attr_accessor :containers
@@ -2042,9 +2090,9 @@ module Google
2042
2090
 
2043
2091
  # TimeoutSeconds holds the max duration the instance is allowed for responding
2044
2092
  # to a request. Cloud Run fully managed: defaults to 300 seconds (5 minutes).
2045
- # Maximum allowed value is 900 seconds (15 minutes). Cloud Run for Anthos:
2046
- # defaults to 300 seconds (5 minutes). Maximum allowed value is configurable by
2047
- # the cluster operator.
2093
+ # Maximum allowed value is 3600 seconds (1 hour). Cloud Run for Anthos: defaults
2094
+ # to 300 seconds (5 minutes). Maximum allowed value is configurable by the
2095
+ # cluster operator.
2048
2096
  # Corresponds to the JSON property `timeoutSeconds`
2049
2097
  # @return [Fixnum]
2050
2098
  attr_accessor :timeout_seconds
@@ -2158,8 +2206,8 @@ module Google
2158
2206
  # referencing the Configuration responsible for creating them; in these cases
2159
2207
  # the Route is additionally responsible for monitoring the Configuration for "
2160
2208
  # latest ready" revision changes, and smoothly rolling out latest revisions. See
2161
- # also: https://github.com/knative/serving/blob/master/docs/spec/overview.md#
2162
- # route Cloud Run currently supports referencing a single Configuration to
2209
+ # also: https://github.com/knative/serving/blob/main/docs/spec/overview.md#route
2210
+ # Cloud Run currently supports referencing a single Configuration to
2163
2211
  # automatically deploy the "latest ready" Revision from that Configuration.
2164
2212
  class Route
2165
2213
  include Google::Apis::Core::Hashable
@@ -2367,13 +2415,17 @@ module Google
2367
2415
  class SecretVolumeSource
2368
2416
  include Google::Apis::Core::Hashable
2369
2417
 
2370
- # (Optional) Mode bits to use on created files by default. Must be a value
2371
- # between 0000 and 0777. Defaults to 0644. Directories within the path are not
2372
- # affected by this setting. This might be in conflict with other options that
2373
- # affect the file mode, like fsGroup, and the result can be other mode bits set.
2374
- # NOTE: This is an integer representation of the mode bits. So, the integer
2375
- # value should look exactly as the chmod numeric notation, i.e. Unix chmod "777"
2376
- # (a=rwx) should have the integer value 777.
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
@@ -2454,7 +2506,7 @@ module Google
2454
2506
  # Routes and Configurations (much as a kubernetes Deployment orchestrates
2455
2507
  # ReplicaSets). The Service's controller will track the statuses of its owned
2456
2508
  # Configuration and Route, reflecting their statuses and conditions as its own.
2457
- # See also: https://github.com/knative/serving/blob/master/docs/spec/overview.md#
2509
+ # See also: https://github.com/knative/serving/blob/main/docs/spec/overview.md#
2458
2510
  # service
2459
2511
  class Service
2460
2512
  include Google::Apis::Core::Hashable
@@ -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` to a single `role`. Members can be
2611
- # user accounts, service accounts, Google groups, and domains (such as G Suite).
2612
- # A `role` is a named list of permissions; each `role` can be an IAM predefined
2613
- # role or a user-created custom role. For some types of Google Cloud resources,
2614
- # a `binding` can also specify a `condition`, which is a logical expression that
2615
- # allows access to a resource only if the expression evaluates to `true`. A
2616
- # condition can add constraints based on attributes of the request, the resource,
2617
- # or both. To learn which resources support conditions in their IAM policies,
2618
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
2619
- # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
2620
- # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
2621
- # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
2622
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
2623
- # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
2624
- # title": "expirable access", "description": "Does not grant access after Sep
2625
- # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
2626
- # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
2627
- # members: - user:mike@example.com - group:admins@example.com - domain:google.
2628
- # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
2629
- # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
2630
- # roles/resourcemanager.organizationViewer condition: title: expirable access
2631
- # description: Does not grant access after Sep 2020 expression: request.time <
2632
- # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
2633
- # description of IAM and its features, see the [IAM documentation](https://cloud.
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
@@ -2950,7 +3002,7 @@ module Google
2950
3002
  end
2951
3003
  end
2952
3004
 
2953
- # Not supported by Cloud Run Volume represents a named volume in a container.
3005
+ # Volume represents a named volume in a container.
2954
3006
  class Volume
2955
3007
  include Google::Apis::Core::Hashable
2956
3008
 
@@ -2962,7 +3014,7 @@ module Google
2962
3014
  # @return [Google::Apis::RunV1::ConfigMapVolumeSource]
2963
3015
  attr_accessor :config_map
2964
3016
 
2965
- # Volume's name.
3017
+ # Volume's name. In Cloud Run Fully Managed, the name 'cloudsql' is reserved.
2966
3018
  # Corresponds to the JSON property `name`
2967
3019
  # @return [String]
2968
3020
  attr_accessor :name
@@ -2987,8 +3039,7 @@ module Google
2987
3039
  end
2988
3040
  end
2989
3041
 
2990
- # Not supported by Cloud Run VolumeMount describes a mounting of a Volume within
2991
- # a container.
3042
+ # VolumeMount describes a mounting of a Volume within a container.
2992
3043
  class VolumeMount
2993
3044
  include Google::Apis::Core::Hashable
2994
3045
 
@@ -2998,7 +3049,8 @@ module Google
2998
3049
  # @return [String]
2999
3050
  attr_accessor :mount_path
3000
3051
 
3001
- # This must match the Name of a Volume.
3052
+ # The name of the volume. There must be a corresponding Volume with the same
3053
+ # name.
3002
3054
  # Corresponds to the JSON property `name`
3003
3055
  # @return [String]
3004
3056
  attr_accessor :name
@@ -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.12.0"
19
+ GEM_VERSION = "0.16.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 = "20210716"
25
+ REVISION = "20211105"
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 format version to be returned. Valid values are 0, 1, and
1506
- # 3. Requests specifying an invalid value will be rejected. Requests for
1507
- # policies with any conditional bindings must specify version 3. Policies
1508
- # without any conditional bindings may specify any valid value or leave the
1509
- # field unset. To learn which resources support conditions in their IAM policies,
1510
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
1511
- # resource-policies).
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
@@ -31,7 +31,7 @@ module Google
31
31
  # This is NOT the gem version.
32
32
  VERSION = 'V1'
33
33
 
34
- # See, edit, configure, and delete your Google Cloud Platform data
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_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.16.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-07-26 00:00:00.000000000 Z
11
+ date: 2021-11-15 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/master/generated/google-apis-run_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-run_v1/v0.12.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-run_v1
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.16.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: