google-apis-run_v1 0.11.0 → 0.15.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: a29761e6f4d5f267c1d8aaa1a1bd5649ee459c61114b1af32c578cc583acda4c
4
- data.tar.gz: 184fa6d7432acbf025e3e7524f973de541fc2700e5c15461e22da7ca1c718c53
3
+ metadata.gz: 3ad11d7f75988fedb90c554f68d88ac18906d97f9c0848f04528c82586b14ac7
4
+ data.tar.gz: ee2344c12dd31b891f2b2a09c6460ffee2f13d791740703699a57b516024a8d6
5
5
  SHA512:
6
- metadata.gz: 4a8613add68515e8378e1dfcd8eb7aa58b79e5d858c916bc876f764a57c2faf040aed7e59f5109b8b6669a7f3329a4519cb7b42a73508e7ef3db3417d3babf1c
7
- data.tar.gz: dfd75684a743d18a5bd77a53d3d76537d1cd1474b764dca2dc729bd8ac0a4b9d333fbfd643fb5d8cd9011818c8a5e7acdf62efb16b8a932a4c606325193d4e79
6
+ metadata.gz: b0fbbf948c8f30fff3cf94eb988e276f958348edded04df8c908aaae5be534ff6ff72b71a369000b8fdf6cede3868944cad346a151e15e7abf0436b8044ac8dc
7
+ data.tar.gz: 03e3b40992c64182a06a8bc81170c533d6b075a0863d155e0dc51f9640c848320872cb362cb5a562b1f8e33a43245178aa252174ec030b33f7f0e84cd36605f3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-run_v1
2
2
 
3
+ ### v0.15.0 (2021-10-27)
4
+
5
+ * Regenerated from discovery document revision 20211022
6
+
7
+ ### v0.14.0 (2021-10-06)
8
+
9
+ * Regenerated from discovery document revision 20211001
10
+
11
+ ### v0.13.0 (2021-09-01)
12
+
13
+ * Regenerated from discovery document revision 20210813
14
+
15
+ ### v0.12.0 (2021-07-22)
16
+
17
+ * Regenerated from discovery document revision 20210716
18
+
3
19
  ### v0.11.0 (2021-06-29)
4
20
 
5
21
  * Regenerated using generator version 0.4.0
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
@@ -757,8 +764,8 @@ module Google
757
764
  # @return [Array<Google::Apis::RunV1::ResourceRecord>]
758
765
  attr_accessor :resource_records
759
766
 
760
- # Cloud Run fully managed: not supported Cloud Run on GKE: supported Holds the
761
- # URL that will serve the traffic of the DomainMapping. +optional
767
+ # Optional. Cloud Run fully managed: not supported Cloud Run on GKE: supported
768
+ # Holds the URL that will serve the traffic of the DomainMapping.
762
769
  # Corresponds to the JSON property `url`
763
770
  # @return [String]
764
771
  attr_accessor :url
@@ -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
@@ -2014,7 +2062,7 @@ module Google
2014
2062
  class RevisionSpec
2015
2063
  include Google::Apis::Core::Hashable
2016
2064
 
2017
- # (Optional) ContainerConcurrency specifies the maximum allowed in-flight (
2065
+ # Optional. ContainerConcurrency specifies the maximum allowed in-flight (
2018
2066
  # concurrent) requests per container instance of the Revision. Cloud Run fully
2019
2067
  # managed: supported, defaults to 80 Cloud Run for Anthos: supported, defaults
2020
2068
  # to 0, which means concurrency to the application is not limited, and the
@@ -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
@@ -2092,8 +2140,8 @@ module Google
2092
2140
  # @return [String]
2093
2141
  attr_accessor :image_digest
2094
2142
 
2095
- # Specifies the generated logging url for this particular revision based on the
2096
- # revision url template specified in the controller's config. +optional
2143
+ # Optional. Specifies the generated logging url for this particular revision
2144
+ # based on the revision url template specified in the controller's config.
2097
2145
  # Corresponds to the JSON property `logUrl`
2098
2146
  # @return [String]
2099
2147
  attr_accessor :log_url
@@ -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
@@ -2898,10 +2950,10 @@ module Google
2898
2950
  # @return [String]
2899
2951
  attr_accessor :configuration_name
2900
2952
 
2901
- # LatestRevision may be optionally provided to indicate that the latest ready
2953
+ # Optional. LatestRevision may be provided to indicate that the latest ready
2902
2954
  # Revision of the Configuration should be used for this traffic target. When
2903
2955
  # provided LatestRevision must be true if RevisionName is empty; it must be
2904
- # false when RevisionName is non-empty. +optional
2956
+ # false when RevisionName is non-empty.
2905
2957
  # Corresponds to the JSON property `latestRevision`
2906
2958
  # @return [Boolean]
2907
2959
  attr_accessor :latest_revision
@@ -2921,8 +2973,8 @@ module Google
2921
2973
  # @return [String]
2922
2974
  attr_accessor :revision_name
2923
2975
 
2924
- # Tag is optionally used to expose a dedicated url for referencing this target
2925
- # exclusively. +optional
2976
+ # Optional. Tag is used to expose a dedicated url for referencing this target
2977
+ # exclusively.
2926
2978
  # Corresponds to the JSON property `tag`
2927
2979
  # @return [String]
2928
2980
  attr_accessor :tag
@@ -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.11.0"
19
+ GEM_VERSION = "0.15.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 = "20210611"
25
+ REVISION = "20211022"
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
@@ -23,8 +23,8 @@ 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 requets. The Cloud Run Admin API follows the Knative Serving
27
- # API specification.
26
+ # based on incoming requests. The Cloud Run Admin API follows the Knative
27
+ # Serving API specification.
28
28
  #
29
29
  # @example
30
30
  # require 'google/apis/run_v1'
@@ -123,7 +123,7 @@ module Google
123
123
  # The namespace from which the configurations should be listed. For Cloud Run (
124
124
  # fully managed), replace `namespace_id` with the project ID or number.
125
125
  # @param [String] continue
126
- # Optional encoded string to continue paging.
126
+ # Optional. Encoded string to continue paging.
127
127
  # @param [String] field_selector
128
128
  # Allows to filter resources based on a specific value for a field name. Send
129
129
  # this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently
@@ -134,7 +134,7 @@ module Google
134
134
  # Allows to filter resources based on a label. Supported operations are =, !=,
135
135
  # exists, in, and notIn.
136
136
  # @param [Fixnum] limit
137
- # The maximum number of records that should be returned.
137
+ # Optional. The maximum number of records that should be returned.
138
138
  # @param [String] resource_version
139
139
  # The baseline resource version from which the list or watch operation should
140
140
  # start. Not currently used by Cloud Run.
@@ -295,7 +295,7 @@ module Google
295
295
  # The namespace from which the domain mappings should be listed. For Cloud Run (
296
296
  # fully managed), replace `namespace_id` with the project ID or number.
297
297
  # @param [String] continue
298
- # Optional encoded string to continue paging.
298
+ # Optional. Encoded string to continue paging.
299
299
  # @param [String] field_selector
300
300
  # Allows to filter resources based on a specific value for a field name. Send
301
301
  # this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently
@@ -306,7 +306,7 @@ module Google
306
306
  # Allows to filter resources based on a label. Supported operations are =, !=,
307
307
  # exists, in, and notIn.
308
308
  # @param [Fixnum] limit
309
- # The maximum number of records that should be returned.
309
+ # Optional. The maximum number of records that should be returned.
310
310
  # @param [String] resource_version
311
311
  # The baseline resource version from which the list or watch operation should
312
312
  # start. Not currently used by Cloud Run.
@@ -429,7 +429,7 @@ module Google
429
429
  # The namespace from which the revisions should be listed. For Cloud Run (fully
430
430
  # managed), replace `namespace_id` with the project ID or number.
431
431
  # @param [String] continue
432
- # Optional encoded string to continue paging.
432
+ # Optional. Encoded string to continue paging.
433
433
  # @param [String] field_selector
434
434
  # Allows to filter resources based on a specific value for a field name. Send
435
435
  # this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently
@@ -440,7 +440,7 @@ module Google
440
440
  # Allows to filter resources based on a label. Supported operations are =, !=,
441
441
  # exists, in, and notIn.
442
442
  # @param [Fixnum] limit
443
- # The maximum number of records that should be returned.
443
+ # Optional. The maximum number of records that should be returned.
444
444
  # @param [String] resource_version
445
445
  # The baseline resource version from which the list or watch operation should
446
446
  # start. Not currently used by Cloud Run.
@@ -517,7 +517,7 @@ module Google
517
517
  # The namespace from which the routes should be listed. For Cloud Run (fully
518
518
  # managed), replace `namespace_id` with the project ID or number.
519
519
  # @param [String] continue
520
- # Optional encoded string to continue paging.
520
+ # Optional. Encoded string to continue paging.
521
521
  # @param [String] field_selector
522
522
  # Allows to filter resources based on a specific value for a field name. Send
523
523
  # this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently
@@ -528,7 +528,7 @@ module Google
528
528
  # Allows to filter resources based on a label. Supported operations are =, !=,
529
529
  # exists, in, and notIn.
530
530
  # @param [Fixnum] limit
531
- # The maximum number of records that should be returned.
531
+ # Optional. The maximum number of records that should be returned.
532
532
  # @param [String] resource_version
533
533
  # The baseline resource version from which the list or watch operation should
534
534
  # start. Not currently used by Cloud Run.
@@ -690,7 +690,7 @@ module Google
690
690
  # The namespace from which the services should be listed. For Cloud Run (fully
691
691
  # managed), replace `namespace_id` with the project ID or number.
692
692
  # @param [String] continue
693
- # Optional encoded string to continue paging.
693
+ # Optional. Encoded string to continue paging.
694
694
  # @param [String] field_selector
695
695
  # Allows to filter resources based on a specific value for a field name. Send
696
696
  # this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently
@@ -701,7 +701,7 @@ module Google
701
701
  # Allows to filter resources based on a label. Supported operations are =, !=,
702
702
  # exists, in, and notIn.
703
703
  # @param [Fixnum] limit
704
- # The maximum number of records that should be returned.
704
+ # Optional. The maximum number of records that should be returned.
705
705
  # @param [String] resource_version
706
706
  # The baseline resource version from which the list or watch operation should
707
707
  # start. Not currently used by Cloud Run.
@@ -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`.
@@ -934,7 +974,7 @@ module Google
934
974
  # The namespace from which the configurations should be listed. For Cloud Run (
935
975
  # fully managed), replace `namespace_id` with the project ID or number.
936
976
  # @param [String] continue
937
- # Optional encoded string to continue paging.
977
+ # Optional. Encoded string to continue paging.
938
978
  # @param [String] field_selector
939
979
  # Allows to filter resources based on a specific value for a field name. Send
940
980
  # this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently
@@ -945,7 +985,7 @@ module Google
945
985
  # Allows to filter resources based on a label. Supported operations are =, !=,
946
986
  # exists, in, and notIn.
947
987
  # @param [Fixnum] limit
948
- # The maximum number of records that should be returned.
988
+ # Optional. The maximum number of records that should be returned.
949
989
  # @param [String] resource_version
950
990
  # The baseline resource version from which the list or watch operation should
951
991
  # start. Not currently used by Cloud Run.
@@ -1106,7 +1146,7 @@ module Google
1106
1146
  # The namespace from which the domain mappings should be listed. For Cloud Run (
1107
1147
  # fully managed), replace `namespace_id` with the project ID or number.
1108
1148
  # @param [String] continue
1109
- # Optional encoded string to continue paging.
1149
+ # Optional. Encoded string to continue paging.
1110
1150
  # @param [String] field_selector
1111
1151
  # Allows to filter resources based on a specific value for a field name. Send
1112
1152
  # this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently
@@ -1117,7 +1157,7 @@ module Google
1117
1157
  # Allows to filter resources based on a label. Supported operations are =, !=,
1118
1158
  # exists, in, and notIn.
1119
1159
  # @param [Fixnum] limit
1120
- # The maximum number of records that should be returned.
1160
+ # Optional. The maximum number of records that should be returned.
1121
1161
  # @param [String] resource_version
1122
1162
  # The baseline resource version from which the list or watch operation should
1123
1163
  # start. Not currently used by Cloud Run.
@@ -1240,7 +1280,7 @@ module Google
1240
1280
  # The namespace from which the revisions should be listed. For Cloud Run (fully
1241
1281
  # managed), replace `namespace_id` with the project ID or number.
1242
1282
  # @param [String] continue
1243
- # Optional encoded string to continue paging.
1283
+ # Optional. Encoded string to continue paging.
1244
1284
  # @param [String] field_selector
1245
1285
  # Allows to filter resources based on a specific value for a field name. Send
1246
1286
  # this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently
@@ -1251,7 +1291,7 @@ module Google
1251
1291
  # Allows to filter resources based on a label. Supported operations are =, !=,
1252
1292
  # exists, in, and notIn.
1253
1293
  # @param [Fixnum] limit
1254
- # The maximum number of records that should be returned.
1294
+ # Optional. The maximum number of records that should be returned.
1255
1295
  # @param [String] resource_version
1256
1296
  # The baseline resource version from which the list or watch operation should
1257
1297
  # start. Not currently used by Cloud Run.
@@ -1328,7 +1368,7 @@ module Google
1328
1368
  # The namespace from which the routes should be listed. For Cloud Run (fully
1329
1369
  # managed), replace `namespace_id` with the project ID or number.
1330
1370
  # @param [String] continue
1331
- # Optional encoded string to continue paging.
1371
+ # Optional. Encoded string to continue paging.
1332
1372
  # @param [String] field_selector
1333
1373
  # Allows to filter resources based on a specific value for a field name. Send
1334
1374
  # this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently
@@ -1339,7 +1379,7 @@ module Google
1339
1379
  # Allows to filter resources based on a label. Supported operations are =, !=,
1340
1380
  # exists, in, and notIn.
1341
1381
  # @param [Fixnum] limit
1342
- # The maximum number of records that should be returned.
1382
+ # Optional. The maximum number of records that should be returned.
1343
1383
  # @param [String] resource_version
1344
1384
  # The baseline resource version from which the list or watch operation should
1345
1385
  # start. Not currently used by Cloud Run.
@@ -1542,7 +1582,7 @@ module Google
1542
1582
  # The namespace from which the services should be listed. For Cloud Run (fully
1543
1583
  # managed), replace `namespace_id` with the project ID or number.
1544
1584
  # @param [String] continue
1545
- # Optional encoded string to continue paging.
1585
+ # Optional. Encoded string to continue paging.
1546
1586
  # @param [String] field_selector
1547
1587
  # Allows to filter resources based on a specific value for a field name. Send
1548
1588
  # this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently
@@ -1553,7 +1593,7 @@ module Google
1553
1593
  # Allows to filter resources based on a label. Supported operations are =, !=,
1554
1594
  # exists, in, and notIn.
1555
1595
  # @param [Fixnum] limit
1556
- # The maximum number of records that should be returned.
1596
+ # Optional. The maximum number of records that should be returned.
1557
1597
  # @param [String] resource_version
1558
1598
  # The baseline resource version from which the list or watch operation should
1559
1599
  # start. Not currently used by Cloud Run.
@@ -22,8 +22,8 @@ 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 requets. The Cloud Run Admin API follows the Knative Serving
26
- # API specification.
25
+ # based on incoming requests. The Cloud Run Admin API follows the Knative
26
+ # Serving API specification.
27
27
  #
28
28
  # @see https://cloud.google.com/run/
29
29
  module RunV1
@@ -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.11.0
4
+ version: 0.15.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-05 00:00:00.000000000 Z
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/master/generated/google-apis-run_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-run_v1/v0.11.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.15.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: