google-cloud-kms 1.0.1 → 1.0.2

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: 544cd2b12b79c301f7f29fbcf3404acad0406a6a481d8b03e43ba9934ae0d4da
4
- data.tar.gz: 9e3de94a11b8cd9efab13da5ac9e17e9a3d81cd321889d46a853a231eb3f2316
3
+ metadata.gz: 3435174d6d95af25a352f8a5c7f3eaca84d5dbb3a4ce314dda344fcaa8278006
4
+ data.tar.gz: aa981529b7c9903b2e845e9b5033ff65b2edcfe877ef6e85b8b4e39caa87e54c
5
5
  SHA512:
6
- metadata.gz: d1645492e51e5c04fedfd16425a8486c4594100cf85647d9627b3ad0714cffb895239f5c7bf17a512b66e90b2956d86f73fcacb0e7d72282e78f3839ff28f151
7
- data.tar.gz: 1183b3a561d17e475fa9ca3e2786791e19f7c625754e51c6a1a6ed14238e3abeca7a208cd2a1100052acb8c5a8dc0840a650cde8e76bf06f8975c530de2dcf49
6
+ metadata.gz: b95dcd8e9706515732428353da166177e7a872b3c307b2908dd68bf4f1e01f65d739316c5f0a0c814b908ce695a31c045f77a9413ffc114be4ee27e73d120b3a
7
+ data.tar.gz: 6344f662a0c796df9c643ff7826c135a72d4b9927cc300a852931a876206021d3c6453b700cc64ffe3e890ee8291e6b82bce75ceb127b3819f62cf9980317af0
@@ -0,0 +1,19 @@
1
+ # Copyright 2019 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # https://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+
16
+ module Google
17
+ module Type
18
+ end
19
+ end
@@ -28,6 +28,7 @@ require "google/gax"
28
28
  require "google/cloud/kms/v1/service_pb"
29
29
  require "google/iam/v1/iam_policy_pb"
30
30
  require "google/cloud/kms/v1/credentials"
31
+ require "google/cloud/kms/version"
31
32
 
32
33
  module Google
33
34
  module Cloud
@@ -252,7 +253,7 @@ module Google
252
253
  updater_proc = credentials.updater_proc
253
254
  end
254
255
 
255
- package_version = Gem.loaded_specs['google-cloud-kms'].version.version
256
+ package_version = Google::Cloud::Kms::VERSION
256
257
 
257
258
  google_api_client = "gl-ruby/#{RUBY_VERSION}"
258
259
  google_api_client << " #{lib_name}/#{lib_version}" if lib_name
@@ -1386,8 +1387,7 @@ module Google
1386
1387
  #
1387
1388
  # @param resource [String]
1388
1389
  # REQUIRED: The resource for which the policy is being specified.
1389
- # `resource` is usually specified as a path. For example, a Project
1390
- # resource is specified as `projects/{project}`.
1390
+ # See the operation documentation for the appropriate value for this field.
1391
1391
  # @param policy [Google::Iam::V1::Policy | Hash]
1392
1392
  # REQUIRED: The complete policy to be applied to the `resource`. The size of
1393
1393
  # the policy is limited to a few 10s of KB. An empty policy is a
@@ -1432,8 +1432,7 @@ module Google
1432
1432
  #
1433
1433
  # @param resource [String]
1434
1434
  # REQUIRED: The resource for which the policy is being requested.
1435
- # `resource` is usually specified as a path. For example, a Project
1436
- # resource is specified as `projects/{project}`.
1435
+ # See the operation documentation for the appropriate value for this field.
1437
1436
  # @param options [Google::Gax::CallOptions]
1438
1437
  # Overrides the default settings for this call, e.g, timeout,
1439
1438
  # retries, etc.
@@ -1464,10 +1463,13 @@ module Google
1464
1463
  # If the resource does not exist, this will return an empty set of
1465
1464
  # permissions, not a NOT_FOUND error.
1466
1465
  #
1466
+ # Note: This operation is designed to be used for building permission-aware
1467
+ # UIs and command-line tools, not for authorization checking. This operation
1468
+ # may "fail open" without warning.
1469
+ #
1467
1470
  # @param resource [String]
1468
1471
  # REQUIRED: The resource for which the policy detail is being requested.
1469
- # `resource` is usually specified as a path. For example, a Project
1470
- # resource is specified as `projects/{project}`.
1472
+ # See the operation documentation for the appropriate value for this field.
1471
1473
  # @param permissions [Array<String>]
1472
1474
  # The set of permissions to check for the `resource`. Permissions with
1473
1475
  # wildcards (such as '*' or 'storage.*') are not allowed. For more
@@ -0,0 +1,22 @@
1
+ # Copyright 2019 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # https://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+
16
+ module Google
17
+ module Cloud
18
+ module Kms
19
+ VERSION = "1.0.2".freeze
20
+ end
21
+ end
22
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-kms
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
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-04-30 00:00:00.000000000 Z
11
+ date: 2019-06-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-gax
@@ -129,12 +129,14 @@ files:
129
129
  - lib/google/cloud/kms/v1/doc/google/protobuf/duration.rb
130
130
  - lib/google/cloud/kms/v1/doc/google/protobuf/field_mask.rb
131
131
  - lib/google/cloud/kms/v1/doc/google/protobuf/timestamp.rb
132
+ - lib/google/cloud/kms/v1/doc/google/type/expr.rb
132
133
  - lib/google/cloud/kms/v1/helpers.rb
133
134
  - lib/google/cloud/kms/v1/key_management_service_client.rb
134
135
  - lib/google/cloud/kms/v1/key_management_service_client_config.json
135
136
  - lib/google/cloud/kms/v1/resources_pb.rb
136
137
  - lib/google/cloud/kms/v1/service_pb.rb
137
138
  - lib/google/cloud/kms/v1/service_services_pb.rb
139
+ - lib/google/cloud/kms/version.rb
138
140
  homepage: https://github.com/googleapis/googleapis
139
141
  licenses:
140
142
  - Apache-2.0