google-cloud-policy_simulator-v1 0.4.0 → 1.0.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/lib/google/cloud/policy_simulator/v1/simulator/client.rb +9 -3
- data/lib/google/cloud/policy_simulator/v1/simulator/operations.rb +13 -5
- data/lib/google/cloud/policy_simulator/v1/simulator/rest/client.rb +9 -3
- data/lib/google/cloud/policy_simulator/v1/simulator/rest/operations.rb +11 -4
- data/lib/google/cloud/policy_simulator/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +4 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 87946e6751f0d935618888e567bcd4e66ace99b90bd912ee2e31e2b48c39fcf6
|
|
4
|
+
data.tar.gz: f611dd4ba98ced2e354951663693874ebf194a0f4a0e869b53dc3136c8a3560c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 87e08605e78bbe12065e7cb5368458d318432c7e4def018a2302b371c1113743b6368dc93aee7e28b6ca9c0b00bfcbb190332782cce2e86bf2f90e20ac61503d
|
|
7
|
+
data.tar.gz: 4ce7d506e15918d3123df8bbf965a37405017b91bc356ade3dde3b5c0239a78a8a283da8d589267b071462a4c5c035a9dd86d6cb986a82e7d3b6a09ee7520039
|
|
@@ -41,6 +41,9 @@ module Google
|
|
|
41
41
|
# principals' access might change under the proposed policy.
|
|
42
42
|
#
|
|
43
43
|
class Client
|
|
44
|
+
# @private
|
|
45
|
+
API_VERSION = ""
|
|
46
|
+
|
|
44
47
|
# @private
|
|
45
48
|
DEFAULT_ENDPOINT_TEMPLATE = "policysimulator.$UNIVERSE_DOMAIN$"
|
|
46
49
|
|
|
@@ -261,10 +264,11 @@ module Google
|
|
|
261
264
|
# Customize the options with defaults
|
|
262
265
|
metadata = @config.rpcs.get_replay.metadata.to_h
|
|
263
266
|
|
|
264
|
-
# Set x-goog-api-client
|
|
267
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
265
268
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
266
269
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
267
270
|
gapic_version: ::Google::Cloud::PolicySimulator::V1::VERSION
|
|
271
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
268
272
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
269
273
|
|
|
270
274
|
header_params = {}
|
|
@@ -361,10 +365,11 @@ module Google
|
|
|
361
365
|
# Customize the options with defaults
|
|
362
366
|
metadata = @config.rpcs.create_replay.metadata.to_h
|
|
363
367
|
|
|
364
|
-
# Set x-goog-api-client
|
|
368
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
365
369
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
366
370
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
367
371
|
gapic_version: ::Google::Cloud::PolicySimulator::V1::VERSION
|
|
372
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
368
373
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
369
374
|
|
|
370
375
|
header_params = {}
|
|
@@ -472,10 +477,11 @@ module Google
|
|
|
472
477
|
# Customize the options with defaults
|
|
473
478
|
metadata = @config.rpcs.list_replay_results.metadata.to_h
|
|
474
479
|
|
|
475
|
-
# Set x-goog-api-client
|
|
480
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
476
481
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
477
482
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
478
483
|
gapic_version: ::Google::Cloud::PolicySimulator::V1::VERSION
|
|
484
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
479
485
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
480
486
|
|
|
481
487
|
header_params = {}
|
|
@@ -26,6 +26,9 @@ module Google
|
|
|
26
26
|
module Simulator
|
|
27
27
|
# Service that implements Longrunning Operations API.
|
|
28
28
|
class Operations
|
|
29
|
+
# @private
|
|
30
|
+
API_VERSION = ""
|
|
31
|
+
|
|
29
32
|
# @private
|
|
30
33
|
DEFAULT_ENDPOINT_TEMPLATE = "policysimulator.$UNIVERSE_DOMAIN$"
|
|
31
34
|
|
|
@@ -191,10 +194,11 @@ module Google
|
|
|
191
194
|
# Customize the options with defaults
|
|
192
195
|
metadata = @config.rpcs.list_operations.metadata.to_h
|
|
193
196
|
|
|
194
|
-
# Set x-goog-api-client
|
|
197
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
195
198
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
196
199
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
197
200
|
gapic_version: ::Google::Cloud::PolicySimulator::V1::VERSION
|
|
201
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
198
202
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
199
203
|
|
|
200
204
|
header_params = {}
|
|
@@ -287,10 +291,11 @@ module Google
|
|
|
287
291
|
# Customize the options with defaults
|
|
288
292
|
metadata = @config.rpcs.get_operation.metadata.to_h
|
|
289
293
|
|
|
290
|
-
# Set x-goog-api-client
|
|
294
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
291
295
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
292
296
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
293
297
|
gapic_version: ::Google::Cloud::PolicySimulator::V1::VERSION
|
|
298
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
294
299
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
295
300
|
|
|
296
301
|
header_params = {}
|
|
@@ -376,10 +381,11 @@ module Google
|
|
|
376
381
|
# Customize the options with defaults
|
|
377
382
|
metadata = @config.rpcs.delete_operation.metadata.to_h
|
|
378
383
|
|
|
379
|
-
# Set x-goog-api-client
|
|
384
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
380
385
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
381
386
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
382
387
|
gapic_version: ::Google::Cloud::PolicySimulator::V1::VERSION
|
|
388
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
383
389
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
384
390
|
|
|
385
391
|
header_params = {}
|
|
@@ -470,10 +476,11 @@ module Google
|
|
|
470
476
|
# Customize the options with defaults
|
|
471
477
|
metadata = @config.rpcs.cancel_operation.metadata.to_h
|
|
472
478
|
|
|
473
|
-
# Set x-goog-api-client
|
|
479
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
474
480
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
475
481
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
476
482
|
gapic_version: ::Google::Cloud::PolicySimulator::V1::VERSION
|
|
483
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
477
484
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
478
485
|
|
|
479
486
|
header_params = {}
|
|
@@ -574,10 +581,11 @@ module Google
|
|
|
574
581
|
# Customize the options with defaults
|
|
575
582
|
metadata = @config.rpcs.wait_operation.metadata.to_h
|
|
576
583
|
|
|
577
|
-
# Set x-goog-api-client
|
|
584
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
578
585
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
579
586
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
580
587
|
gapic_version: ::Google::Cloud::PolicySimulator::V1::VERSION
|
|
588
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
581
589
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
582
590
|
|
|
583
591
|
options.apply_defaults timeout: @config.rpcs.wait_operation.timeout,
|
|
@@ -43,6 +43,9 @@ module Google
|
|
|
43
43
|
# principals' access might change under the proposed policy.
|
|
44
44
|
#
|
|
45
45
|
class Client
|
|
46
|
+
# @private
|
|
47
|
+
API_VERSION = ""
|
|
48
|
+
|
|
46
49
|
# @private
|
|
47
50
|
DEFAULT_ENDPOINT_TEMPLATE = "policysimulator.$UNIVERSE_DOMAIN$"
|
|
48
51
|
|
|
@@ -253,12 +256,13 @@ module Google
|
|
|
253
256
|
# Customize the options with defaults
|
|
254
257
|
call_metadata = @config.rpcs.get_replay.metadata.to_h
|
|
255
258
|
|
|
256
|
-
# Set x-goog-api-client
|
|
259
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
257
260
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
258
261
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
259
262
|
gapic_version: ::Google::Cloud::PolicySimulator::V1::VERSION,
|
|
260
263
|
transports_version_send: [:rest]
|
|
261
264
|
|
|
265
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
262
266
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
263
267
|
|
|
264
268
|
options.apply_defaults timeout: @config.rpcs.get_replay.timeout,
|
|
@@ -346,12 +350,13 @@ module Google
|
|
|
346
350
|
# Customize the options with defaults
|
|
347
351
|
call_metadata = @config.rpcs.create_replay.metadata.to_h
|
|
348
352
|
|
|
349
|
-
# Set x-goog-api-client
|
|
353
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
350
354
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
351
355
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
352
356
|
gapic_version: ::Google::Cloud::PolicySimulator::V1::VERSION,
|
|
353
357
|
transports_version_send: [:rest]
|
|
354
358
|
|
|
359
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
355
360
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
356
361
|
|
|
357
362
|
options.apply_defaults timeout: @config.rpcs.create_replay.timeout,
|
|
@@ -450,12 +455,13 @@ module Google
|
|
|
450
455
|
# Customize the options with defaults
|
|
451
456
|
call_metadata = @config.rpcs.list_replay_results.metadata.to_h
|
|
452
457
|
|
|
453
|
-
# Set x-goog-api-client
|
|
458
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
454
459
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
455
460
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
456
461
|
gapic_version: ::Google::Cloud::PolicySimulator::V1::VERSION,
|
|
457
462
|
transports_version_send: [:rest]
|
|
458
463
|
|
|
464
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
459
465
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
460
466
|
|
|
461
467
|
options.apply_defaults timeout: @config.rpcs.list_replay_results.timeout,
|
|
@@ -26,6 +26,9 @@ module Google
|
|
|
26
26
|
module Rest
|
|
27
27
|
# Service that implements Longrunning Operations API.
|
|
28
28
|
class Operations
|
|
29
|
+
# @private
|
|
30
|
+
API_VERSION = ""
|
|
31
|
+
|
|
29
32
|
# @private
|
|
30
33
|
DEFAULT_ENDPOINT_TEMPLATE = "policysimulator.$UNIVERSE_DOMAIN$"
|
|
31
34
|
|
|
@@ -181,12 +184,13 @@ module Google
|
|
|
181
184
|
# Customize the options with defaults
|
|
182
185
|
call_metadata = @config.rpcs.list_operations.metadata.to_h
|
|
183
186
|
|
|
184
|
-
# Set x-goog-api-client
|
|
187
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
185
188
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
186
189
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
187
190
|
gapic_version: ::Google::Cloud::PolicySimulator::V1::VERSION,
|
|
188
191
|
transports_version_send: [:rest]
|
|
189
192
|
|
|
193
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
190
194
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
191
195
|
|
|
192
196
|
options.apply_defaults timeout: @config.rpcs.list_operations.timeout,
|
|
@@ -269,12 +273,13 @@ module Google
|
|
|
269
273
|
# Customize the options with defaults
|
|
270
274
|
call_metadata = @config.rpcs.get_operation.metadata.to_h
|
|
271
275
|
|
|
272
|
-
# Set x-goog-api-client
|
|
276
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
273
277
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
274
278
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
275
279
|
gapic_version: ::Google::Cloud::PolicySimulator::V1::VERSION,
|
|
276
280
|
transports_version_send: [:rest]
|
|
277
281
|
|
|
282
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
278
283
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
279
284
|
|
|
280
285
|
options.apply_defaults timeout: @config.rpcs.get_operation.timeout,
|
|
@@ -351,12 +356,13 @@ module Google
|
|
|
351
356
|
# Customize the options with defaults
|
|
352
357
|
call_metadata = @config.rpcs.delete_operation.metadata.to_h
|
|
353
358
|
|
|
354
|
-
# Set x-goog-api-client
|
|
359
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
355
360
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
356
361
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
357
362
|
gapic_version: ::Google::Cloud::PolicySimulator::V1::VERSION,
|
|
358
363
|
transports_version_send: [:rest]
|
|
359
364
|
|
|
365
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
360
366
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
361
367
|
|
|
362
368
|
options.apply_defaults timeout: @config.rpcs.delete_operation.timeout,
|
|
@@ -438,12 +444,13 @@ module Google
|
|
|
438
444
|
# Customize the options with defaults
|
|
439
445
|
call_metadata = @config.rpcs.cancel_operation.metadata.to_h
|
|
440
446
|
|
|
441
|
-
# Set x-goog-api-client
|
|
447
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
442
448
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
443
449
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
444
450
|
gapic_version: ::Google::Cloud::PolicySimulator::V1::VERSION,
|
|
445
451
|
transports_version_send: [:rest]
|
|
446
452
|
|
|
453
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
447
454
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
448
455
|
|
|
449
456
|
options.apply_defaults timeout: @config.rpcs.cancel_operation.timeout,
|
|
@@ -118,6 +118,10 @@ module Google
|
|
|
118
118
|
# @return [::String]
|
|
119
119
|
# Optional link to proto reference documentation. Example:
|
|
120
120
|
# https://cloud.google.com/pubsub/lite/docs/reference/rpc
|
|
121
|
+
# @!attribute [rw] rest_reference_documentation_uri
|
|
122
|
+
# @return [::String]
|
|
123
|
+
# Optional link to REST reference documentation. Example:
|
|
124
|
+
# https://cloud.google.com/pubsub/lite/docs/reference/rest
|
|
121
125
|
class Publishing
|
|
122
126
|
include ::Google::Protobuf::MessageExts
|
|
123
127
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-policy_simulator-v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 1.0.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: 2024-
|
|
11
|
+
date: 2024-07-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: gapic-common
|