google-cloud-ids-v1 0.7.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/ids/v1/ids/client.rb +11 -4
- data/lib/google/cloud/ids/v1/ids/operations.rb +13 -5
- data/lib/google/cloud/ids/v1/ids/rest/client.rb +11 -4
- data/lib/google/cloud/ids/v1/ids/rest/operations.rb +11 -4
- data/lib/google/cloud/ids/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: a7cefe274ad56912af5e3a7a05d148f1d3c89fa558b558edd1338b5a296323ec
|
4
|
+
data.tar.gz: 8133e694d98c0120512b79909a5b7a47dfb4d4b0038c74b86bb6fc50bc0731d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5c35b9ab4057f59646ca56e0d9b353f9dc7d87502ac4e0f2efd9ede4f469cde6b6194775a06bd80895bdfdbf6153aa4c3549923c070e3e6f48e430b4714cf3ab
|
7
|
+
data.tar.gz: 7dab2d2d764bd5ee9f93dbf9f4584415230c8fea72d7aa7cb645273b5cd0719af6a02a6cfa2a0c6557e41dd77e8e8db654bc161036c07f193a5c72ca6e1aff62
|
@@ -30,6 +30,9 @@ module Google
|
|
30
30
|
# The IDS Service
|
31
31
|
#
|
32
32
|
class Client
|
33
|
+
# @private
|
34
|
+
API_VERSION = ""
|
35
|
+
|
33
36
|
# @private
|
34
37
|
DEFAULT_ENDPOINT_TEMPLATE = "ids.$UNIVERSE_DOMAIN$"
|
35
38
|
|
@@ -262,10 +265,11 @@ module Google
|
|
262
265
|
# Customize the options with defaults
|
263
266
|
metadata = @config.rpcs.list_endpoints.metadata.to_h
|
264
267
|
|
265
|
-
# Set x-goog-api-client
|
268
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
266
269
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
267
270
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
268
271
|
gapic_version: ::Google::Cloud::IDS::V1::VERSION
|
272
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
269
273
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
270
274
|
|
271
275
|
header_params = {}
|
@@ -349,10 +353,11 @@ module Google
|
|
349
353
|
# Customize the options with defaults
|
350
354
|
metadata = @config.rpcs.get_endpoint.metadata.to_h
|
351
355
|
|
352
|
-
# Set x-goog-api-client
|
356
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
353
357
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
354
358
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
355
359
|
gapic_version: ::Google::Cloud::IDS::V1::VERSION
|
360
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
356
361
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
357
362
|
|
358
363
|
header_params = {}
|
@@ -464,10 +469,11 @@ module Google
|
|
464
469
|
# Customize the options with defaults
|
465
470
|
metadata = @config.rpcs.create_endpoint.metadata.to_h
|
466
471
|
|
467
|
-
# Set x-goog-api-client
|
472
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
468
473
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
469
474
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
470
475
|
gapic_version: ::Google::Cloud::IDS::V1::VERSION
|
476
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
471
477
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
472
478
|
|
473
479
|
header_params = {}
|
@@ -571,10 +577,11 @@ module Google
|
|
571
577
|
# Customize the options with defaults
|
572
578
|
metadata = @config.rpcs.delete_endpoint.metadata.to_h
|
573
579
|
|
574
|
-
# Set x-goog-api-client
|
580
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
575
581
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
576
582
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
577
583
|
gapic_version: ::Google::Cloud::IDS::V1::VERSION
|
584
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
578
585
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
579
586
|
|
580
587
|
header_params = {}
|
@@ -26,6 +26,9 @@ module Google
|
|
26
26
|
module IDS
|
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 = "ids.$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::IDS::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::IDS::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::IDS::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::IDS::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::IDS::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,
|
@@ -32,6 +32,9 @@ module Google
|
|
32
32
|
# The IDS Service
|
33
33
|
#
|
34
34
|
class Client
|
35
|
+
# @private
|
36
|
+
API_VERSION = ""
|
37
|
+
|
35
38
|
# @private
|
36
39
|
DEFAULT_ENDPOINT_TEMPLATE = "ids.$UNIVERSE_DOMAIN$"
|
37
40
|
|
@@ -254,12 +257,13 @@ module Google
|
|
254
257
|
# Customize the options with defaults
|
255
258
|
call_metadata = @config.rpcs.list_endpoints.metadata.to_h
|
256
259
|
|
257
|
-
# Set x-goog-api-client
|
260
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
258
261
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
259
262
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
260
263
|
gapic_version: ::Google::Cloud::IDS::V1::VERSION,
|
261
264
|
transports_version_send: [:rest]
|
262
265
|
|
266
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
263
267
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
264
268
|
|
265
269
|
options.apply_defaults timeout: @config.rpcs.list_endpoints.timeout,
|
@@ -333,12 +337,13 @@ module Google
|
|
333
337
|
# Customize the options with defaults
|
334
338
|
call_metadata = @config.rpcs.get_endpoint.metadata.to_h
|
335
339
|
|
336
|
-
# Set x-goog-api-client
|
340
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
337
341
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
338
342
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
339
343
|
gapic_version: ::Google::Cloud::IDS::V1::VERSION,
|
340
344
|
transports_version_send: [:rest]
|
341
345
|
|
346
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
342
347
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
343
348
|
|
344
349
|
options.apply_defaults timeout: @config.rpcs.get_endpoint.timeout,
|
@@ -441,12 +446,13 @@ module Google
|
|
441
446
|
# Customize the options with defaults
|
442
447
|
call_metadata = @config.rpcs.create_endpoint.metadata.to_h
|
443
448
|
|
444
|
-
# Set x-goog-api-client
|
449
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
445
450
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
446
451
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
447
452
|
gapic_version: ::Google::Cloud::IDS::V1::VERSION,
|
448
453
|
transports_version_send: [:rest]
|
449
454
|
|
455
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
450
456
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
451
457
|
|
452
458
|
options.apply_defaults timeout: @config.rpcs.create_endpoint.timeout,
|
@@ -541,12 +547,13 @@ module Google
|
|
541
547
|
# Customize the options with defaults
|
542
548
|
call_metadata = @config.rpcs.delete_endpoint.metadata.to_h
|
543
549
|
|
544
|
-
# Set x-goog-api-client
|
550
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
545
551
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
546
552
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
547
553
|
gapic_version: ::Google::Cloud::IDS::V1::VERSION,
|
548
554
|
transports_version_send: [:rest]
|
549
555
|
|
556
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
550
557
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
551
558
|
|
552
559
|
options.apply_defaults timeout: @config.rpcs.delete_endpoint.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 = "ids.$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::IDS::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::IDS::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::IDS::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::IDS::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-ids-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
|