grpc-google-iam-v1 1.8.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: c304ad54d3f913794357032f64c18839c167792875ab120438180ba5f47f2889
4
- data.tar.gz: 7c59eed30280c451bcbceda708267379412cebbe9b7c97bfb57087e75fbe6306
3
+ metadata.gz: c09610e5c44d66fdb12118775460a0cce5212e6b4a90e98a2795d2586bacff1d
4
+ data.tar.gz: 23f2ddd80209304d07f1ac77be7e6b928595180b46810eb63b671410f71c0aff
5
5
  SHA512:
6
- metadata.gz: 876405c0bea477c426cee359bf8e6fcc7f5b98ee3d0a6c58441c5d2ccf031a957fcdea48b3352066e54a37489e798ec46697e94abb3e79735387190b2ce21b78
7
- data.tar.gz: 638381be3af22a130342e29d7d2a8d9bc57281066d3ad370b955206e4a5fe009415e37f4ff550ac7d02bad21672e3bc836c8114b01701f818f1cf363fdc4b044
6
+ metadata.gz: bc1b4a430433c5d0ad1360b15efb1b6dfe176206296c1a09d82bc3569d5654d1756cc88d1c461ca92dc0e0f06de430f13c86b5354e1db2bbef324395d90f17d5
7
+ data.tar.gz: 6b6d07a261b17e384f4889368cfbcd7bfd5979119dfb8f4cd572140b5326181e79b8433d787b36f38e039299dc243b8b0369eb0752bf18cd15e00ed87ccbcbcd
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
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
+
3
9
  ### 1.8.0 (2024-06-11)
4
10
 
5
11
  #### 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
 
@@ -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
@@ -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
@@ -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.8.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.8.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-06-11 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
@@ -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
@@ -91,8 +90,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
91
90
  - !ruby/object:Gem::Version
92
91
  version: '0'
93
92
  requirements: []
94
- rubygems_version: 3.5.6
95
- signing_key:
93
+ rubygems_version: 3.6.2
96
94
  specification_version: 4
97
95
  summary: Common protos and gRPC services for Google IAM
98
96
  test_files: []