google-cloud-tasks 1.1.2 → 1.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e546541fd76d53b9e525e3ecf0c7e4abac0196c0282e276957078b6ceb0f4fdb
|
4
|
+
data.tar.gz: f12b7d8835c0e13858119796d93e97748a71a2fe4e9d9400edb5b6c4bff7f0a4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fc31b38177418cd486442a6c79d20e968666dd431ac99c68076e54c884245af54cd795d958d43406c79378ce88e481ba3016e8ce95b6a519a1b2a4f94806927c
|
7
|
+
data.tar.gz: d70bb5544b78d42f5b184392293b8d82577d89f3e3fdb0b8091325d6800743c4f0e0f7a98556e38fa7fd9d13cc4a62ea15e1c18e59bed498bddcf2a82a1b23e7
|
@@ -20,27 +20,36 @@ module Google
|
|
20
20
|
# specify access control policies for Cloud Platform resources.
|
21
21
|
#
|
22
22
|
#
|
23
|
-
# A `Policy`
|
24
|
-
# `members` to a `role
|
25
|
-
# Google
|
26
|
-
# defined by IAM.
|
23
|
+
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
24
|
+
# `members` to a single `role`. Members can be user accounts, service accounts,
|
25
|
+
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
26
|
+
# permissions (defined by IAM or configured by users). A `binding` can
|
27
|
+
# optionally specify a `condition`, which is a logic expression that further
|
28
|
+
# constrains the role binding based on attributes about the request and/or
|
29
|
+
# target resource.
|
27
30
|
#
|
28
31
|
# **JSON Example**
|
29
32
|
#
|
30
33
|
# {
|
31
34
|
# "bindings": [
|
32
35
|
# {
|
33
|
-
# "role": "roles/
|
36
|
+
# "role": "roles/resourcemanager.organizationAdmin",
|
34
37
|
# "members": [
|
35
38
|
# "user:mike@example.com",
|
36
39
|
# "group:admins@example.com",
|
37
40
|
# "domain:google.com",
|
38
|
-
# "serviceAccount:my-
|
41
|
+
# "serviceAccount:my-project-id@appspot.gserviceaccount.com"
|
39
42
|
# ]
|
40
43
|
# },
|
41
44
|
# {
|
42
|
-
# "role": "roles/
|
43
|
-
# "members": ["user:
|
45
|
+
# "role": "roles/resourcemanager.organizationViewer",
|
46
|
+
# "members": ["user:eve@example.com"],
|
47
|
+
# "condition": {
|
48
|
+
# "title": "expirable access",
|
49
|
+
# "description": "Does not grant access after Sep 2020",
|
50
|
+
# "expression": "request.time <
|
51
|
+
# timestamp('2020-10-01T00:00:00.000Z')",
|
52
|
+
# }
|
44
53
|
# }
|
45
54
|
# ]
|
46
55
|
# }
|
@@ -52,15 +61,18 @@ module Google
|
|
52
61
|
# * user:mike@example.com
|
53
62
|
# * group:admins@example.com
|
54
63
|
# * domain:google.com
|
55
|
-
# * serviceAccount:my-
|
56
|
-
# role: roles/
|
64
|
+
# * serviceAccount:my-project-id@appspot.gserviceaccount.com
|
65
|
+
# role: roles/resourcemanager.organizationAdmin
|
57
66
|
# * members:
|
58
|
-
# * user:
|
59
|
-
# role: roles/
|
60
|
-
#
|
61
|
-
#
|
62
|
-
#
|
63
|
-
#
|
67
|
+
# * user:eve@example.com
|
68
|
+
# role: roles/resourcemanager.organizationViewer
|
69
|
+
# condition:
|
70
|
+
# title: expirable access
|
71
|
+
# description: Does not grant access after Sep 2020
|
72
|
+
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
73
|
+
#
|
74
|
+
# For a description of IAM and its features, see the
|
75
|
+
# [IAM developer's guide](https://cloud.google.com/iam/docs).
|
64
76
|
# @!attribute [rw] version
|
65
77
|
# @return [Integer]
|
66
78
|
# Specifies the format of the policy.
|
@@ -68,12 +80,18 @@ module Google
|
|
68
80
|
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
69
81
|
# rejected.
|
70
82
|
#
|
71
|
-
#
|
72
|
-
#
|
73
|
-
#
|
83
|
+
# Operations affecting conditional bindings must specify version 3. This can
|
84
|
+
# be either setting a conditional policy, modifying a conditional binding,
|
85
|
+
# or removing a conditional binding from the stored conditional policy.
|
86
|
+
# Operations on non-conditional policies may specify any valid value or
|
87
|
+
# leave the field unset.
|
88
|
+
#
|
89
|
+
# If no etag is provided in the call to `setIamPolicy`, any version
|
90
|
+
# compliance checks on the incoming and/or stored policy is skipped.
|
74
91
|
# @!attribute [rw] bindings
|
75
92
|
# @return [Array<Google::Iam::V1::Binding>]
|
76
|
-
# Associates a list of `members` to a `role`.
|
93
|
+
# Associates a list of `members` to a `role`. Optionally may specify a
|
94
|
+
# `condition` that determines when binding is in effect.
|
77
95
|
# `bindings` with no members will result in an error.
|
78
96
|
# @!attribute [rw] etag
|
79
97
|
# @return [String]
|
@@ -86,7 +104,9 @@ module Google
|
|
86
104
|
# ensure that their change will be applied to the same version of the policy.
|
87
105
|
#
|
88
106
|
# If no `etag` is provided in the call to `setIamPolicy`, then the existing
|
89
|
-
# policy is overwritten.
|
107
|
+
# policy is overwritten. Due to blind-set semantics of an etag-less policy,
|
108
|
+
# 'setIamPolicy' will not fail even if either of incoming or stored policy
|
109
|
+
# does not meet the version requirements.
|
90
110
|
class Policy; end
|
91
111
|
|
92
112
|
# Associates `members` with a `role`.
|
@@ -20,27 +20,36 @@ module Google
|
|
20
20
|
# specify access control policies for Cloud Platform resources.
|
21
21
|
#
|
22
22
|
#
|
23
|
-
# A `Policy`
|
24
|
-
# `members` to a `role
|
25
|
-
# Google
|
26
|
-
# defined by IAM.
|
23
|
+
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
24
|
+
# `members` to a single `role`. Members can be user accounts, service accounts,
|
25
|
+
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
26
|
+
# permissions (defined by IAM or configured by users). A `binding` can
|
27
|
+
# optionally specify a `condition`, which is a logic expression that further
|
28
|
+
# constrains the role binding based on attributes about the request and/or
|
29
|
+
# target resource.
|
27
30
|
#
|
28
31
|
# **JSON Example**
|
29
32
|
#
|
30
33
|
# {
|
31
34
|
# "bindings": [
|
32
35
|
# {
|
33
|
-
# "role": "roles/
|
36
|
+
# "role": "roles/resourcemanager.organizationAdmin",
|
34
37
|
# "members": [
|
35
38
|
# "user:mike@example.com",
|
36
39
|
# "group:admins@example.com",
|
37
40
|
# "domain:google.com",
|
38
|
-
# "serviceAccount:my-
|
41
|
+
# "serviceAccount:my-project-id@appspot.gserviceaccount.com"
|
39
42
|
# ]
|
40
43
|
# },
|
41
44
|
# {
|
42
|
-
# "role": "roles/
|
43
|
-
# "members": ["user:
|
45
|
+
# "role": "roles/resourcemanager.organizationViewer",
|
46
|
+
# "members": ["user:eve@example.com"],
|
47
|
+
# "condition": {
|
48
|
+
# "title": "expirable access",
|
49
|
+
# "description": "Does not grant access after Sep 2020",
|
50
|
+
# "expression": "request.time <
|
51
|
+
# timestamp('2020-10-01T00:00:00.000Z')",
|
52
|
+
# }
|
44
53
|
# }
|
45
54
|
# ]
|
46
55
|
# }
|
@@ -52,15 +61,18 @@ module Google
|
|
52
61
|
# * user:mike@example.com
|
53
62
|
# * group:admins@example.com
|
54
63
|
# * domain:google.com
|
55
|
-
# * serviceAccount:my-
|
56
|
-
# role: roles/
|
64
|
+
# * serviceAccount:my-project-id@appspot.gserviceaccount.com
|
65
|
+
# role: roles/resourcemanager.organizationAdmin
|
57
66
|
# * members:
|
58
|
-
# * user:
|
59
|
-
# role: roles/
|
60
|
-
#
|
61
|
-
#
|
62
|
-
#
|
63
|
-
#
|
67
|
+
# * user:eve@example.com
|
68
|
+
# role: roles/resourcemanager.organizationViewer
|
69
|
+
# condition:
|
70
|
+
# title: expirable access
|
71
|
+
# description: Does not grant access after Sep 2020
|
72
|
+
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
73
|
+
#
|
74
|
+
# For a description of IAM and its features, see the
|
75
|
+
# [IAM developer's guide](https://cloud.google.com/iam/docs).
|
64
76
|
# @!attribute [rw] version
|
65
77
|
# @return [Integer]
|
66
78
|
# Specifies the format of the policy.
|
@@ -68,12 +80,18 @@ module Google
|
|
68
80
|
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
69
81
|
# rejected.
|
70
82
|
#
|
71
|
-
#
|
72
|
-
#
|
73
|
-
#
|
83
|
+
# Operations affecting conditional bindings must specify version 3. This can
|
84
|
+
# be either setting a conditional policy, modifying a conditional binding,
|
85
|
+
# or removing a conditional binding from the stored conditional policy.
|
86
|
+
# Operations on non-conditional policies may specify any valid value or
|
87
|
+
# leave the field unset.
|
88
|
+
#
|
89
|
+
# If no etag is provided in the call to `setIamPolicy`, any version
|
90
|
+
# compliance checks on the incoming and/or stored policy is skipped.
|
74
91
|
# @!attribute [rw] bindings
|
75
92
|
# @return [Array<Google::Iam::V1::Binding>]
|
76
|
-
# Associates a list of `members` to a `role`.
|
93
|
+
# Associates a list of `members` to a `role`. Optionally may specify a
|
94
|
+
# `condition` that determines when binding is in effect.
|
77
95
|
# `bindings` with no members will result in an error.
|
78
96
|
# @!attribute [rw] etag
|
79
97
|
# @return [String]
|
@@ -86,7 +104,9 @@ module Google
|
|
86
104
|
# ensure that their change will be applied to the same version of the policy.
|
87
105
|
#
|
88
106
|
# If no `etag` is provided in the call to `setIamPolicy`, then the existing
|
89
|
-
# policy is overwritten.
|
107
|
+
# policy is overwritten. Due to blind-set semantics of an etag-less policy,
|
108
|
+
# 'setIamPolicy' will not fail even if either of incoming or stored policy
|
109
|
+
# does not meet the version requirements.
|
90
110
|
class Policy; end
|
91
111
|
|
92
112
|
# Associates `members` with a `role`.
|
@@ -20,27 +20,36 @@ module Google
|
|
20
20
|
# specify access control policies for Cloud Platform resources.
|
21
21
|
#
|
22
22
|
#
|
23
|
-
# A `Policy`
|
24
|
-
# `members` to a `role
|
25
|
-
# Google
|
26
|
-
# defined by IAM.
|
23
|
+
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
24
|
+
# `members` to a single `role`. Members can be user accounts, service accounts,
|
25
|
+
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
26
|
+
# permissions (defined by IAM or configured by users). A `binding` can
|
27
|
+
# optionally specify a `condition`, which is a logic expression that further
|
28
|
+
# constrains the role binding based on attributes about the request and/or
|
29
|
+
# target resource.
|
27
30
|
#
|
28
31
|
# **JSON Example**
|
29
32
|
#
|
30
33
|
# {
|
31
34
|
# "bindings": [
|
32
35
|
# {
|
33
|
-
# "role": "roles/
|
36
|
+
# "role": "roles/resourcemanager.organizationAdmin",
|
34
37
|
# "members": [
|
35
38
|
# "user:mike@example.com",
|
36
39
|
# "group:admins@example.com",
|
37
40
|
# "domain:google.com",
|
38
|
-
# "serviceAccount:my-
|
41
|
+
# "serviceAccount:my-project-id@appspot.gserviceaccount.com"
|
39
42
|
# ]
|
40
43
|
# },
|
41
44
|
# {
|
42
|
-
# "role": "roles/
|
43
|
-
# "members": ["user:
|
45
|
+
# "role": "roles/resourcemanager.organizationViewer",
|
46
|
+
# "members": ["user:eve@example.com"],
|
47
|
+
# "condition": {
|
48
|
+
# "title": "expirable access",
|
49
|
+
# "description": "Does not grant access after Sep 2020",
|
50
|
+
# "expression": "request.time <
|
51
|
+
# timestamp('2020-10-01T00:00:00.000Z')",
|
52
|
+
# }
|
44
53
|
# }
|
45
54
|
# ]
|
46
55
|
# }
|
@@ -52,15 +61,18 @@ module Google
|
|
52
61
|
# * user:mike@example.com
|
53
62
|
# * group:admins@example.com
|
54
63
|
# * domain:google.com
|
55
|
-
# * serviceAccount:my-
|
56
|
-
# role: roles/
|
64
|
+
# * serviceAccount:my-project-id@appspot.gserviceaccount.com
|
65
|
+
# role: roles/resourcemanager.organizationAdmin
|
57
66
|
# * members:
|
58
|
-
# * user:
|
59
|
-
# role: roles/
|
60
|
-
#
|
61
|
-
#
|
62
|
-
#
|
63
|
-
#
|
67
|
+
# * user:eve@example.com
|
68
|
+
# role: roles/resourcemanager.organizationViewer
|
69
|
+
# condition:
|
70
|
+
# title: expirable access
|
71
|
+
# description: Does not grant access after Sep 2020
|
72
|
+
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
73
|
+
#
|
74
|
+
# For a description of IAM and its features, see the
|
75
|
+
# [IAM developer's guide](https://cloud.google.com/iam/docs).
|
64
76
|
# @!attribute [rw] version
|
65
77
|
# @return [Integer]
|
66
78
|
# Specifies the format of the policy.
|
@@ -68,12 +80,18 @@ module Google
|
|
68
80
|
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
69
81
|
# rejected.
|
70
82
|
#
|
71
|
-
#
|
72
|
-
#
|
73
|
-
#
|
83
|
+
# Operations affecting conditional bindings must specify version 3. This can
|
84
|
+
# be either setting a conditional policy, modifying a conditional binding,
|
85
|
+
# or removing a conditional binding from the stored conditional policy.
|
86
|
+
# Operations on non-conditional policies may specify any valid value or
|
87
|
+
# leave the field unset.
|
88
|
+
#
|
89
|
+
# If no etag is provided in the call to `setIamPolicy`, any version
|
90
|
+
# compliance checks on the incoming and/or stored policy is skipped.
|
74
91
|
# @!attribute [rw] bindings
|
75
92
|
# @return [Array<Google::Iam::V1::Binding>]
|
76
|
-
# Associates a list of `members` to a `role`.
|
93
|
+
# Associates a list of `members` to a `role`. Optionally may specify a
|
94
|
+
# `condition` that determines when binding is in effect.
|
77
95
|
# `bindings` with no members will result in an error.
|
78
96
|
# @!attribute [rw] etag
|
79
97
|
# @return [String]
|
@@ -86,7 +104,9 @@ module Google
|
|
86
104
|
# ensure that their change will be applied to the same version of the policy.
|
87
105
|
#
|
88
106
|
# If no `etag` is provided in the call to `setIamPolicy`, then the existing
|
89
|
-
# policy is overwritten.
|
107
|
+
# policy is overwritten. Due to blind-set semantics of an etag-less policy,
|
108
|
+
# 'setIamPolicy' will not fail even if either of incoming or stored policy
|
109
|
+
# does not meet the version requirements.
|
90
110
|
class Policy; end
|
91
111
|
|
92
112
|
# Associates `members` with a `role`.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-tasks
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-10-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-gax
|