google-cloud-kms-v1 0.6.0 → 0.6.1
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 +4 -4
- data/AUTHENTICATION.md +5 -5
- data/README.md +1 -1
- data/lib/google/cloud/kms/v1/iam_policy/client.rb +1 -1
- data/lib/google/cloud/kms/v1/key_management_service/client.rb +22 -85
- data/lib/google/cloud/kms/v1/service_services_pb.rb +1 -1
- data/lib/google/cloud/kms/v1/version.rb +1 -1
- data/proto_docs/google/api/field_behavior.rb +7 -1
- data/proto_docs/google/type/expr.rb +35 -12
- metadata +2 -3
- data/lib/google/iam/v1/iam_policy_services_pb.rb +0 -81
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 49b33d8a719da6fa0606adb17eee4d511f0a2ac671b89d354dec4b11feb9bd48
|
4
|
+
data.tar.gz: 56dd219d1f9ad59432c1c2fd4416dccec41b1b0c8eb59aa2dcb7dd2b1cf13f94
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0db14654980b915259ef92a7105f47114cc77b12356f378eeebdca2ba9f951d8f1905473ae6e2cf2eb2bb83bec71fc88e9849ce1cee85680bd5dd02e61e6da4a
|
7
|
+
data.tar.gz: 572e52f215ca5695920c36d2fc83fe79f1d860022ad28c8fdbca785de5933c250eb6255dc1d428c87ad268fcc9bca7625d25611c9e49af72c897d33485c2bd88
|
data/AUTHENTICATION.md
CHANGED
@@ -66,11 +66,11 @@ The environment variables that google-cloud-kms-v1
|
|
66
66
|
checks for credentials are configured on the service Credentials class (such as
|
67
67
|
{::Google::Cloud::Kms::V1::KeyManagementService::Credentials}):
|
68
68
|
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
69
|
+
* `KMS_CREDENTIALS` - Path to JSON file, or JSON contents
|
70
|
+
* `KMS_KEYFILE` - Path to JSON file, or JSON contents
|
71
|
+
* `GOOGLE_CLOUD_CREDENTIALS` - Path to JSON file, or JSON contents
|
72
|
+
* `GOOGLE_CLOUD_KEYFILE` - Path to JSON file, or JSON contents
|
73
|
+
* `GOOGLE_APPLICATION_CREDENTIALS` - Path to JSON file
|
74
74
|
|
75
75
|
```ruby
|
76
76
|
require "google/cloud/kms/v1"
|
data/README.md
CHANGED
@@ -33,7 +33,7 @@ In order to use this library, you first need to go through the following steps:
|
|
33
33
|
require "google/cloud/kms/v1"
|
34
34
|
|
35
35
|
client = ::Google::Cloud::Kms::V1::KeyManagementService::Client.new
|
36
|
-
request =
|
36
|
+
request = ::Google::Cloud::Kms::V1::ListKeyRingsRequest.new # (request fields as keyword arguments...)
|
37
37
|
response = client.list_key_rings request
|
38
38
|
```
|
39
39
|
|
@@ -155,7 +155,7 @@ module Google
|
|
155
155
|
!@config.endpoint.split(".").first.include?("-")
|
156
156
|
credentials ||= Credentials.default scope: @config.scope,
|
157
157
|
enable_self_signed_jwt: enable_self_signed_jwt
|
158
|
-
if credentials.is_a?(String) || credentials.is_a?(Hash)
|
158
|
+
if credentials.is_a?(::String) || credentials.is_a?(::Hash)
|
159
159
|
credentials = Credentials.new credentials, scope: @config.scope
|
160
160
|
end
|
161
161
|
@quota_project_id = @config.quota_project
|
@@ -78,90 +78,57 @@ module Google
|
|
78
78
|
|
79
79
|
default_config.rpcs.list_key_rings.timeout = 60.0
|
80
80
|
default_config.rpcs.list_key_rings.retry_policy = {
|
81
|
-
initial_delay: 0.1,
|
82
|
-
max_delay: 60.0,
|
83
|
-
multiplier: 1.3,
|
84
|
-
retry_codes: [14, 4]
|
81
|
+
initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14, 4]
|
85
82
|
}
|
86
83
|
|
87
84
|
default_config.rpcs.list_crypto_keys.timeout = 60.0
|
88
85
|
default_config.rpcs.list_crypto_keys.retry_policy = {
|
89
|
-
initial_delay: 0.1,
|
90
|
-
max_delay: 60.0,
|
91
|
-
multiplier: 1.3,
|
92
|
-
retry_codes: [14, 4]
|
86
|
+
initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14, 4]
|
93
87
|
}
|
94
88
|
|
95
89
|
default_config.rpcs.list_crypto_key_versions.timeout = 60.0
|
96
90
|
default_config.rpcs.list_crypto_key_versions.retry_policy = {
|
97
|
-
initial_delay: 0.1,
|
98
|
-
max_delay: 60.0,
|
99
|
-
multiplier: 1.3,
|
100
|
-
retry_codes: [14, 4]
|
91
|
+
initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14, 4]
|
101
92
|
}
|
102
93
|
|
103
94
|
default_config.rpcs.list_import_jobs.timeout = 60.0
|
104
95
|
default_config.rpcs.list_import_jobs.retry_policy = {
|
105
|
-
initial_delay: 0.1,
|
106
|
-
max_delay: 60.0,
|
107
|
-
multiplier: 1.3,
|
108
|
-
retry_codes: [14, 4]
|
96
|
+
initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14, 4]
|
109
97
|
}
|
110
98
|
|
111
99
|
default_config.rpcs.get_key_ring.timeout = 60.0
|
112
100
|
default_config.rpcs.get_key_ring.retry_policy = {
|
113
|
-
initial_delay: 0.1,
|
114
|
-
max_delay: 60.0,
|
115
|
-
multiplier: 1.3,
|
116
|
-
retry_codes: [14, 4]
|
101
|
+
initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14, 4]
|
117
102
|
}
|
118
103
|
|
119
104
|
default_config.rpcs.get_crypto_key.timeout = 60.0
|
120
105
|
default_config.rpcs.get_crypto_key.retry_policy = {
|
121
|
-
initial_delay: 0.1,
|
122
|
-
max_delay: 60.0,
|
123
|
-
multiplier: 1.3,
|
124
|
-
retry_codes: [14, 4]
|
106
|
+
initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14, 4]
|
125
107
|
}
|
126
108
|
|
127
109
|
default_config.rpcs.get_crypto_key_version.timeout = 60.0
|
128
110
|
default_config.rpcs.get_crypto_key_version.retry_policy = {
|
129
|
-
initial_delay: 0.1,
|
130
|
-
max_delay: 60.0,
|
131
|
-
multiplier: 1.3,
|
132
|
-
retry_codes: [14, 4]
|
111
|
+
initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14, 4]
|
133
112
|
}
|
134
113
|
|
135
114
|
default_config.rpcs.get_public_key.timeout = 60.0
|
136
115
|
default_config.rpcs.get_public_key.retry_policy = {
|
137
|
-
initial_delay: 0.1,
|
138
|
-
max_delay: 60.0,
|
139
|
-
multiplier: 1.3,
|
140
|
-
retry_codes: [14, 4]
|
116
|
+
initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14, 4]
|
141
117
|
}
|
142
118
|
|
143
119
|
default_config.rpcs.get_import_job.timeout = 60.0
|
144
120
|
default_config.rpcs.get_import_job.retry_policy = {
|
145
|
-
initial_delay: 0.1,
|
146
|
-
max_delay: 60.0,
|
147
|
-
multiplier: 1.3,
|
148
|
-
retry_codes: [14, 4]
|
121
|
+
initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14, 4]
|
149
122
|
}
|
150
123
|
|
151
124
|
default_config.rpcs.create_key_ring.timeout = 60.0
|
152
125
|
default_config.rpcs.create_key_ring.retry_policy = {
|
153
|
-
initial_delay: 0.1,
|
154
|
-
max_delay: 60.0,
|
155
|
-
multiplier: 1.3,
|
156
|
-
retry_codes: [14, 4]
|
126
|
+
initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14, 4]
|
157
127
|
}
|
158
128
|
|
159
129
|
default_config.rpcs.create_crypto_key.timeout = 60.0
|
160
130
|
default_config.rpcs.create_crypto_key.retry_policy = {
|
161
|
-
initial_delay: 0.1,
|
162
|
-
max_delay: 60.0,
|
163
|
-
multiplier: 1.3,
|
164
|
-
retry_codes: [14, 4]
|
131
|
+
initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14, 4]
|
165
132
|
}
|
166
133
|
|
167
134
|
default_config.rpcs.create_crypto_key_version.timeout = 60.0
|
@@ -170,82 +137,52 @@ module Google
|
|
170
137
|
|
171
138
|
default_config.rpcs.create_import_job.timeout = 60.0
|
172
139
|
default_config.rpcs.create_import_job.retry_policy = {
|
173
|
-
initial_delay: 0.1,
|
174
|
-
max_delay: 60.0,
|
175
|
-
multiplier: 1.3,
|
176
|
-
retry_codes: [14, 4]
|
140
|
+
initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14, 4]
|
177
141
|
}
|
178
142
|
|
179
143
|
default_config.rpcs.update_crypto_key.timeout = 60.0
|
180
144
|
default_config.rpcs.update_crypto_key.retry_policy = {
|
181
|
-
initial_delay: 0.1,
|
182
|
-
max_delay: 60.0,
|
183
|
-
multiplier: 1.3,
|
184
|
-
retry_codes: [14, 4]
|
145
|
+
initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14, 4]
|
185
146
|
}
|
186
147
|
|
187
148
|
default_config.rpcs.update_crypto_key_version.timeout = 60.0
|
188
149
|
default_config.rpcs.update_crypto_key_version.retry_policy = {
|
189
|
-
initial_delay: 0.1,
|
190
|
-
max_delay: 60.0,
|
191
|
-
multiplier: 1.3,
|
192
|
-
retry_codes: [14, 4]
|
150
|
+
initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14, 4]
|
193
151
|
}
|
194
152
|
|
195
153
|
default_config.rpcs.encrypt.timeout = 60.0
|
196
154
|
default_config.rpcs.encrypt.retry_policy = {
|
197
|
-
initial_delay: 0.1,
|
198
|
-
max_delay: 60.0,
|
199
|
-
multiplier: 1.3,
|
200
|
-
retry_codes: [14, 4]
|
155
|
+
initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14, 4]
|
201
156
|
}
|
202
157
|
|
203
158
|
default_config.rpcs.decrypt.timeout = 60.0
|
204
159
|
default_config.rpcs.decrypt.retry_policy = {
|
205
|
-
initial_delay: 0.1,
|
206
|
-
max_delay: 60.0,
|
207
|
-
multiplier: 1.3,
|
208
|
-
retry_codes: [14, 4]
|
160
|
+
initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14, 4]
|
209
161
|
}
|
210
162
|
|
211
163
|
default_config.rpcs.asymmetric_sign.timeout = 60.0
|
212
164
|
default_config.rpcs.asymmetric_sign.retry_policy = {
|
213
|
-
initial_delay: 0.1,
|
214
|
-
max_delay: 60.0,
|
215
|
-
multiplier: 1.3,
|
216
|
-
retry_codes: [14, 4]
|
165
|
+
initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14, 4]
|
217
166
|
}
|
218
167
|
|
219
168
|
default_config.rpcs.asymmetric_decrypt.timeout = 60.0
|
220
169
|
default_config.rpcs.asymmetric_decrypt.retry_policy = {
|
221
|
-
initial_delay: 0.1,
|
222
|
-
max_delay: 60.0,
|
223
|
-
multiplier: 1.3,
|
224
|
-
retry_codes: [14, 4]
|
170
|
+
initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14, 4]
|
225
171
|
}
|
226
172
|
|
227
173
|
default_config.rpcs.update_crypto_key_primary_version.timeout = 60.0
|
228
174
|
default_config.rpcs.update_crypto_key_primary_version.retry_policy = {
|
229
|
-
initial_delay: 0.1,
|
230
|
-
max_delay: 60.0,
|
231
|
-
multiplier: 1.3,
|
232
|
-
retry_codes: [14, 4]
|
175
|
+
initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14, 4]
|
233
176
|
}
|
234
177
|
|
235
178
|
default_config.rpcs.destroy_crypto_key_version.timeout = 60.0
|
236
179
|
default_config.rpcs.destroy_crypto_key_version.retry_policy = {
|
237
|
-
initial_delay: 0.1,
|
238
|
-
max_delay: 60.0,
|
239
|
-
multiplier: 1.3,
|
240
|
-
retry_codes: [14, 4]
|
180
|
+
initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14, 4]
|
241
181
|
}
|
242
182
|
|
243
183
|
default_config.rpcs.restore_crypto_key_version.timeout = 60.0
|
244
184
|
default_config.rpcs.restore_crypto_key_version.retry_policy = {
|
245
|
-
initial_delay: 0.1,
|
246
|
-
max_delay: 60.0,
|
247
|
-
multiplier: 1.3,
|
248
|
-
retry_codes: [14, 4]
|
185
|
+
initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [14, 4]
|
249
186
|
}
|
250
187
|
|
251
188
|
default_config
|
@@ -316,7 +253,7 @@ module Google
|
|
316
253
|
!@config.endpoint.split(".").first.include?("-")
|
317
254
|
credentials ||= Credentials.default scope: @config.scope,
|
318
255
|
enable_self_signed_jwt: enable_self_signed_jwt
|
319
|
-
if credentials.is_a?(String) || credentials.is_a?(Hash)
|
256
|
+
if credentials.is_a?(::String) || credentials.is_a?(::Hash)
|
320
257
|
credentials = Credentials.new credentials, scope: @config.scope
|
321
258
|
end
|
322
259
|
@quota_project_id = @config.quota_project
|
@@ -57,9 +57,15 @@ module Google
|
|
57
57
|
|
58
58
|
# Denotes that a (repeated) field is an unordered list.
|
59
59
|
# This indicates that the service may provide the elements of the list
|
60
|
-
# in any arbitrary
|
60
|
+
# in any arbitrary order, rather than the order the user originally
|
61
61
|
# provided. Additionally, the list's order may or may not be stable.
|
62
62
|
UNORDERED_LIST = 6
|
63
|
+
|
64
|
+
# Denotes that this field returns a non-empty default value if not set.
|
65
|
+
# This indicates that if the user provides the empty value in a request,
|
66
|
+
# a non-empty value will be returned. The user will not be aware of what
|
67
|
+
# non-empty value to expect.
|
68
|
+
NON_EMPTY_DEFAULT = 7
|
63
69
|
end
|
64
70
|
end
|
65
71
|
end
|
@@ -19,30 +19,53 @@
|
|
19
19
|
|
20
20
|
module Google
|
21
21
|
module Type
|
22
|
-
# Represents
|
22
|
+
# Represents a textual expression in the Common Expression Language (CEL)
|
23
|
+
# syntax. CEL is a C-like expression language. The syntax and semantics of CEL
|
24
|
+
# are documented at https://github.com/google/cel-spec.
|
23
25
|
#
|
24
|
-
#
|
25
|
-
#
|
26
|
-
#
|
26
|
+
# Example (Comparison):
|
27
|
+
#
|
28
|
+
# title: "Summary size limit"
|
29
|
+
# description: "Determines if a summary is less than 100 chars"
|
30
|
+
# expression: "document.summary.size() < 100"
|
31
|
+
#
|
32
|
+
# Example (Equality):
|
33
|
+
#
|
34
|
+
# title: "Requestor is owner"
|
35
|
+
# description: "Determines if requestor is the document owner"
|
36
|
+
# expression: "document.owner == request.auth.claims.email"
|
37
|
+
#
|
38
|
+
# Example (Logic):
|
39
|
+
#
|
40
|
+
# title: "Public documents"
|
41
|
+
# description: "Determine whether the document should be publicly visible"
|
42
|
+
# expression: "document.type != 'private' && document.type != 'internal'"
|
43
|
+
#
|
44
|
+
# Example (Data Manipulation):
|
45
|
+
#
|
46
|
+
# title: "Notification string"
|
47
|
+
# description: "Create a notification string with a timestamp."
|
48
|
+
# expression: "'New message received at ' + string(document.create_time)"
|
49
|
+
#
|
50
|
+
# The exact variables and functions that may be referenced within an expression
|
51
|
+
# are determined by the service that evaluates it. See the service
|
52
|
+
# documentation for additional information.
|
27
53
|
# @!attribute [rw] expression
|
28
54
|
# @return [::String]
|
29
|
-
# Textual representation of an expression in
|
30
|
-
#
|
31
|
-
#
|
32
|
-
# The application context of the containing message determines which
|
33
|
-
# well-known feature set of CEL is supported.
|
55
|
+
# Textual representation of an expression in Common Expression Language
|
56
|
+
# syntax.
|
34
57
|
# @!attribute [rw] title
|
35
58
|
# @return [::String]
|
36
|
-
#
|
59
|
+
# Optional. Title for the expression, i.e. a short string describing
|
37
60
|
# its purpose. This can be used e.g. in UIs which allow to enter the
|
38
61
|
# expression.
|
39
62
|
# @!attribute [rw] description
|
40
63
|
# @return [::String]
|
41
|
-
#
|
64
|
+
# Optional. Description of the expression. This is a longer text which
|
42
65
|
# describes the expression, e.g. when hovered over it in a UI.
|
43
66
|
# @!attribute [rw] location
|
44
67
|
# @return [::String]
|
45
|
-
#
|
68
|
+
# Optional. String indicating the location of the expression for error
|
46
69
|
# reporting, e.g. a file name and a position in the file.
|
47
70
|
class Expr
|
48
71
|
include ::Google::Protobuf::MessageExts
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-kms-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-07-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -202,7 +202,6 @@ files:
|
|
202
202
|
- lib/google/cloud/kms/v1/service_pb.rb
|
203
203
|
- lib/google/cloud/kms/v1/service_services_pb.rb
|
204
204
|
- lib/google/cloud/kms/v1/version.rb
|
205
|
-
- lib/google/iam/v1/iam_policy_services_pb.rb
|
206
205
|
- proto_docs/README.md
|
207
206
|
- proto_docs/google/api/field_behavior.rb
|
208
207
|
- proto_docs/google/api/resource.rb
|
@@ -1,81 +0,0 @@
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
-
# Source: google/iam/v1/iam_policy.proto for package 'google.iam.v1'
|
3
|
-
# Original file comments:
|
4
|
-
# Copyright 2019 Google LLC.
|
5
|
-
#
|
6
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
7
|
-
# you may not use this file except in compliance with the License.
|
8
|
-
# You may obtain a copy of the License at
|
9
|
-
#
|
10
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
11
|
-
#
|
12
|
-
# Unless required by applicable law or agreed to in writing, software
|
13
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
-
# See the License for the specific language governing permissions and
|
16
|
-
# limitations under the License.
|
17
|
-
#
|
18
|
-
#
|
19
|
-
|
20
|
-
require 'grpc'
|
21
|
-
require 'google/iam/v1/iam_policy_pb'
|
22
|
-
|
23
|
-
module Google
|
24
|
-
module Iam
|
25
|
-
module V1
|
26
|
-
module IAMPolicy
|
27
|
-
# ## API Overview
|
28
|
-
#
|
29
|
-
# Manages Identity and Access Management (IAM) policies.
|
30
|
-
#
|
31
|
-
# Any implementation of an API that offers access control features
|
32
|
-
# implements the google.iam.v1.IAMPolicy interface.
|
33
|
-
#
|
34
|
-
# ## Data model
|
35
|
-
#
|
36
|
-
# Access control is applied when a principal (user or service account), takes
|
37
|
-
# some action on a resource exposed by a service. Resources, identified by
|
38
|
-
# URI-like names, are the unit of access control specification. Service
|
39
|
-
# implementations can choose the granularity of access control and the
|
40
|
-
# supported permissions for their resources.
|
41
|
-
# For example one database service may allow access control to be
|
42
|
-
# specified only at the Table level, whereas another might allow access control
|
43
|
-
# to also be specified at the Column level.
|
44
|
-
#
|
45
|
-
# ## Policy Structure
|
46
|
-
#
|
47
|
-
# See google.iam.v1.Policy
|
48
|
-
#
|
49
|
-
# This is intentionally not a CRUD style API because access control policies
|
50
|
-
# are created and deleted implicitly with the resources to which they are
|
51
|
-
# attached.
|
52
|
-
class Service
|
53
|
-
|
54
|
-
include ::GRPC::GenericService
|
55
|
-
|
56
|
-
self.marshal_class_method = :encode
|
57
|
-
self.unmarshal_class_method = :decode
|
58
|
-
self.service_name = 'google.iam.v1.IAMPolicy'
|
59
|
-
|
60
|
-
# Sets the access control policy on the specified resource. Replaces any
|
61
|
-
# existing policy.
|
62
|
-
rpc :SetIamPolicy, ::Google::Iam::V1::SetIamPolicyRequest, ::Google::Iam::V1::Policy
|
63
|
-
# Gets the access control policy for a resource.
|
64
|
-
# Returns an empty policy if the resource exists and does not have a policy
|
65
|
-
# set.
|
66
|
-
rpc :GetIamPolicy, ::Google::Iam::V1::GetIamPolicyRequest, ::Google::Iam::V1::Policy
|
67
|
-
# Returns permissions that a caller has on the specified resource.
|
68
|
-
# If the resource does not exist, this will return an empty set of
|
69
|
-
# permissions, not a NOT_FOUND error.
|
70
|
-
#
|
71
|
-
# Note: This operation is designed to be used for building permission-aware
|
72
|
-
# UIs and command-line tools, not for authorization checking. This operation
|
73
|
-
# may "fail open" without warning.
|
74
|
-
rpc :TestIamPermissions, ::Google::Iam::V1::TestIamPermissionsRequest, ::Google::Iam::V1::TestIamPermissionsResponse
|
75
|
-
end
|
76
|
-
|
77
|
-
Stub = Service.rpc_stub_class
|
78
|
-
end
|
79
|
-
end
|
80
|
-
end
|
81
|
-
end
|