grpc-google-iam-v1 1.0.0 → 1.1.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: 3a050fccc380333648ffd32b5ac181367f6c86094ffcaa2796398563553fbfdc
4
- data.tar.gz: 12f5d23cf2f8139f9944a51e38b3807ed8572a42303b3e027c28b71ba1bb2904
3
+ metadata.gz: 97e1815c26e20654e28dd7ad681302fd5fc6a80775a84e5cb242086ff696728a
4
+ data.tar.gz: b54d2e8fc73181d2b005a1097c22a0dd4f686eee7f0e99efda57886c958c1f94
5
5
  SHA512:
6
- metadata.gz: 3bbcd7bed633e27ca781f60098d1e13f18acba91d551019ba69c3fdf275eade8aa6da680c5aa6ce58e53e3524db0bf5f803c88856e92642f207e9ac4a0c77a27
7
- data.tar.gz: 4b86946ee4fa0c9cb85d8d6abca422e50fec25eb82c22970acafa4fa698c9a2adeb29a3987c7c8d7564f37037e37563091c48c01b95b8116b7e7f2da603083ed
6
+ metadata.gz: 20e1675584f0a9ffc57b5c7310b865ed02d8236e800c9558d8bc041d18a2b6de278ee7bc4df7844d66410105bc0b8fb30dad5bd67313f2563e5261c69a7f8457
7
+ data.tar.gz: 2a39d4c1535ceefead863880f3fdb0dfe37fff74f6e57cafbfa91140daa1be4f00469733a31e0180b803686587d56dec8ae9275d9462723dd800d77e0f3fc271
data/CHANGELOG.md CHANGED
@@ -1,18 +1,23 @@
1
1
  # Release History
2
2
 
3
- ## 1.0.0 (2021-09-03)
3
+ ### 1.1.0 (2022-04-05)
4
+
5
+ * Added audit_configs field to the Policy object.
6
+ * Added update_mask parameter to the set_iam_policy call.
7
+
8
+ ### 1.0.0 (2021-09-03)
4
9
 
5
10
  * Bumped version to 1.0.0.
6
11
  * Removed unnecessary files from the gem package.
7
12
  * Update googleapis-common-protos dependency to 1.3.12.
8
13
 
9
- ## 0.6.11 / 2021-02-01
14
+ ### 0.6.11 / 2021-02-01
10
15
 
11
16
  * Fully qualify proto names internally.
12
17
  * Update googleapis-common-protos dependency to 1.3.11.
13
18
  * Require protobuf 3.14.
14
19
 
15
- ## 0.6.10 / 2020-04-08
20
+ ### 0.6.10 / 2020-04-08
16
21
 
17
22
  * Add "options" field to Google::Iam::V1::GetIamPolicyRequest.
18
23
  * Support conditional policy bindings via the "condition" field in Google::Iam::V1::Binding.
@@ -1,19 +1,21 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/iam/v1/iam_policy.proto
3
3
 
4
- require 'google/protobuf'
5
-
6
- require 'google/iam/v1/options_pb'
7
- require 'google/iam/v1/policy_pb'
8
4
  require 'google/api/annotations_pb'
9
5
  require 'google/api/client_pb'
10
6
  require 'google/api/field_behavior_pb'
11
7
  require 'google/api/resource_pb'
8
+ require 'google/iam/v1/options_pb'
9
+ require 'google/iam/v1/policy_pb'
10
+ require 'google/protobuf/field_mask_pb'
11
+ require 'google/protobuf'
12
+
12
13
  Google::Protobuf::DescriptorPool.generated_pool.build do
13
14
  add_file("google/iam/v1/iam_policy.proto", :syntax => :proto3) do
14
15
  add_message "google.iam.v1.SetIamPolicyRequest" do
15
16
  optional :resource, :string, 1
16
17
  optional :policy, :message, 2, "google.iam.v1.Policy"
18
+ optional :update_mask, :message, 3, "google.protobuf.FieldMask"
17
19
  end
18
20
  add_message "google.iam.v1.GetIamPolicyRequest" do
19
21
  optional :resource, :string, 1
@@ -1,7 +1,7 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # Source: google/iam/v1/iam_policy.proto for package 'google.iam.v1'
3
3
  # Original file comments:
4
- # Copyright 2019 Google LLC.
4
+ # Copyright 2022 Google LLC
5
5
  #
6
6
  # Licensed under the Apache License, Version 2.0 (the "License");
7
7
  # you may not use this file except in compliance with the License.
@@ -15,7 +15,6 @@
15
15
  # See the License for the specific language governing permissions and
16
16
  # limitations under the License.
17
17
  #
18
- #
19
18
 
20
19
  require 'grpc'
21
20
  require 'google/iam/v1/iam_policy_pb'
@@ -24,7 +23,8 @@ module Google
24
23
  module Iam
25
24
  module V1
26
25
  module IAMPolicy
27
- # ## API Overview
26
+ # API Overview
27
+ #
28
28
  #
29
29
  # Manages Identity and Access Management (IAM) policies.
30
30
  #
@@ -59,6 +59,8 @@ module Google
59
59
 
60
60
  # Sets the access control policy on the specified resource. Replaces any
61
61
  # existing policy.
62
+ #
63
+ # Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
62
64
  rpc :SetIamPolicy, ::Google::Iam::V1::SetIamPolicyRequest, ::Google::Iam::V1::Policy
63
65
  # Gets the access control policy for a resource.
64
66
  # Returns an empty policy if the resource exists and does not have a policy
@@ -66,7 +68,7 @@ module Google
66
68
  rpc :GetIamPolicy, ::Google::Iam::V1::GetIamPolicyRequest, ::Google::Iam::V1::Policy
67
69
  # Returns permissions that a caller has on the specified resource.
68
70
  # If the resource does not exist, this will return an empty set of
69
- # permissions, not a NOT_FOUND error.
71
+ # permissions, not a `NOT_FOUND` error.
70
72
  #
71
73
  # Note: This operation is designed to be used for building permission-aware
72
74
  # UIs and command-line tools, not for authorization checking. This operation
@@ -3,7 +3,6 @@
3
3
 
4
4
  require 'google/protobuf'
5
5
 
6
- require 'google/api/annotations_pb'
7
6
  Google::Protobuf::DescriptorPool.generated_pool.build do
8
7
  add_file("google/iam/v1/options.proto", :syntax => :proto3) do
9
8
  add_message "google.iam.v1.GetPolicyOptions" do
@@ -1,15 +1,15 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/iam/v1/policy.proto
3
3
 
4
+ require 'google/type/expr_pb'
4
5
  require 'google/protobuf'
5
6
 
6
- require 'google/type/expr_pb'
7
- require 'google/api/annotations_pb'
8
7
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
8
  add_file("google/iam/v1/policy.proto", :syntax => :proto3) do
10
9
  add_message "google.iam.v1.Policy" do
11
10
  optional :version, :int32, 1
12
11
  repeated :bindings, :message, 4, "google.iam.v1.Binding"
12
+ repeated :audit_configs, :message, 6, "google.iam.v1.AuditConfig"
13
13
  optional :etag, :bytes, 3
14
14
  end
15
15
  add_message "google.iam.v1.Binding" do
@@ -17,6 +17,20 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
17
17
  repeated :members, :string, 2
18
18
  optional :condition, :message, 3, "google.type.Expr"
19
19
  end
20
+ add_message "google.iam.v1.AuditConfig" do
21
+ optional :service, :string, 1
22
+ repeated :audit_log_configs, :message, 3, "google.iam.v1.AuditLogConfig"
23
+ end
24
+ add_message "google.iam.v1.AuditLogConfig" do
25
+ optional :log_type, :enum, 1, "google.iam.v1.AuditLogConfig.LogType"
26
+ repeated :exempted_members, :string, 2
27
+ end
28
+ add_enum "google.iam.v1.AuditLogConfig.LogType" do
29
+ value :LOG_TYPE_UNSPECIFIED, 0
30
+ value :ADMIN_READ, 1
31
+ value :DATA_WRITE, 2
32
+ value :DATA_READ, 3
33
+ end
20
34
  add_message "google.iam.v1.PolicyDelta" do
21
35
  repeated :binding_deltas, :message, 1, "google.iam.v1.BindingDelta"
22
36
  repeated :audit_config_deltas, :message, 2, "google.iam.v1.AuditConfigDelta"
@@ -51,6 +65,9 @@ module Google
51
65
  module V1
52
66
  Policy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.iam.v1.Policy").msgclass
53
67
  Binding = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.iam.v1.Binding").msgclass
68
+ AuditConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.iam.v1.AuditConfig").msgclass
69
+ AuditLogConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.iam.v1.AuditLogConfig").msgclass
70
+ AuditLogConfig::LogType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.iam.v1.AuditLogConfig.LogType").enummodule
54
71
  PolicyDelta = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.iam.v1.PolicyDelta").msgclass
55
72
  BindingDelta = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.iam.v1.BindingDelta").msgclass
56
73
  BindingDelta::Action = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.iam.v1.BindingDelta.Action").enummodule
@@ -17,7 +17,7 @@
17
17
  module Google
18
18
  module Iam
19
19
  module V1
20
- VERSION = "1.0.0".freeze
20
+ VERSION = "1.1.0".freeze
21
21
  end
22
22
  end
23
23
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: grpc-google-iam-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.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-09-03 00:00:00.000000000 Z
11
+ date: 2022-04-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: googleapis-common-protos
@@ -91,7 +91,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
91
91
  - !ruby/object:Gem::Version
92
92
  version: '0'
93
93
  requirements: []
94
- rubygems_version: 3.2.17
94
+ rubygems_version: 3.3.5
95
95
  signing_key:
96
96
  specification_version: 4
97
97
  summary: Common protos and gRPC services for Google IAM