google-iam-v1 0.5.2 → 1.1.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/README.md +5 -5
- data/lib/google/iam/v1/iam_policy/client.rb +50 -13
- data/lib/google/iam/v1/iam_policy/rest/client.rb +90 -11
- data/lib/google/iam/v1/iam_policy/rest/service_stub.rb +23 -2
- data/lib/google/iam/v1/iam_policy/rest.rb +0 -1
- data/lib/google/iam/v1/iam_policy.rb +0 -1
- data/lib/google/iam/v1/iam_policy_pb.rb +2 -2
- data/lib/google/iam/v1/iam_policy_services_pb.rb +0 -1
- data/lib/google/iam/v1/logging/audit_data_pb.rb +1 -1
- 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 +42 -0
- data/lib/google/iam/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +67 -8
- data/proto_docs/google/api/field_behavior.rb +14 -0
- data/proto_docs/google/api/resource.rb +7 -2
- data/proto_docs/google/iam/v1/resource_policy_member.rb +49 -0
- metadata +8 -118
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5691f21b8f59f8e214278a8b4dd03fa0412703fe4b09589a23743abd6e4964ab
|
4
|
+
data.tar.gz: a33921f6372f7447275be16120c3cce1a50e80a8814958e7057baac0e02947ac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1ab192d99f5e3b3d5aaa9bae73c0f6add1a8c6c84fcbcb72162105540f6b4c5d1a2b76b965240623813ec568fd11dc6c2eb384615889f540a08ed404335a41c4
|
7
|
+
data.tar.gz: 7d6c80c950b7b523372becd9cfe921ec29ae777f458c9438fe86df7a6497deeec5c4ab87a8791eab8a328bccd2d6c1ffe060482b60a506718c64012cd2367a7b
|
data/README.md
CHANGED
@@ -5,11 +5,11 @@ policy calls. You generally do not need to invoke this gem directly.
|
|
5
5
|
|
6
6
|
## Supported Ruby Versions
|
7
7
|
|
8
|
-
This library is supported on Ruby 2.
|
8
|
+
This library is supported on Ruby 2.7+.
|
9
9
|
|
10
10
|
Google provides official support for Ruby versions that are actively supported
|
11
11
|
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
|
12
|
-
in security maintenance, and not end of life.
|
13
|
-
|
14
|
-
|
15
|
-
|
12
|
+
in security maintenance, and not end of life. Older versions of Ruby _may_
|
13
|
+
still work, but are unsupported and not recommended. See
|
14
|
+
https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby
|
15
|
+
support schedule.
|
@@ -28,7 +28,6 @@ module Google
|
|
28
28
|
#
|
29
29
|
# API Overview
|
30
30
|
#
|
31
|
-
#
|
32
31
|
# Manages Identity and Access Management (IAM) policies.
|
33
32
|
#
|
34
33
|
# Any implementation of an API that offers access control features
|
@@ -54,6 +53,12 @@ module Google
|
|
54
53
|
# attached.
|
55
54
|
#
|
56
55
|
class Client
|
56
|
+
# @private
|
57
|
+
API_VERSION = ""
|
58
|
+
|
59
|
+
# @private
|
60
|
+
DEFAULT_ENDPOINT_TEMPLATE = "iam-meta-api.$UNIVERSE_DOMAIN$"
|
61
|
+
|
57
62
|
# @private
|
58
63
|
attr_reader :iam_policy_stub
|
59
64
|
|
@@ -112,6 +117,15 @@ module Google
|
|
112
117
|
@config
|
113
118
|
end
|
114
119
|
|
120
|
+
##
|
121
|
+
# The effective universe domain
|
122
|
+
#
|
123
|
+
# @return [String]
|
124
|
+
#
|
125
|
+
def universe_domain
|
126
|
+
@iam_policy_stub.universe_domain
|
127
|
+
end
|
128
|
+
|
115
129
|
##
|
116
130
|
# Create a new IAMPolicy client object.
|
117
131
|
#
|
@@ -145,8 +159,9 @@ module Google
|
|
145
159
|
credentials = @config.credentials
|
146
160
|
# Use self-signed JWT if the endpoint is unchanged from default,
|
147
161
|
# but only if the default endpoint does not have a region prefix.
|
148
|
-
enable_self_signed_jwt = @config.endpoint
|
149
|
-
|
162
|
+
enable_self_signed_jwt = @config.endpoint.nil? ||
|
163
|
+
(@config.endpoint == Configuration::DEFAULT_ENDPOINT &&
|
164
|
+
!@config.endpoint.split(".").first.include?("-"))
|
150
165
|
credentials ||= Credentials.default scope: @config.scope,
|
151
166
|
enable_self_signed_jwt: enable_self_signed_jwt
|
152
167
|
if credentials.is_a?(::String) || credentials.is_a?(::Hash)
|
@@ -157,10 +172,13 @@ module Google
|
|
157
172
|
|
158
173
|
@iam_policy_stub = ::Gapic::ServiceStub.new(
|
159
174
|
::Google::Iam::V1::IAMPolicy::Stub,
|
160
|
-
credentials:
|
161
|
-
endpoint:
|
175
|
+
credentials: credentials,
|
176
|
+
endpoint: @config.endpoint,
|
177
|
+
endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
|
178
|
+
universe_domain: @config.universe_domain,
|
162
179
|
channel_args: @config.channel_args,
|
163
|
-
interceptors: @config.interceptors
|
180
|
+
interceptors: @config.interceptors,
|
181
|
+
channel_pool_config: @config.channel_pool
|
164
182
|
)
|
165
183
|
end
|
166
184
|
|
@@ -236,10 +254,11 @@ module Google
|
|
236
254
|
# Customize the options with defaults
|
237
255
|
metadata = @config.rpcs.set_iam_policy.metadata.to_h
|
238
256
|
|
239
|
-
# Set x-goog-api-client
|
257
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
240
258
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
241
259
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
242
260
|
gapic_version: ::Google::Iam::V1::VERSION
|
261
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
243
262
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
244
263
|
|
245
264
|
header_params = {}
|
@@ -327,10 +346,11 @@ module Google
|
|
327
346
|
# Customize the options with defaults
|
328
347
|
metadata = @config.rpcs.get_iam_policy.metadata.to_h
|
329
348
|
|
330
|
-
# Set x-goog-api-client
|
349
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
331
350
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
332
351
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
333
352
|
gapic_version: ::Google::Iam::V1::VERSION
|
353
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
334
354
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
335
355
|
|
336
356
|
header_params = {}
|
@@ -424,10 +444,11 @@ module Google
|
|
424
444
|
# Customize the options with defaults
|
425
445
|
metadata = @config.rpcs.test_iam_permissions.metadata.to_h
|
426
446
|
|
427
|
-
# Set x-goog-api-client
|
447
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
428
448
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
429
449
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
430
450
|
gapic_version: ::Google::Iam::V1::VERSION
|
451
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
431
452
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
432
453
|
|
433
454
|
header_params = {}
|
@@ -484,9 +505,9 @@ module Google
|
|
484
505
|
# end
|
485
506
|
#
|
486
507
|
# @!attribute [rw] endpoint
|
487
|
-
#
|
488
|
-
#
|
489
|
-
# @return [::String]
|
508
|
+
# A custom service endpoint, as a hostname or hostname:port. The default is
|
509
|
+
# nil, indicating to use the default endpoint in the current universe domain.
|
510
|
+
# @return [::String,nil]
|
490
511
|
# @!attribute [rw] credentials
|
491
512
|
# Credentials to send with calls. You may provide any of the following types:
|
492
513
|
# * (`String`) The path to a service account key file in JSON format
|
@@ -532,13 +553,20 @@ module Google
|
|
532
553
|
# @!attribute [rw] quota_project
|
533
554
|
# A separate project against which to charge quota.
|
534
555
|
# @return [::String]
|
556
|
+
# @!attribute [rw] universe_domain
|
557
|
+
# The universe domain within which to make requests. This determines the
|
558
|
+
# default endpoint URL. The default value of nil uses the environment
|
559
|
+
# universe (usually the default "googleapis.com" universe).
|
560
|
+
# @return [::String,nil]
|
535
561
|
#
|
536
562
|
class Configuration
|
537
563
|
extend ::Gapic::Config
|
538
564
|
|
565
|
+
# @private
|
566
|
+
# The endpoint specific to the default "googleapis.com" universe. Deprecated.
|
539
567
|
DEFAULT_ENDPOINT = "iam-meta-api.googleapis.com"
|
540
568
|
|
541
|
-
config_attr :endpoint,
|
569
|
+
config_attr :endpoint, nil, ::String, nil
|
542
570
|
config_attr :credentials, nil do |value|
|
543
571
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
544
572
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
@@ -553,6 +581,7 @@ module Google
|
|
553
581
|
config_attr :metadata, nil, ::Hash, nil
|
554
582
|
config_attr :retry_policy, nil, ::Hash, ::Proc, nil
|
555
583
|
config_attr :quota_project, nil, ::String, nil
|
584
|
+
config_attr :universe_domain, nil, ::String, nil
|
556
585
|
|
557
586
|
# @private
|
558
587
|
def initialize parent_config = nil
|
@@ -573,6 +602,14 @@ module Google
|
|
573
602
|
end
|
574
603
|
end
|
575
604
|
|
605
|
+
##
|
606
|
+
# Configuration for the channel pool
|
607
|
+
# @return [::Gapic::ServiceStub::ChannelPool::Configuration]
|
608
|
+
#
|
609
|
+
def channel_pool
|
610
|
+
@channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
|
611
|
+
end
|
612
|
+
|
576
613
|
##
|
577
614
|
# Configuration RPC class for the IAMPolicy API.
|
578
615
|
#
|
@@ -30,7 +30,6 @@ module Google
|
|
30
30
|
#
|
31
31
|
# API Overview
|
32
32
|
#
|
33
|
-
#
|
34
33
|
# Manages Identity and Access Management (IAM) policies.
|
35
34
|
#
|
36
35
|
# Any implementation of an API that offers access control features
|
@@ -56,6 +55,12 @@ module Google
|
|
56
55
|
# attached.
|
57
56
|
#
|
58
57
|
class Client
|
58
|
+
# @private
|
59
|
+
API_VERSION = ""
|
60
|
+
|
61
|
+
# @private
|
62
|
+
DEFAULT_ENDPOINT_TEMPLATE = "iam-meta-api.$UNIVERSE_DOMAIN$"
|
63
|
+
|
59
64
|
# @private
|
60
65
|
attr_reader :iam_policy_stub
|
61
66
|
|
@@ -114,6 +119,15 @@ module Google
|
|
114
119
|
@config
|
115
120
|
end
|
116
121
|
|
122
|
+
##
|
123
|
+
# The effective universe domain
|
124
|
+
#
|
125
|
+
# @return [String]
|
126
|
+
#
|
127
|
+
def universe_domain
|
128
|
+
@iam_policy_stub.universe_domain
|
129
|
+
end
|
130
|
+
|
117
131
|
##
|
118
132
|
# Create a new IAMPolicy REST client object.
|
119
133
|
#
|
@@ -141,8 +155,9 @@ module Google
|
|
141
155
|
credentials = @config.credentials
|
142
156
|
# Use self-signed JWT if the endpoint is unchanged from default,
|
143
157
|
# but only if the default endpoint does not have a region prefix.
|
144
|
-
enable_self_signed_jwt = @config.endpoint
|
145
|
-
|
158
|
+
enable_self_signed_jwt = @config.endpoint.nil? ||
|
159
|
+
(@config.endpoint == Configuration::DEFAULT_ENDPOINT &&
|
160
|
+
!@config.endpoint.split(".").first.include?("-"))
|
146
161
|
credentials ||= Credentials.default scope: @config.scope,
|
147
162
|
enable_self_signed_jwt: enable_self_signed_jwt
|
148
163
|
if credentials.is_a?(::String) || credentials.is_a?(::Hash)
|
@@ -152,7 +167,12 @@ module Google
|
|
152
167
|
@quota_project_id = @config.quota_project
|
153
168
|
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
154
169
|
|
155
|
-
@iam_policy_stub = ::Google::Iam::V1::IAMPolicy::Rest::ServiceStub.new
|
170
|
+
@iam_policy_stub = ::Google::Iam::V1::IAMPolicy::Rest::ServiceStub.new(
|
171
|
+
endpoint: @config.endpoint,
|
172
|
+
endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
|
173
|
+
universe_domain: @config.universe_domain,
|
174
|
+
credentials: credentials
|
175
|
+
)
|
156
176
|
end
|
157
177
|
|
158
178
|
# Service calls
|
@@ -199,6 +219,22 @@ module Google
|
|
199
219
|
# @return [::Google::Iam::V1::Policy]
|
200
220
|
#
|
201
221
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
222
|
+
#
|
223
|
+
# @example Basic example
|
224
|
+
# require "google/iam/v1"
|
225
|
+
#
|
226
|
+
# # Create a client object. The client can be reused for multiple calls.
|
227
|
+
# client = Google::Iam::V1::IAMPolicy::Rest::Client.new
|
228
|
+
#
|
229
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
230
|
+
# request = Google::Iam::V1::SetIamPolicyRequest.new
|
231
|
+
#
|
232
|
+
# # Call the set_iam_policy method.
|
233
|
+
# result = client.set_iam_policy request
|
234
|
+
#
|
235
|
+
# # The returned object is of type Google::Iam::V1::Policy.
|
236
|
+
# p result
|
237
|
+
#
|
202
238
|
def set_iam_policy request, options = nil
|
203
239
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
204
240
|
|
@@ -210,12 +246,13 @@ module Google
|
|
210
246
|
# Customize the options with defaults
|
211
247
|
call_metadata = @config.rpcs.set_iam_policy.metadata.to_h
|
212
248
|
|
213
|
-
# Set x-goog-api-client
|
249
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
214
250
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
215
251
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
216
252
|
gapic_version: ::Google::Iam::V1::VERSION,
|
217
253
|
transports_version_send: [:rest]
|
218
254
|
|
255
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
219
256
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
220
257
|
|
221
258
|
options.apply_defaults timeout: @config.rpcs.set_iam_policy.timeout,
|
@@ -269,6 +306,22 @@ module Google
|
|
269
306
|
# @return [::Google::Iam::V1::Policy]
|
270
307
|
#
|
271
308
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
309
|
+
#
|
310
|
+
# @example Basic example
|
311
|
+
# require "google/iam/v1"
|
312
|
+
#
|
313
|
+
# # Create a client object. The client can be reused for multiple calls.
|
314
|
+
# client = Google::Iam::V1::IAMPolicy::Rest::Client.new
|
315
|
+
#
|
316
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
317
|
+
# request = Google::Iam::V1::GetIamPolicyRequest.new
|
318
|
+
#
|
319
|
+
# # Call the get_iam_policy method.
|
320
|
+
# result = client.get_iam_policy request
|
321
|
+
#
|
322
|
+
# # The returned object is of type Google::Iam::V1::Policy.
|
323
|
+
# p result
|
324
|
+
#
|
272
325
|
def get_iam_policy request, options = nil
|
273
326
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
274
327
|
|
@@ -280,12 +333,13 @@ module Google
|
|
280
333
|
# Customize the options with defaults
|
281
334
|
call_metadata = @config.rpcs.get_iam_policy.metadata.to_h
|
282
335
|
|
283
|
-
# Set x-goog-api-client
|
336
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
284
337
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
285
338
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
286
339
|
gapic_version: ::Google::Iam::V1::VERSION,
|
287
340
|
transports_version_send: [:rest]
|
288
341
|
|
342
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
289
343
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
290
344
|
|
291
345
|
options.apply_defaults timeout: @config.rpcs.get_iam_policy.timeout,
|
@@ -345,6 +399,22 @@ module Google
|
|
345
399
|
# @return [::Google::Iam::V1::TestIamPermissionsResponse]
|
346
400
|
#
|
347
401
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
402
|
+
#
|
403
|
+
# @example Basic example
|
404
|
+
# require "google/iam/v1"
|
405
|
+
#
|
406
|
+
# # Create a client object. The client can be reused for multiple calls.
|
407
|
+
# client = Google::Iam::V1::IAMPolicy::Rest::Client.new
|
408
|
+
#
|
409
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
410
|
+
# request = Google::Iam::V1::TestIamPermissionsRequest.new
|
411
|
+
#
|
412
|
+
# # Call the test_iam_permissions method.
|
413
|
+
# result = client.test_iam_permissions request
|
414
|
+
#
|
415
|
+
# # The returned object is of type Google::Iam::V1::TestIamPermissionsResponse.
|
416
|
+
# p result
|
417
|
+
#
|
348
418
|
def test_iam_permissions request, options = nil
|
349
419
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
350
420
|
|
@@ -356,12 +426,13 @@ module Google
|
|
356
426
|
# Customize the options with defaults
|
357
427
|
call_metadata = @config.rpcs.test_iam_permissions.metadata.to_h
|
358
428
|
|
359
|
-
# Set x-goog-api-client
|
429
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
360
430
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
361
431
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
362
432
|
gapic_version: ::Google::Iam::V1::VERSION,
|
363
433
|
transports_version_send: [:rest]
|
364
434
|
|
435
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
365
436
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
366
437
|
|
367
438
|
options.apply_defaults timeout: @config.rpcs.test_iam_permissions.timeout,
|
@@ -412,9 +483,9 @@ module Google
|
|
412
483
|
# end
|
413
484
|
#
|
414
485
|
# @!attribute [rw] endpoint
|
415
|
-
#
|
416
|
-
#
|
417
|
-
# @return [::String]
|
486
|
+
# A custom service endpoint, as a hostname or hostname:port. The default is
|
487
|
+
# nil, indicating to use the default endpoint in the current universe domain.
|
488
|
+
# @return [::String,nil]
|
418
489
|
# @!attribute [rw] credentials
|
419
490
|
# Credentials to send with calls. You may provide any of the following types:
|
420
491
|
# * (`String`) The path to a service account key file in JSON format
|
@@ -451,13 +522,20 @@ module Google
|
|
451
522
|
# @!attribute [rw] quota_project
|
452
523
|
# A separate project against which to charge quota.
|
453
524
|
# @return [::String]
|
525
|
+
# @!attribute [rw] universe_domain
|
526
|
+
# The universe domain within which to make requests. This determines the
|
527
|
+
# default endpoint URL. The default value of nil uses the environment
|
528
|
+
# universe (usually the default "googleapis.com" universe).
|
529
|
+
# @return [::String,nil]
|
454
530
|
#
|
455
531
|
class Configuration
|
456
532
|
extend ::Gapic::Config
|
457
533
|
|
534
|
+
# @private
|
535
|
+
# The endpoint specific to the default "googleapis.com" universe. Deprecated.
|
458
536
|
DEFAULT_ENDPOINT = "iam-meta-api.googleapis.com"
|
459
537
|
|
460
|
-
config_attr :endpoint,
|
538
|
+
config_attr :endpoint, nil, ::String, nil
|
461
539
|
config_attr :credentials, nil do |value|
|
462
540
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
463
541
|
allowed.any? { |klass| klass === value }
|
@@ -469,6 +547,7 @@ module Google
|
|
469
547
|
config_attr :metadata, nil, ::Hash, nil
|
470
548
|
config_attr :retry_policy, nil, ::Hash, ::Proc, nil
|
471
549
|
config_attr :quota_project, nil, ::String, nil
|
550
|
+
config_attr :universe_domain, nil, ::String, nil
|
472
551
|
|
473
552
|
# @private
|
474
553
|
# Overrides for http bindings for the RPCs of this service
|
@@ -29,16 +29,37 @@ module Google
|
|
29
29
|
# including transcoding, making the REST call, and deserialing the response.
|
30
30
|
#
|
31
31
|
class ServiceStub
|
32
|
-
def initialize endpoint:, credentials:
|
32
|
+
def initialize endpoint:, endpoint_template:, universe_domain:, credentials:
|
33
33
|
# These require statements are intentionally placed here to initialize
|
34
34
|
# the REST modules only when it's required.
|
35
35
|
require "gapic/rest"
|
36
36
|
|
37
|
-
@client_stub = ::Gapic::Rest::ClientStub.new endpoint: endpoint,
|
37
|
+
@client_stub = ::Gapic::Rest::ClientStub.new endpoint: endpoint,
|
38
|
+
endpoint_template: endpoint_template,
|
39
|
+
universe_domain: universe_domain,
|
40
|
+
credentials: credentials,
|
38
41
|
numeric_enums: false,
|
39
42
|
raise_faraday_errors: false
|
40
43
|
end
|
41
44
|
|
45
|
+
##
|
46
|
+
# The effective universe domain
|
47
|
+
#
|
48
|
+
# @return [String]
|
49
|
+
#
|
50
|
+
def universe_domain
|
51
|
+
@client_stub.universe_domain
|
52
|
+
end
|
53
|
+
|
54
|
+
##
|
55
|
+
# The effective endpoint
|
56
|
+
#
|
57
|
+
# @return [String]
|
58
|
+
#
|
59
|
+
def endpoint
|
60
|
+
@client_stub.endpoint
|
61
|
+
end
|
62
|
+
|
42
63
|
##
|
43
64
|
# Baseline implementation for the set_iam_policy REST call
|
44
65
|
#
|
@@ -13,13 +13,13 @@ 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
|
|
20
20
|
begin
|
21
21
|
pool.add_serialized_file(descriptor_data)
|
22
|
-
rescue TypeError
|
22
|
+
rescue TypeError
|
23
23
|
# Compatibility code: will be removed in the next major version.
|
24
24
|
require 'google/protobuf/descriptor_pb'
|
25
25
|
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
@@ -13,7 +13,7 @@ pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
13
13
|
|
14
14
|
begin
|
15
15
|
pool.add_serialized_file(descriptor_data)
|
16
|
-
rescue TypeError
|
16
|
+
rescue TypeError
|
17
17
|
# Compatibility code: will be removed in the next major version.
|
18
18
|
require 'google/protobuf/descriptor_pb'
|
19
19
|
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
@@ -11,7 +11,7 @@ pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
11
11
|
|
12
12
|
begin
|
13
13
|
pool.add_serialized_file(descriptor_data)
|
14
|
-
rescue TypeError
|
14
|
+
rescue TypeError
|
15
15
|
# Compatibility code: will be removed in the next major version.
|
16
16
|
require 'google/protobuf/descriptor_pb'
|
17
17
|
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
@@ -13,7 +13,7 @@ pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
13
13
|
|
14
14
|
begin
|
15
15
|
pool.add_serialized_file(descriptor_data)
|
16
|
-
rescue TypeError
|
16
|
+
rescue TypeError
|
17
17
|
# Compatibility code: will be removed in the next major version.
|
18
18
|
require 'google/protobuf/descriptor_pb'
|
19
19
|
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
@@ -0,0 +1,42 @@
|
|
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
|
@@ -21,12 +21,16 @@ module Google
|
|
21
21
|
module Api
|
22
22
|
# Required information for every language.
|
23
23
|
# @!attribute [rw] reference_docs_uri
|
24
|
+
# @deprecated This field is deprecated and may be removed in the next major version update.
|
24
25
|
# @return [::String]
|
25
26
|
# Link to automatically generated reference documentation. Example:
|
26
27
|
# https://cloud.google.com/nodejs/docs/reference/asset/latest
|
27
28
|
# @!attribute [rw] destinations
|
28
29
|
# @return [::Array<::Google::Api::ClientLibraryDestination>]
|
29
30
|
# The destination where API teams want this client library to be published.
|
31
|
+
# @!attribute [rw] selective_gapic_generation
|
32
|
+
# @return [::Google::Api::SelectiveGapicGeneration]
|
33
|
+
# Configuration for which RPCs should be generated in the GAPIC client.
|
30
34
|
class CommonLanguageSettings
|
31
35
|
include ::Google::Protobuf::MessageExts
|
32
36
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -117,6 +121,10 @@ module Google
|
|
117
121
|
# @return [::String]
|
118
122
|
# Optional link to proto reference documentation. Example:
|
119
123
|
# https://cloud.google.com/pubsub/lite/docs/reference/rpc
|
124
|
+
# @!attribute [rw] rest_reference_documentation_uri
|
125
|
+
# @return [::String]
|
126
|
+
# Optional link to REST reference documentation. Example:
|
127
|
+
# https://cloud.google.com/pubsub/lite/docs/reference/rest
|
120
128
|
class Publishing
|
121
129
|
include ::Google::Protobuf::MessageExts
|
122
130
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -191,9 +199,32 @@ module Google
|
|
191
199
|
# @!attribute [rw] common
|
192
200
|
# @return [::Google::Api::CommonLanguageSettings]
|
193
201
|
# Some settings.
|
202
|
+
# @!attribute [rw] experimental_features
|
203
|
+
# @return [::Google::Api::PythonSettings::ExperimentalFeatures]
|
204
|
+
# Experimental features to be included during client library generation.
|
194
205
|
class PythonSettings
|
195
206
|
include ::Google::Protobuf::MessageExts
|
196
207
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
208
|
+
|
209
|
+
# Experimental features to be included during client library generation.
|
210
|
+
# These fields will be deprecated once the feature graduates and is enabled
|
211
|
+
# by default.
|
212
|
+
# @!attribute [rw] rest_async_io_enabled
|
213
|
+
# @return [::Boolean]
|
214
|
+
# Enables generation of asynchronous REST clients if `rest` transport is
|
215
|
+
# enabled. By default, asynchronous REST clients will not be generated.
|
216
|
+
# This feature will be enabled by default 1 month after launching the
|
217
|
+
# feature in preview packages.
|
218
|
+
# @!attribute [rw] protobuf_pythonic_types_enabled
|
219
|
+
# @return [::Boolean]
|
220
|
+
# Enables generation of protobuf code using new types that are more
|
221
|
+
# Pythonic which are included in `protobuf>=5.29.x`. This feature will be
|
222
|
+
# enabled by default 1 month after launching the feature in preview
|
223
|
+
# packages.
|
224
|
+
class ExperimentalFeatures
|
225
|
+
include ::Google::Protobuf::MessageExts
|
226
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
227
|
+
end
|
197
228
|
end
|
198
229
|
|
199
230
|
# Settings for Node client libraries.
|
@@ -285,6 +316,13 @@ module Google
|
|
285
316
|
# @return [::String]
|
286
317
|
# The fully qualified name of the method, for which the options below apply.
|
287
318
|
# This is used to find the method to apply the options.
|
319
|
+
#
|
320
|
+
# Example:
|
321
|
+
#
|
322
|
+
# publishing:
|
323
|
+
# method_settings:
|
324
|
+
# - selector: google.storage.control.v2.StorageControl.CreateFolder
|
325
|
+
# # method settings for CreateFolder...
|
288
326
|
# @!attribute [rw] long_running
|
289
327
|
# @return [::Google::Api::MethodSettings::LongRunning]
|
290
328
|
# Describes settings to use for long-running operations when generating
|
@@ -293,17 +331,27 @@ module Google
|
|
293
331
|
#
|
294
332
|
# Example of a YAML configuration::
|
295
333
|
#
|
296
|
-
#
|
297
|
-
#
|
334
|
+
# publishing:
|
335
|
+
# method_settings:
|
298
336
|
# - selector: google.cloud.speech.v2.Speech.BatchRecognize
|
299
337
|
# long_running:
|
300
|
-
# initial_poll_delay:
|
301
|
-
# seconds: 60 # 1 minute
|
338
|
+
# initial_poll_delay: 60s # 1 minute
|
302
339
|
# poll_delay_multiplier: 1.5
|
303
|
-
# max_poll_delay:
|
304
|
-
#
|
305
|
-
#
|
306
|
-
#
|
340
|
+
# max_poll_delay: 360s # 6 minutes
|
341
|
+
# total_poll_timeout: 54000s # 90 minutes
|
342
|
+
# @!attribute [rw] auto_populated_fields
|
343
|
+
# @return [::Array<::String>]
|
344
|
+
# List of top-level fields of the request message, that should be
|
345
|
+
# automatically populated by the client libraries based on their
|
346
|
+
# (google.api.field_info).format. Currently supported format: UUID4.
|
347
|
+
#
|
348
|
+
# Example of a YAML configuration:
|
349
|
+
#
|
350
|
+
# publishing:
|
351
|
+
# method_settings:
|
352
|
+
# - selector: google.example.v1.ExampleService.CreateExample
|
353
|
+
# auto_populated_fields:
|
354
|
+
# - request_id
|
307
355
|
class MethodSettings
|
308
356
|
include ::Google::Protobuf::MessageExts
|
309
357
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -336,6 +384,17 @@ module Google
|
|
336
384
|
end
|
337
385
|
end
|
338
386
|
|
387
|
+
# This message is used to configure the generation of a subset of the RPCs in
|
388
|
+
# a service for client libraries.
|
389
|
+
# @!attribute [rw] methods
|
390
|
+
# @return [::Array<::String>]
|
391
|
+
# An allowlist of the fully qualified names of RPCs that should be included
|
392
|
+
# on public client surfaces.
|
393
|
+
class SelectiveGapicGeneration
|
394
|
+
include ::Google::Protobuf::MessageExts
|
395
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
396
|
+
end
|
397
|
+
|
339
398
|
# The organization for which the client libraries are being published.
|
340
399
|
# Affects the url where generated docs are published, etc.
|
341
400
|
module ClientLibraryOrganization
|
@@ -66,6 +66,20 @@ module Google
|
|
66
66
|
# a non-empty value will be returned. The user will not be aware of what
|
67
67
|
# non-empty value to expect.
|
68
68
|
NON_EMPTY_DEFAULT = 7
|
69
|
+
|
70
|
+
# Denotes that the field in a resource (a message annotated with
|
71
|
+
# google.api.resource) is used in the resource name to uniquely identify the
|
72
|
+
# resource. For AIP-compliant APIs, this should only be applied to the
|
73
|
+
# `name` field on the resource.
|
74
|
+
#
|
75
|
+
# This behavior should not be applied to references to other resources within
|
76
|
+
# the message.
|
77
|
+
#
|
78
|
+
# The identifier field of resources often have different field behavior
|
79
|
+
# depending on the request it is embedded in (e.g. for Create methods name
|
80
|
+
# is optional and unused, while for Update methods it is required). Instead
|
81
|
+
# of method-specific annotations, only `IDENTIFIER` is required.
|
82
|
+
IDENTIFIER = 8
|
69
83
|
end
|
70
84
|
end
|
71
85
|
end
|
@@ -124,8 +124,13 @@ module Google
|
|
124
124
|
# @return [::String]
|
125
125
|
# The plural name used in the resource name and permission names, such as
|
126
126
|
# 'projects' for the resource name of 'projects/\\{project}' and the permission
|
127
|
-
# name of 'cloudresourcemanager.googleapis.com/projects.get'.
|
128
|
-
#
|
127
|
+
# name of 'cloudresourcemanager.googleapis.com/projects.get'. One exception
|
128
|
+
# to this is for Nested Collections that have stuttering names, as defined
|
129
|
+
# in [AIP-122](https://google.aip.dev/122#nested-collections), where the
|
130
|
+
# collection ID in the resource name pattern does not necessarily directly
|
131
|
+
# match the `plural` value.
|
132
|
+
#
|
133
|
+
# It is the same concept of the `plural` field in k8s CRD spec
|
129
134
|
# https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
|
130
135
|
#
|
131
136
|
# Note: The plural form is required even for singleton resources. See
|
@@ -0,0 +1,49 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2024 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Iam
|
22
|
+
module V1
|
23
|
+
# Output-only policy member strings of a Google Cloud resource's built-in
|
24
|
+
# identity.
|
25
|
+
# @!attribute [r] iam_policy_name_principal
|
26
|
+
# @return [::String]
|
27
|
+
# IAM policy binding member referring to a Google Cloud resource by
|
28
|
+
# user-assigned name (https://google.aip.dev/122). If a resource is deleted
|
29
|
+
# and recreated with the same name, the binding will be applicable to the new
|
30
|
+
# resource.
|
31
|
+
#
|
32
|
+
# Example:
|
33
|
+
# `principal://parametermanager.googleapis.com/projects/12345/name/locations/us-central1-a/parameters/my-parameter`
|
34
|
+
# @!attribute [r] iam_policy_uid_principal
|
35
|
+
# @return [::String]
|
36
|
+
# IAM policy binding member referring to a Google Cloud resource by
|
37
|
+
# system-assigned unique identifier (https://google.aip.dev/148#uid). If a
|
38
|
+
# resource is deleted and recreated with the same name, the binding will not
|
39
|
+
# be applicable to the new resource
|
40
|
+
#
|
41
|
+
# Example:
|
42
|
+
# `principal://parametermanager.googleapis.com/projects/12345/uid/locations/us-central1-a/parameters/a918fed5`
|
43
|
+
class ResourcePolicyMember
|
44
|
+
include ::Google::Protobuf::MessageExts
|
45
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-iam-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
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:
|
11
|
+
date: 2024-12-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.21.1
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.21.1
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -58,118 +58,6 @@ dependencies:
|
|
58
58
|
- - "~>"
|
59
59
|
- !ruby/object:Gem::Version
|
60
60
|
version: '1.1'
|
61
|
-
- !ruby/object:Gem::Dependency
|
62
|
-
name: google-style
|
63
|
-
requirement: !ruby/object:Gem::Requirement
|
64
|
-
requirements:
|
65
|
-
- - "~>"
|
66
|
-
- !ruby/object:Gem::Version
|
67
|
-
version: 1.26.3
|
68
|
-
type: :development
|
69
|
-
prerelease: false
|
70
|
-
version_requirements: !ruby/object:Gem::Requirement
|
71
|
-
requirements:
|
72
|
-
- - "~>"
|
73
|
-
- !ruby/object:Gem::Version
|
74
|
-
version: 1.26.3
|
75
|
-
- !ruby/object:Gem::Dependency
|
76
|
-
name: minitest
|
77
|
-
requirement: !ruby/object:Gem::Requirement
|
78
|
-
requirements:
|
79
|
-
- - "~>"
|
80
|
-
- !ruby/object:Gem::Version
|
81
|
-
version: '5.16'
|
82
|
-
type: :development
|
83
|
-
prerelease: false
|
84
|
-
version_requirements: !ruby/object:Gem::Requirement
|
85
|
-
requirements:
|
86
|
-
- - "~>"
|
87
|
-
- !ruby/object:Gem::Version
|
88
|
-
version: '5.16'
|
89
|
-
- !ruby/object:Gem::Dependency
|
90
|
-
name: minitest-focus
|
91
|
-
requirement: !ruby/object:Gem::Requirement
|
92
|
-
requirements:
|
93
|
-
- - "~>"
|
94
|
-
- !ruby/object:Gem::Version
|
95
|
-
version: '1.1'
|
96
|
-
type: :development
|
97
|
-
prerelease: false
|
98
|
-
version_requirements: !ruby/object:Gem::Requirement
|
99
|
-
requirements:
|
100
|
-
- - "~>"
|
101
|
-
- !ruby/object:Gem::Version
|
102
|
-
version: '1.1'
|
103
|
-
- !ruby/object:Gem::Dependency
|
104
|
-
name: minitest-rg
|
105
|
-
requirement: !ruby/object:Gem::Requirement
|
106
|
-
requirements:
|
107
|
-
- - "~>"
|
108
|
-
- !ruby/object:Gem::Version
|
109
|
-
version: '5.2'
|
110
|
-
type: :development
|
111
|
-
prerelease: false
|
112
|
-
version_requirements: !ruby/object:Gem::Requirement
|
113
|
-
requirements:
|
114
|
-
- - "~>"
|
115
|
-
- !ruby/object:Gem::Version
|
116
|
-
version: '5.2'
|
117
|
-
- !ruby/object:Gem::Dependency
|
118
|
-
name: rake
|
119
|
-
requirement: !ruby/object:Gem::Requirement
|
120
|
-
requirements:
|
121
|
-
- - ">="
|
122
|
-
- !ruby/object:Gem::Version
|
123
|
-
version: '13.0'
|
124
|
-
type: :development
|
125
|
-
prerelease: false
|
126
|
-
version_requirements: !ruby/object:Gem::Requirement
|
127
|
-
requirements:
|
128
|
-
- - ">="
|
129
|
-
- !ruby/object:Gem::Version
|
130
|
-
version: '13.0'
|
131
|
-
- !ruby/object:Gem::Dependency
|
132
|
-
name: redcarpet
|
133
|
-
requirement: !ruby/object:Gem::Requirement
|
134
|
-
requirements:
|
135
|
-
- - "~>"
|
136
|
-
- !ruby/object:Gem::Version
|
137
|
-
version: '3.0'
|
138
|
-
type: :development
|
139
|
-
prerelease: false
|
140
|
-
version_requirements: !ruby/object:Gem::Requirement
|
141
|
-
requirements:
|
142
|
-
- - "~>"
|
143
|
-
- !ruby/object:Gem::Version
|
144
|
-
version: '3.0'
|
145
|
-
- !ruby/object:Gem::Dependency
|
146
|
-
name: simplecov
|
147
|
-
requirement: !ruby/object:Gem::Requirement
|
148
|
-
requirements:
|
149
|
-
- - "~>"
|
150
|
-
- !ruby/object:Gem::Version
|
151
|
-
version: '0.18'
|
152
|
-
type: :development
|
153
|
-
prerelease: false
|
154
|
-
version_requirements: !ruby/object:Gem::Requirement
|
155
|
-
requirements:
|
156
|
-
- - "~>"
|
157
|
-
- !ruby/object:Gem::Version
|
158
|
-
version: '0.18'
|
159
|
-
- !ruby/object:Gem::Dependency
|
160
|
-
name: yard
|
161
|
-
requirement: !ruby/object:Gem::Requirement
|
162
|
-
requirements:
|
163
|
-
- - "~>"
|
164
|
-
- !ruby/object:Gem::Version
|
165
|
-
version: '0.9'
|
166
|
-
type: :development
|
167
|
-
prerelease: false
|
168
|
-
version_requirements: !ruby/object:Gem::Requirement
|
169
|
-
requirements:
|
170
|
-
- - "~>"
|
171
|
-
- !ruby/object:Gem::Version
|
172
|
-
version: '0.9'
|
173
61
|
description: An add-on interface used by some Google API clients to provide IAM Policy
|
174
62
|
calls. Note that google-iam-v1 is a version-specific client library. For most uses,
|
175
63
|
we recommend installing the main client library google-iam instead. See the readme
|
@@ -195,6 +83,7 @@ files:
|
|
195
83
|
- lib/google/iam/v1/logging/audit_data_pb.rb
|
196
84
|
- lib/google/iam/v1/options_pb.rb
|
197
85
|
- lib/google/iam/v1/policy_pb.rb
|
86
|
+
- lib/google/iam/v1/resource_policy_member_pb.rb
|
198
87
|
- lib/google/iam/v1/rest.rb
|
199
88
|
- lib/google/iam/v1/version.rb
|
200
89
|
- proto_docs/README.md
|
@@ -205,6 +94,7 @@ files:
|
|
205
94
|
- proto_docs/google/iam/v1/iam_policy.rb
|
206
95
|
- proto_docs/google/iam/v1/options.rb
|
207
96
|
- proto_docs/google/iam/v1/policy.rb
|
97
|
+
- proto_docs/google/iam/v1/resource_policy_member.rb
|
208
98
|
- proto_docs/google/protobuf/duration.rb
|
209
99
|
- proto_docs/google/protobuf/field_mask.rb
|
210
100
|
- proto_docs/google/type/expr.rb
|
@@ -220,14 +110,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
220
110
|
requirements:
|
221
111
|
- - ">="
|
222
112
|
- !ruby/object:Gem::Version
|
223
|
-
version: '2.
|
113
|
+
version: '2.7'
|
224
114
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
225
115
|
requirements:
|
226
116
|
- - ">="
|
227
117
|
- !ruby/object:Gem::Version
|
228
118
|
version: '0'
|
229
119
|
requirements: []
|
230
|
-
rubygems_version: 3.
|
120
|
+
rubygems_version: 3.5.22
|
231
121
|
signing_key:
|
232
122
|
specification_version: 4
|
233
123
|
summary: Manages access control for Google Cloud Platform resources.
|