grpc-google-iam-v1 1.8.0 → 1.10.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 +4 -4
- data/CHANGELOG.md +12 -0
- data/lib/google/iam/v1/iam_policy_pb.rb +11 -9
- data/lib/google/iam/v1/iam_policy_services_pb.rb +1 -2
- data/lib/google/iam/v1/options_pb.rb +1 -1
- data/lib/google/iam/v1/policy_pb.rb +1 -1
- data/lib/google/iam/v1/resource_policy_member_pb.rb +95 -0
- data/lib/grpc/google/iam/v1/version.rb +1 -1
- metadata +5 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 20a9c363ecadf42b5717b9eeb95fa912f37889064270cfd9d034d24804198349
|
4
|
+
data.tar.gz: 2703d59ff67c70a9cf066de0c31bcf2dbc0ee19d59f0ff3328aac39dcbcf29a9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e3242455d6af87d783b94891aff4b84b31efadf663f9783ce742b61766e468d02b9d8511bda3d04bb9605475a11c3fe887d6abcaa4338a64e80c2ab7c28c3f82
|
7
|
+
data.tar.gz: 5feb422d77a96f5bac79722737932f48d657e6e9b2d4bc26c8698c72785910fd7e91f40bef5d9b4bf929c84c602ae31f917358ef5c8726d8d3994ff7748cb844
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release History
|
2
2
|
|
3
|
+
### 1.10.0 (2025-03-14)
|
4
|
+
|
5
|
+
#### Features
|
6
|
+
|
7
|
+
* Update minimum required Ruby to 3.0 ([#354](https://github.com/googleapis/common-protos-ruby/issues/354))
|
8
|
+
|
9
|
+
### 1.9.0 (2025-01-14)
|
10
|
+
|
11
|
+
#### Features
|
12
|
+
|
13
|
+
* Added ResourcePolicyMember type ([#344](https://github.com/googleapis/common-protos-ruby/issues/344))
|
14
|
+
|
3
15
|
### 1.8.0 (2024-06-11)
|
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
|
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
|
58
|
+
# // Copyright 2025 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)
|
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
|
4
|
+
# Copyright 2025 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
|
44
|
+
# // Copyright 2025 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
|
56
|
+
# // Copyright 2025 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 2025 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
|
+
# }
|
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.
|
4
|
+
version: 1.10.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-03-19 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: googleapis-common-protos
|
@@ -71,12 +70,12 @@ files:
|
|
71
70
|
- lib/google/iam/v1/iam_policy_services_pb.rb
|
72
71
|
- lib/google/iam/v1/options_pb.rb
|
73
72
|
- lib/google/iam/v1/policy_pb.rb
|
73
|
+
- lib/google/iam/v1/resource_policy_member_pb.rb
|
74
74
|
- lib/grpc/google/iam/v1/version.rb
|
75
75
|
homepage: https://github.com/googleapis/common-protos-ruby
|
76
76
|
licenses:
|
77
77
|
- Apache-2.0
|
78
78
|
metadata: {}
|
79
|
-
post_install_message:
|
80
79
|
rdoc_options: []
|
81
80
|
require_paths:
|
82
81
|
- lib
|
@@ -84,15 +83,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
84
83
|
requirements:
|
85
84
|
- - ">="
|
86
85
|
- !ruby/object:Gem::Version
|
87
|
-
version: '
|
86
|
+
version: '3.0'
|
88
87
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
89
88
|
requirements:
|
90
89
|
- - ">="
|
91
90
|
- !ruby/object:Gem::Version
|
92
91
|
version: '0'
|
93
92
|
requirements: []
|
94
|
-
rubygems_version: 3.5
|
95
|
-
signing_key:
|
93
|
+
rubygems_version: 3.6.5
|
96
94
|
specification_version: 4
|
97
95
|
summary: Common protos and gRPC services for Google IAM
|
98
96
|
test_files: []
|