grpc-google-iam-v1 1.7.0 → 1.9.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: 1d41db4b8cf7b3fd5ef6e3c0d4dd27c5b165dc68c756a817e084724a31448608
4
- data.tar.gz: 5d855029ad44d5408caafefa7b4ec64e43c5394c7c13e90cf08b07eb03440670
3
+ metadata.gz: c09610e5c44d66fdb12118775460a0cce5212e6b4a90e98a2795d2586bacff1d
4
+ data.tar.gz: 23f2ddd80209304d07f1ac77be7e6b928595180b46810eb63b671410f71c0aff
5
5
  SHA512:
6
- metadata.gz: 37047439ccdf6ad49a831eaf8e603d3c09d3978571fd181097291cc63fec99f9ee80db7c389d6f93ff269c87c3d400dde11423bcc5fdb7e137b83aebeb354cc8
7
- data.tar.gz: b287549b86c65dacfa050dda3b5dc8c167890822a76598b2bd9d0506e6404f312b777a7efb4bac8d4baa90df969f646dba7e0ceee3e91f72cc6b20ff0811a32c
6
+ metadata.gz: bc1b4a430433c5d0ad1360b15efb1b6dfe176206296c1a09d82bc3569d5654d1756cc88d1c461ca92dc0e0f06de430f13c86b5354e1db2bbef324395d90f17d5
7
+ data.tar.gz: 6b6d07a261b17e384f4889368cfbcd7bfd5979119dfb8f4cd572140b5326181e79b8433d787b36f38e039299dc243b8b0369eb0752bf18cd15e00ed87ccbcbcd
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release History
2
2
 
3
+ ### 1.9.0 (2025-01-14)
4
+
5
+ #### Features
6
+
7
+ * Added ResourcePolicyMember type ([#344](https://github.com/googleapis/common-protos-ruby/issues/344))
8
+
9
+ ### 1.8.0 (2024-06-11)
10
+
11
+ #### Features
12
+
13
+ * Support for google-protobuf 4.x ([#315](https://github.com/googleapis/common-protos-ruby/issues/315))
14
+
3
15
  ### 1.7.0 (2024-02-23)
4
16
 
5
17
  #### Features
@@ -13,7 +13,7 @@ require 'google/iam/v1/policy_pb'
13
13
  require 'google/protobuf/field_mask_pb'
14
14
 
15
15
 
16
- descriptor_data = "\n\x1egoogle/iam/v1/iam_policy.proto\x12\rgoogle.iam.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1bgoogle/iam/v1/options.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a google/protobuf/field_mask.proto\"\x8f\x01\n\x13SetIamPolicyRequest\x12\x1b\n\x08resource\x18\x01 \x01(\tB\t\xe0\x41\x02\xfa\x41\x03\n\x01*\x12*\n\x06policy\x18\x02 \x01(\x0b\x32\x15.google.iam.v1.PolicyB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"d\n\x13GetIamPolicyRequest\x12\x1b\n\x08resource\x18\x01 \x01(\tB\t\xe0\x41\x02\xfa\x41\x03\n\x01*\x12\x30\n\x07options\x18\x02 \x01(\x0b\x32\x1f.google.iam.v1.GetPolicyOptions\"R\n\x19TestIamPermissionsRequest\x12\x1b\n\x08resource\x18\x01 \x01(\tB\t\xe0\x41\x02\xfa\x41\x03\n\x01*\x12\x18\n\x0bpermissions\x18\x02 \x03(\tB\x03\xe0\x41\x02\"1\n\x1aTestIamPermissionsResponse\x12\x13\n\x0bpermissions\x18\x01 \x03(\t2\xb4\x03\n\tIAMPolicy\x12t\n\x0cSetIamPolicy\x12\".google.iam.v1.SetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\")\x82\xd3\xe4\x93\x02#\"\x1e/v1/{resource=**}:setIamPolicy:\x01*\x12t\n\x0cGetIamPolicy\x12\".google.iam.v1.GetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\")\x82\xd3\xe4\x93\x02#\"\x1e/v1/{resource=**}:getIamPolicy:\x01*\x12\x9a\x01\n\x12TestIamPermissions\x12(.google.iam.v1.TestIamPermissionsRequest\x1a).google.iam.v1.TestIamPermissionsResponse\"/\x82\xd3\xe4\x93\x02)\"$/v1/{resource=**}:testIamPermissions:\x01*\x1a\x1e\xca\x41\x1biam-meta-api.googleapis.comB\x7f\n\x11\x63om.google.iam.v1B\x0eIamPolicyProtoP\x01Z)cloud.google.com/go/iam/apiv1/iampb;iampb\xf8\x01\x01\xaa\x02\x13Google.Cloud.Iam.V1\xca\x02\x13Google\\Cloud\\Iam\\V1b\x06proto3"
16
+ descriptor_data = "\n\x1egoogle/iam/v1/iam_policy.proto\x12\rgoogle.iam.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1bgoogle/iam/v1/options.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a google/protobuf/field_mask.proto\"\x8f\x01\n\x13SetIamPolicyRequest\x12\x1b\n\x08resource\x18\x01 \x01(\tB\t\xe0\x41\x02\xfa\x41\x03\n\x01*\x12*\n\x06policy\x18\x02 \x01(\x0b\x32\x15.google.iam.v1.PolicyB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"d\n\x13GetIamPolicyRequest\x12\x1b\n\x08resource\x18\x01 \x01(\tB\t\xe0\x41\x02\xfa\x41\x03\n\x01*\x12\x30\n\x07options\x18\x02 \x01(\x0b\x32\x1f.google.iam.v1.GetPolicyOptions\"R\n\x19TestIamPermissionsRequest\x12\x1b\n\x08resource\x18\x01 \x01(\tB\t\xe0\x41\x02\xfa\x41\x03\n\x01*\x12\x18\n\x0bpermissions\x18\x02 \x03(\tB\x03\xe0\x41\x02\"1\n\x1aTestIamPermissionsResponse\x12\x13\n\x0bpermissions\x18\x01 \x03(\t2\xb4\x03\n\tIAMPolicy\x12t\n\x0cSetIamPolicy\x12\".google.iam.v1.SetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\")\x82\xd3\xe4\x93\x02#\"\x1e/v1/{resource=**}:setIamPolicy:\x01*\x12t\n\x0cGetIamPolicy\x12\".google.iam.v1.GetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\")\x82\xd3\xe4\x93\x02#\"\x1e/v1/{resource=**}:getIamPolicy:\x01*\x12\x9a\x01\n\x12TestIamPermissions\x12(.google.iam.v1.TestIamPermissionsRequest\x1a).google.iam.v1.TestIamPermissionsResponse\"/\x82\xd3\xe4\x93\x02)\"$/v1/{resource=**}:testIamPermissions:\x01*\x1a\x1e\xca\x41\x1biam-meta-api.googleapis.comB|\n\x11\x63om.google.iam.v1B\x0eIamPolicyProtoP\x01Z)cloud.google.com/go/iam/apiv1/iampb;iampb\xaa\x02\x13Google.Cloud.Iam.V1\xca\x02\x13Google\\Cloud\\Iam\\V1b\x06proto3"
17
17
 
18
18
  pool = Google::Protobuf::DescriptorPool.generated_pool
19
19
 
@@ -55,7 +55,7 @@ end
55
55
 
56
56
  #### Source proto file: google/iam/v1/iam_policy.proto ####
57
57
  #
58
- # // Copyright 2022 Google LLC
58
+ # // Copyright 2024 Google LLC
59
59
  # //
60
60
  # // Licensed under the Apache License, Version 2.0 (the "License");
61
61
  # // you may not use this file except in compliance with the License.
@@ -81,7 +81,6 @@ end
81
81
  # import "google/iam/v1/policy.proto";
82
82
  # import "google/protobuf/field_mask.proto";
83
83
  #
84
- # option cc_enable_arenas = true;
85
84
  # option csharp_namespace = "Google.Cloud.Iam.V1";
86
85
  # option go_package = "cloud.google.com/go/iam/apiv1/iampb;iampb";
87
86
  # option java_multiple_files = true;
@@ -91,7 +90,6 @@ end
91
90
  #
92
91
  # // API Overview
93
92
  # //
94
- # //
95
93
  # // Manages Identity and Access Management (IAM) policies.
96
94
  # //
97
95
  # // Any implementation of an API that offers access control features
@@ -146,7 +144,8 @@ end
146
144
  # // Note: This operation is designed to be used for building permission-aware
147
145
  # // UIs and command-line tools, not for authorization checking. This operation
148
146
  # // may "fail open" without warning.
149
- # rpc TestIamPermissions(TestIamPermissionsRequest) returns (TestIamPermissionsResponse) {
147
+ # rpc TestIamPermissions(TestIamPermissionsRequest)
148
+ # returns (TestIamPermissionsResponse) {
150
149
  # option (google.api.http) = {
151
150
  # post: "/v1/{resource=**}:testIamPermissions"
152
151
  # body: "*"
@@ -160,7 +159,8 @@ end
160
159
  # // See the operation documentation for the appropriate value for this field.
161
160
  # string resource = 1 [
162
161
  # (google.api.field_behavior) = REQUIRED,
163
- # (google.api.resource_reference).type = "*"];
162
+ # (google.api.resource_reference).type = "*"
163
+ # ];
164
164
  #
165
165
  # // REQUIRED: The complete policy to be applied to the `resource`. The size of
166
166
  # // the policy is limited to a few 10s of KB. An empty policy is a
@@ -182,7 +182,8 @@ end
182
182
  # // See the operation documentation for the appropriate value for this field.
183
183
  # string resource = 1 [
184
184
  # (google.api.field_behavior) = REQUIRED,
185
- # (google.api.resource_reference).type = "*"];
185
+ # (google.api.resource_reference).type = "*"
186
+ # ];
186
187
  #
187
188
  # // OPTIONAL: A `GetPolicyOptions` object for specifying options to
188
189
  # // `GetIamPolicy`.
@@ -193,9 +194,10 @@ end
193
194
  # message TestIamPermissionsRequest {
194
195
  # // REQUIRED: The resource for which the policy detail is being requested.
195
196
  # // See the operation documentation for the appropriate value for this field.
196
- # string resource = 1[
197
+ # string resource = 1 [
197
198
  # (google.api.field_behavior) = REQUIRED,
198
- # (google.api.resource_reference).type = "*"];
199
+ # (google.api.resource_reference).type = "*"
200
+ # ];
199
201
  #
200
202
  # // The set of permissions to check for the `resource`. Permissions with
201
203
  # // wildcards (such as '*' or 'storage.*') are not allowed. For more
@@ -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 2022 Google LLC
4
+ # Copyright 2024 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.
@@ -25,7 +25,6 @@ module Google
25
25
  module IAMPolicy
26
26
  # API Overview
27
27
  #
28
- #
29
28
  # Manages Identity and Access Management (IAM) policies.
30
29
  #
31
30
  # Any implementation of an API that offers access control features
@@ -41,7 +41,7 @@ end
41
41
 
42
42
  #### Source proto file: google/iam/v1/options.proto ####
43
43
  #
44
- # // Copyright 2022 Google LLC
44
+ # // Copyright 2024 Google LLC
45
45
  # //
46
46
  # // Licensed under the Apache License, Version 2.0 (the "License");
47
47
  # // you may not use this file except in compliance with the License.
@@ -53,7 +53,7 @@ end
53
53
 
54
54
  #### Source proto file: google/iam/v1/policy.proto ####
55
55
  #
56
- # // Copyright 2023 Google LLC
56
+ # // Copyright 2024 Google LLC
57
57
  # //
58
58
  # // Licensed under the Apache License, Version 2.0 (the "License");
59
59
  # // you may not use this file except in compliance with the License.
@@ -0,0 +1,95 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: google/iam/v1/resource_policy_member.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'google/api/field_behavior_pb'
8
+
9
+
10
+ descriptor_data = "\n*google/iam/v1/resource_policy_member.proto\x12\rgoogle.iam.v1\x1a\x1fgoogle/api/field_behavior.proto\"e\n\x14ResourcePolicyMember\x12&\n\x19iam_policy_name_principal\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12%\n\x18iam_policy_uid_principal\x18\x02 \x01(\tB\x03\xe0\x41\x03\x42\x87\x01\n\x11\x63om.google.iam.v1B\x19ResourcePolicyMemberProtoP\x01Z)cloud.google.com/go/iam/apiv1/iampb;iampb\xaa\x02\x13Google.Cloud.Iam.V1\xca\x02\x13Google\\Cloud\\Iam\\V1b\x06proto3"
11
+
12
+ pool = Google::Protobuf::DescriptorPool.generated_pool
13
+
14
+ begin
15
+ pool.add_serialized_file(descriptor_data)
16
+ rescue TypeError
17
+ # Compatibility code: will be removed in the next major version.
18
+ require 'google/protobuf/descriptor_pb'
19
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
20
+ parsed.clear_dependency
21
+ serialized = parsed.class.encode(parsed)
22
+ file = pool.add_serialized_file(serialized)
23
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
24
+ imports = [
25
+ ]
26
+ imports.each do |type_name, expected_filename|
27
+ import_file = pool.lookup(type_name).file_descriptor
28
+ if import_file.name != expected_filename
29
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
30
+ end
31
+ end
32
+ warn "Each proto file must use a consistent fully-qualified name."
33
+ warn "This will become an error in the next major version."
34
+ end
35
+
36
+ module Google
37
+ module Iam
38
+ module V1
39
+ ResourcePolicyMember = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.iam.v1.ResourcePolicyMember").msgclass
40
+ end
41
+ end
42
+ end
43
+
44
+ #### Source proto file: google/iam/v1/resource_policy_member.proto ####
45
+ #
46
+ # // Copyright 2024 Google LLC
47
+ # //
48
+ # // Licensed under the Apache License, Version 2.0 (the "License");
49
+ # // you may not use this file except in compliance with the License.
50
+ # // You may obtain a copy of the License at
51
+ # //
52
+ # // http://www.apache.org/licenses/LICENSE-2.0
53
+ # //
54
+ # // Unless required by applicable law or agreed to in writing, software
55
+ # // distributed under the License is distributed on an "AS IS" BASIS,
56
+ # // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
57
+ # // See the License for the specific language governing permissions and
58
+ # // limitations under the License.
59
+ #
60
+ # syntax = "proto3";
61
+ #
62
+ # package google.iam.v1;
63
+ #
64
+ # import "google/api/field_behavior.proto";
65
+ #
66
+ # option csharp_namespace = "Google.Cloud.Iam.V1";
67
+ # option go_package = "cloud.google.com/go/iam/apiv1/iampb;iampb";
68
+ # option php_namespace = "Google\\Cloud\\Iam\\V1";
69
+ # option java_multiple_files = true;
70
+ # option java_outer_classname = "ResourcePolicyMemberProto";
71
+ # option java_package = "com.google.iam.v1";
72
+ #
73
+ # // Output-only policy member strings of a Google Cloud resource's built-in
74
+ # // identity.
75
+ # message ResourcePolicyMember {
76
+ # // IAM policy binding member referring to a Google Cloud resource by
77
+ # // user-assigned name (https://google.aip.dev/122). If a resource is deleted
78
+ # // and recreated with the same name, the binding will be applicable to the new
79
+ # // resource.
80
+ # //
81
+ # // Example:
82
+ # // `principal://parametermanager.googleapis.com/projects/12345/name/locations/us-central1-a/parameters/my-parameter`
83
+ # string iam_policy_name_principal = 1
84
+ # [(google.api.field_behavior) = OUTPUT_ONLY];
85
+ #
86
+ # // IAM policy binding member referring to a Google Cloud resource by
87
+ # // system-assigned unique identifier (https://google.aip.dev/148#uid). If a
88
+ # // resource is deleted and recreated with the same name, the binding will not
89
+ # // be applicable to the new resource
90
+ # //
91
+ # // Example:
92
+ # // `principal://parametermanager.googleapis.com/projects/12345/uid/locations/us-central1-a/parameters/a918fed5`
93
+ # string iam_policy_uid_principal = 2
94
+ # [(google.api.field_behavior) = OUTPUT_ONLY];
95
+ # }
@@ -17,7 +17,7 @@
17
17
  module Google
18
18
  module Iam
19
19
  module V1
20
- VERSION = "1.7.0".freeze
20
+ VERSION = "1.9.0".freeze
21
21
  end
22
22
  end
23
23
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: grpc-google-iam-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.0
4
+ version: 1.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-02-23 00:00:00.000000000 Z
10
+ date: 2025-01-14 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: googleapis-common-protos
@@ -28,16 +27,22 @@ dependencies:
28
27
  name: google-protobuf
29
28
  requirement: !ruby/object:Gem::Requirement
30
29
  requirements:
31
- - - "~>"
30
+ - - ">="
32
31
  - !ruby/object:Gem::Version
33
32
  version: '3.18'
33
+ - - "<"
34
+ - !ruby/object:Gem::Version
35
+ version: 5.a
34
36
  type: :runtime
35
37
  prerelease: false
36
38
  version_requirements: !ruby/object:Gem::Requirement
37
39
  requirements:
38
- - - "~>"
40
+ - - ">="
39
41
  - !ruby/object:Gem::Version
40
42
  version: '3.18'
43
+ - - "<"
44
+ - !ruby/object:Gem::Version
45
+ version: 5.a
41
46
  - !ruby/object:Gem::Dependency
42
47
  name: grpc
43
48
  requirement: !ruby/object:Gem::Requirement
@@ -65,12 +70,12 @@ files:
65
70
  - lib/google/iam/v1/iam_policy_services_pb.rb
66
71
  - lib/google/iam/v1/options_pb.rb
67
72
  - lib/google/iam/v1/policy_pb.rb
73
+ - lib/google/iam/v1/resource_policy_member_pb.rb
68
74
  - lib/grpc/google/iam/v1/version.rb
69
75
  homepage: https://github.com/googleapis/common-protos-ruby
70
76
  licenses:
71
77
  - Apache-2.0
72
78
  metadata: {}
73
- post_install_message:
74
79
  rdoc_options: []
75
80
  require_paths:
76
81
  - lib
@@ -85,8 +90,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
85
90
  - !ruby/object:Gem::Version
86
91
  version: '0'
87
92
  requirements: []
88
- rubygems_version: 3.5.6
89
- signing_key:
93
+ rubygems_version: 3.6.2
90
94
  specification_version: 4
91
95
  summary: Common protos and gRPC services for Google IAM
92
96
  test_files: []