google-apis-cloudtasks_v2 0.8.0 → 0.12.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: a7b5cc211254879eb020d0a140004e2a674fdc429f0b4f97417bf49917b29dc4
4
- data.tar.gz: 04cc7598aed52578776d2a73f8b6deb350e13c4c469ed1b9768bc71b3ef2a872
3
+ metadata.gz: b9101639fad3ec78154e23dad3100cd8d80f1b92091b3f0f0795a84f700f3244
4
+ data.tar.gz: 10302f9eb04a07272b2844d90b403c0b892582201d85d8b2b75a8defbf4e070f
5
5
  SHA512:
6
- metadata.gz: 1c47b733c3cc5be943868e19c11b8e576af5e712c8049c3b5849451037defadd1144aa0651c7f92c94b90d47cf33c0a2dd9621512ce8379a371f30e1f0509c8a
7
- data.tar.gz: 18267634921ee43ec926b74b41655bef9ed93a9628d452f9564160b8030736569a812aea371abeeb1f38575866c74d241e07d31c7b61d7e73cefd7d90b2a7432
6
+ metadata.gz: 5e9b94cd5b0f8ed8962f18e13f6e0db25c0b9187a82cfb6d3440719776c81c98a99baa3e9d77c9d5f989f9f7aab8641b55f1adf188d04da26a41848458400251
7
+ data.tar.gz: 8b8d8e6285e450a25b7eb82d2a5e6d82d331a2684948c5ffab0b61d5efcf3b1de6ac22183c3c21dd2cf4a3d9e4f4c5782f95e2a9df57334c7f963024fa7be96c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-cloudtasks_v2
2
2
 
3
+ ### v0.12.0 (2021-12-09)
4
+
5
+ * Regenerated from discovery document revision 20211130
6
+
7
+ ### v0.11.0 (2021-10-28)
8
+
9
+ * Regenerated from discovery document revision 20211015
10
+
11
+ ### v0.10.0 (2021-10-20)
12
+
13
+ * Unspecified changes
14
+
15
+ ### v0.9.0 (2021-09-08)
16
+
17
+ * Regenerated from discovery document revision 20210830
18
+
3
19
  ### v0.8.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 Cloudtasks service in particular.)
67
67
 
@@ -258,7 +258,7 @@ module Google
258
258
  end
259
259
  end
260
260
 
261
- # Associates `members` with a `role`.
261
+ # Associates `members`, or principals, with a `role`.
262
262
  class Binding
263
263
  include Google::Apis::Core::Hashable
264
264
 
@@ -281,7 +281,7 @@ module Google
281
281
  # @return [Google::Apis::CloudtasksV2::Expr]
282
282
  attr_accessor :condition
283
283
 
284
- # Specifies the identities requesting access for a Cloud Platform resource. `
284
+ # Specifies the principals requesting access for a Cloud Platform resource. `
285
285
  # members` can have the following values: * `allUsers`: A special identifier
286
286
  # that represents anyone who is on the internet; with or without a Google
287
287
  # account. * `allAuthenticatedUsers`: A special identifier that represents
@@ -311,8 +311,8 @@ module Google
311
311
  # @return [Array<String>]
312
312
  attr_accessor :members
313
313
 
314
- # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`
315
- # , or `roles/owner`.
314
+ # Role that is assigned to the list of `members`, or principals. For example, `
315
+ # roles/viewer`, `roles/editor`, or `roles/owner`.
316
316
  # Corresponds to the JSON property `role`
317
317
  # @return [String]
318
318
  attr_accessor :role
@@ -453,13 +453,16 @@ module Google
453
453
  class GetPolicyOptions
454
454
  include Google::Apis::Core::Hashable
455
455
 
456
- # Optional. The policy format version to be returned. Valid values are 0, 1, and
457
- # 3. Requests specifying an invalid value will be rejected. Requests for
458
- # policies with any conditional bindings must specify version 3. Policies
459
- # without any conditional bindings may specify any valid value or leave the
460
- # field unset. To learn which resources support conditions in their IAM policies,
461
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
462
- # resource-policies).
456
+ # Optional. The maximum policy version that will be used to format the policy.
457
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
458
+ # rejected. Requests for policies with any conditional role bindings must
459
+ # specify version 3. Policies with no conditional role bindings may specify any
460
+ # valid value or leave the field unset. The policy in the response might use the
461
+ # policy version that you specified, or it might use a lower policy version. For
462
+ # example, if you specify version 3, but the policy has no conditional role
463
+ # bindings, the response uses version 1. To learn which resources support
464
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
465
+ # google.com/iam/help/conditions/resource-policies).
463
466
  # Corresponds to the JSON property `requestedPolicyVersion`
464
467
  # @return [Fixnum]
465
468
  attr_accessor :requested_policy_version
@@ -509,12 +512,12 @@ module Google
509
512
  # headers will be ignored or replaced. A partial list of headers that will be
510
513
  # ignored or replaced is: * Host: This will be computed by Cloud Tasks and
511
514
  # derived from HttpRequest.url. * Content-Length: This will be computed by Cloud
512
- # Tasks. * User-Agent: This will be set to `"Google-Cloud-Tasks"`. * X-Google-*:
513
- # Google use only. * X-AppEngine-*: Google use only. `Content-Type` won't be set
514
- # by Cloud Tasks. You can explicitly set `Content-Type` to a media type when the
515
- # task is created. For example, `Content-Type` can be set to `"application/octet-
516
- # stream"` or `"application/json"`. Headers which can have multiple values (
517
- # according to RFC2616) can be specified using comma-separated values. The size
515
+ # Tasks. * User-Agent: This will be set to `"Google-Cloud-Tasks"`. * `X-Google-*`
516
+ # : Google use only. * `X-AppEngine-*`: Google use only. `Content-Type` won't be
517
+ # set by Cloud Tasks. You can explicitly set `Content-Type` to a media type when
518
+ # the task is created. For example, `Content-Type` can be set to `"application/
519
+ # octet-stream"` or `"application/json"`. Headers which can have multiple values
520
+ # (according to RFC2616) can be specified using comma-separated values. The size
518
521
  # of the headers must be less than 80KB.
519
522
  # Corresponds to the JSON property `headers`
520
523
  # @return [Hash<String,String>]
@@ -770,37 +773,42 @@ module Google
770
773
 
771
774
  # An Identity and Access Management (IAM) policy, which specifies access
772
775
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
773
- # A `binding` binds one or more `members` to a single `role`. Members can be
774
- # user accounts, service accounts, Google groups, and domains (such as G Suite).
775
- # A `role` is a named list of permissions; each `role` can be an IAM predefined
776
- # role or a user-created custom role. For some types of Google Cloud resources,
777
- # a `binding` can also specify a `condition`, which is a logical expression that
778
- # allows access to a resource only if the expression evaluates to `true`. A
779
- # condition can add constraints based on attributes of the request, the resource,
780
- # or both. To learn which resources support conditions in their IAM policies,
781
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
782
- # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
783
- # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
784
- # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
785
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
786
- # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
787
- # title": "expirable access", "description": "Does not grant access after Sep
788
- # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
789
- # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
790
- # members: - user:mike@example.com - group:admins@example.com - domain:google.
791
- # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
792
- # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
793
- # roles/resourcemanager.organizationViewer condition: title: expirable access
794
- # description: Does not grant access after Sep 2020 expression: request.time <
795
- # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
796
- # description of IAM and its features, see the [IAM documentation](https://cloud.
797
- # google.com/iam/docs/).
776
+ # A `binding` binds one or more `members`, or principals, to a single `role`.
777
+ # Principals can be user accounts, service accounts, Google groups, and domains (
778
+ # such as G Suite). A `role` is a named list of permissions; each `role` can be
779
+ # an IAM predefined role or a user-created custom role. For some types of Google
780
+ # Cloud resources, a `binding` can also specify a `condition`, which is a
781
+ # logical expression that allows access to a resource only if the expression
782
+ # evaluates to `true`. A condition can add constraints based on attributes of
783
+ # the request, the resource, or both. To learn which resources support
784
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
785
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
786
+ # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
787
+ # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
788
+ # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
789
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
790
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
791
+ # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
792
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
793
+ # bindings: - members: - user:mike@example.com - group:admins@example.com -
794
+ # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
795
+ # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
796
+ # com role: roles/resourcemanager.organizationViewer condition: title: expirable
797
+ # access description: Does not grant access after Sep 2020 expression: request.
798
+ # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
799
+ # a description of IAM and its features, see the [IAM documentation](https://
800
+ # cloud.google.com/iam/docs/).
798
801
  class Policy
799
802
  include Google::Apis::Core::Hashable
800
803
 
801
- # Associates a list of `members` to a `role`. Optionally, may specify a `
802
- # condition` that determines how and when the `bindings` are applied. Each of
803
- # the `bindings` must contain at least one member.
804
+ # Associates a list of `members`, or principals, with a `role`. Optionally, may
805
+ # specify a `condition` that determines how and when the `bindings` are applied.
806
+ # Each of the `bindings` must contain at least one principal. The `bindings` in
807
+ # a `Policy` can refer to up to 1,500 principals; up to 250 of these principals
808
+ # can be Google groups. Each occurrence of a principal counts towards these
809
+ # limits. For example, if the `bindings` grant 50 different roles to `user:alice@
810
+ # example.com`, and not to any other principal, then you can add another 1,450
811
+ # principals to the `bindings` in the `Policy`.
804
812
  # Corresponds to the JSON property `bindings`
805
813
  # @return [Array<Google::Apis::CloudtasksV2::Binding>]
806
814
  attr_accessor :bindings
@@ -1138,31 +1146,31 @@ module Google
1138
1146
 
1139
1147
  # An Identity and Access Management (IAM) policy, which specifies access
1140
1148
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
1141
- # A `binding` binds one or more `members` to a single `role`. Members can be
1142
- # user accounts, service accounts, Google groups, and domains (such as G Suite).
1143
- # A `role` is a named list of permissions; each `role` can be an IAM predefined
1144
- # role or a user-created custom role. For some types of Google Cloud resources,
1145
- # a `binding` can also specify a `condition`, which is a logical expression that
1146
- # allows access to a resource only if the expression evaluates to `true`. A
1147
- # condition can add constraints based on attributes of the request, the resource,
1148
- # or both. To learn which resources support conditions in their IAM policies,
1149
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
1150
- # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
1151
- # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
1152
- # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
1153
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
1154
- # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
1155
- # title": "expirable access", "description": "Does not grant access after Sep
1156
- # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
1157
- # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
1158
- # members: - user:mike@example.com - group:admins@example.com - domain:google.
1159
- # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
1160
- # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
1161
- # roles/resourcemanager.organizationViewer condition: title: expirable access
1162
- # description: Does not grant access after Sep 2020 expression: request.time <
1163
- # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
1164
- # description of IAM and its features, see the [IAM documentation](https://cloud.
1165
- # google.com/iam/docs/).
1149
+ # A `binding` binds one or more `members`, or principals, to a single `role`.
1150
+ # Principals can be user accounts, service accounts, Google groups, and domains (
1151
+ # such as G Suite). A `role` is a named list of permissions; each `role` can be
1152
+ # an IAM predefined role or a user-created custom role. For some types of Google
1153
+ # Cloud resources, a `binding` can also specify a `condition`, which is a
1154
+ # logical expression that allows access to a resource only if the expression
1155
+ # evaluates to `true`. A condition can add constraints based on attributes of
1156
+ # the request, the resource, or both. To learn which resources support
1157
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
1158
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
1159
+ # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
1160
+ # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
1161
+ # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
1162
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
1163
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
1164
+ # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
1165
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
1166
+ # bindings: - members: - user:mike@example.com - group:admins@example.com -
1167
+ # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
1168
+ # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
1169
+ # com role: roles/resourcemanager.organizationViewer condition: title: expirable
1170
+ # access description: Does not grant access after Sep 2020 expression: request.
1171
+ # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
1172
+ # a description of IAM and its features, see the [IAM documentation](https://
1173
+ # cloud.google.com/iam/docs/).
1166
1174
  # Corresponds to the JSON property `policy`
1167
1175
  # @return [Google::Apis::CloudtasksV2::Policy]
1168
1176
  attr_accessor :policy
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module CloudtasksV2
18
18
  # Version of the google-apis-cloudtasks_v2 gem
19
- GEM_VERSION = "0.8.0"
19
+ GEM_VERSION = "0.12.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 = "20210528"
25
+ REVISION = "20211130"
26
26
  end
27
27
  end
28
28
  end
@@ -29,7 +29,7 @@ module Google
29
29
  # This is NOT the gem version.
30
30
  VERSION = 'V2'
31
31
 
32
- # See, edit, configure, and delete your Google Cloud Platform data
32
+ # See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
34
34
  end
35
35
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudtasks_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.12.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-12-13 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-cloudtasks_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudtasks_v2/v0.8.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-cloudtasks_v2
60
+ changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudtasks_v2/CHANGELOG.md
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudtasks_v2/v0.12.0
62
+ source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudtasks_v2
63
63
  post_install_message:
64
64
  rdoc_options: []
65
65
  require_paths: