grpc-google-iam-v1 1.0.0 → 1.2.0

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: 3a050fccc380333648ffd32b5ac181367f6c86094ffcaa2796398563553fbfdc
4
- data.tar.gz: 12f5d23cf2f8139f9944a51e38b3807ed8572a42303b3e027c28b71ba1bb2904
3
+ metadata.gz: 6c9f0026845f652027d464b297d7b4c2d71d55f6a07ec497678b44ff3cb94d2e
4
+ data.tar.gz: 927caa301f41ebd95354aeb370d76167e913dfedd60c59e1ddbd1ce7b855cbd5
5
5
  SHA512:
6
- metadata.gz: 3bbcd7bed633e27ca781f60098d1e13f18acba91d551019ba69c3fdf275eade8aa6da680c5aa6ce58e53e3524db0bf5f803c88856e92642f207e9ac4a0c77a27
7
- data.tar.gz: 4b86946ee4fa0c9cb85d8d6abca422e50fec25eb82c22970acafa4fa698c9a2adeb29a3987c7c8d7564f37037e37563091c48c01b95b8116b7e7f2da603083ed
6
+ metadata.gz: deb1ef1be3472791144d2fddebdd97c45fbce35eba36c7d104f820c873eda556d09dd94f85f80da79439b85fbc4750162277e2aba904b45bd473bc79e98ab030
7
+ data.tar.gz: 2a1f9d80441a57fb78926ded8b5b9bf72b9423fb8834a4f952c17314c226de0fa3dd0b35a35a23801759d7f30359ec2096056470d865688382400419015228cb
data/CHANGELOG.md CHANGED
@@ -1,18 +1,35 @@
1
1
  # Release History
2
2
 
3
- ## 1.0.0 (2021-09-03)
3
+ ### 1.2.0 (2022-08-17)
4
+
5
+ #### Features
6
+
7
+ * Update minimum Ruby version to 2.6 ([#75](https://github.com/googleapis/common-protos-ruby/issues/75))
8
+
9
+ ### 1.1.1 (2022-06-23)
10
+
11
+ #### Bug Fixes
12
+
13
+ * Remove some unnecessary requires
14
+
15
+ ### 1.1.0 (2022-04-05)
16
+
17
+ * Added audit_configs field to the Policy object.
18
+ * Added update_mask parameter to the set_iam_policy call.
19
+
20
+ ### 1.0.0 (2021-09-03)
4
21
 
5
22
  * Bumped version to 1.0.0.
6
23
  * Removed unnecessary files from the gem package.
7
24
  * Update googleapis-common-protos dependency to 1.3.12.
8
25
 
9
- ## 0.6.11 / 2021-02-01
26
+ ### 0.6.11 / 2021-02-01
10
27
 
11
28
  * Fully qualify proto names internally.
12
29
  * Update googleapis-common-protos dependency to 1.3.11.
13
30
  * Require protobuf 3.14.
14
31
 
15
- ## 0.6.10 / 2020-04-08
32
+ ### 0.6.10 / 2020-04-08
16
33
 
17
34
  * Add "options" field to Google::Iam::V1::GetIamPolicyRequest.
18
35
  * Support conditional policy bindings via the "condition" field in Google::Iam::V1::Binding.
@@ -3,17 +3,20 @@
3
3
 
4
4
  require 'google/protobuf'
5
5
 
6
- require 'google/iam/v1/options_pb'
7
- require 'google/iam/v1/policy_pb'
8
6
  require 'google/api/annotations_pb'
9
7
  require 'google/api/client_pb'
10
8
  require 'google/api/field_behavior_pb'
11
9
  require 'google/api/resource_pb'
10
+ require 'google/iam/v1/options_pb'
11
+ require 'google/iam/v1/policy_pb'
12
+ require 'google/protobuf/field_mask_pb'
13
+
12
14
  Google::Protobuf::DescriptorPool.generated_pool.build do
13
15
  add_file("google/iam/v1/iam_policy.proto", :syntax => :proto3) do
14
16
  add_message "google.iam.v1.SetIamPolicyRequest" do
15
17
  optional :resource, :string, 1
16
18
  optional :policy, :message, 2, "google.iam.v1.Policy"
19
+ optional :update_mask, :message, 3, "google.protobuf.FieldMask"
17
20
  end
18
21
  add_message "google.iam.v1.GetIamPolicyRequest" do
19
22
  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
@@ -4,12 +4,13 @@
4
4
  require 'google/protobuf'
5
5
 
6
6
  require 'google/type/expr_pb'
7
- require 'google/api/annotations_pb'
7
+
8
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
9
  add_file("google/iam/v1/policy.proto", :syntax => :proto3) do
10
10
  add_message "google.iam.v1.Policy" do
11
11
  optional :version, :int32, 1
12
12
  repeated :bindings, :message, 4, "google.iam.v1.Binding"
13
+ repeated :audit_configs, :message, 6, "google.iam.v1.AuditConfig"
13
14
  optional :etag, :bytes, 3
14
15
  end
15
16
  add_message "google.iam.v1.Binding" do
@@ -17,6 +18,20 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
17
18
  repeated :members, :string, 2
18
19
  optional :condition, :message, 3, "google.type.Expr"
19
20
  end
21
+ add_message "google.iam.v1.AuditConfig" do
22
+ optional :service, :string, 1
23
+ repeated :audit_log_configs, :message, 3, "google.iam.v1.AuditLogConfig"
24
+ end
25
+ add_message "google.iam.v1.AuditLogConfig" do
26
+ optional :log_type, :enum, 1, "google.iam.v1.AuditLogConfig.LogType"
27
+ repeated :exempted_members, :string, 2
28
+ end
29
+ add_enum "google.iam.v1.AuditLogConfig.LogType" do
30
+ value :LOG_TYPE_UNSPECIFIED, 0
31
+ value :ADMIN_READ, 1
32
+ value :DATA_WRITE, 2
33
+ value :DATA_READ, 3
34
+ end
20
35
  add_message "google.iam.v1.PolicyDelta" do
21
36
  repeated :binding_deltas, :message, 1, "google.iam.v1.BindingDelta"
22
37
  repeated :audit_config_deltas, :message, 2, "google.iam.v1.AuditConfigDelta"
@@ -51,6 +66,9 @@ module Google
51
66
  module V1
52
67
  Policy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.iam.v1.Policy").msgclass
53
68
  Binding = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.iam.v1.Binding").msgclass
69
+ AuditConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.iam.v1.AuditConfig").msgclass
70
+ AuditLogConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.iam.v1.AuditLogConfig").msgclass
71
+ AuditLogConfig::LogType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.iam.v1.AuditLogConfig.LogType").enummodule
54
72
  PolicyDelta = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.iam.v1.PolicyDelta").msgclass
55
73
  BindingDelta = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.iam.v1.BindingDelta").msgclass
56
74
  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.2.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.2.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-08-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: googleapis-common-protos
@@ -84,14 +84,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
84
84
  requirements:
85
85
  - - ">="
86
86
  - !ruby/object:Gem::Version
87
- version: '2.3'
87
+ version: '2.6'
88
88
  required_rubygems_version: !ruby/object:Gem::Requirement
89
89
  requirements:
90
90
  - - ">="
91
91
  - !ruby/object:Gem::Version
92
92
  version: '0'
93
93
  requirements: []
94
- rubygems_version: 3.2.17
94
+ rubygems_version: 3.3.14
95
95
  signing_key:
96
96
  specification_version: 4
97
97
  summary: Common protos and gRPC services for Google IAM