google-cloud-datastore-admin-v1 0.12.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/datastore/admin/v1/datastore_admin/client.rb +15 -6
- data/lib/google/cloud/datastore/admin/v1/datastore_admin/operations.rb +13 -5
- data/lib/google/cloud/datastore/admin/v1/datastore_admin/rest/client.rb +15 -6
- data/lib/google/cloud/datastore/admin/v1/datastore_admin/rest/operations.rb +11 -4
- data/lib/google/cloud/datastore/admin/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: c1ea3c9efa5220f1d1b0a790df5d417753139e0566ccf9009f5ec2eacf00fc38
|
|
4
|
+
data.tar.gz: 29c46962a6fae99e723a447d52621c9a74350bd8cc71326bf4e89ef708df1141
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 42cab7814c43546ceecf9feeeae23777f1fca339aeff12ef3476ad4aa7b38d515b2244aa27df56a8aa5a029d4ba662d6602bbfa191edb4b48e6b358bca81ee54
|
|
7
|
+
data.tar.gz: 01a48be0650d511b8f13d3924d1013438b0f9a2dfa6b524124be0e7363f3faa2fefa3e443a8d361e15c0d0ead5e30c2d21f739f31836a1ca46f7f1d921271027
|
|
@@ -77,6 +77,9 @@ module Google
|
|
|
77
77
|
# service google.longrunning.Operations.
|
|
78
78
|
#
|
|
79
79
|
class Client
|
|
80
|
+
# @private
|
|
81
|
+
API_VERSION = ""
|
|
82
|
+
|
|
80
83
|
# @private
|
|
81
84
|
DEFAULT_ENDPOINT_TEMPLATE = "datastore.$UNIVERSE_DOMAIN$"
|
|
82
85
|
|
|
@@ -329,10 +332,11 @@ module Google
|
|
|
329
332
|
# Customize the options with defaults
|
|
330
333
|
metadata = @config.rpcs.export_entities.metadata.to_h
|
|
331
334
|
|
|
332
|
-
# Set x-goog-api-client
|
|
335
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
333
336
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
334
337
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
335
338
|
gapic_version: ::Google::Cloud::Datastore::Admin::V1::VERSION
|
|
339
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
336
340
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
337
341
|
|
|
338
342
|
header_params = {}
|
|
@@ -448,10 +452,11 @@ module Google
|
|
|
448
452
|
# Customize the options with defaults
|
|
449
453
|
metadata = @config.rpcs.import_entities.metadata.to_h
|
|
450
454
|
|
|
451
|
-
# Set x-goog-api-client
|
|
455
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
452
456
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
453
457
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
454
458
|
gapic_version: ::Google::Cloud::Datastore::Admin::V1::VERSION
|
|
459
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
455
460
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
456
461
|
|
|
457
462
|
header_params = {}
|
|
@@ -557,10 +562,11 @@ module Google
|
|
|
557
562
|
# Customize the options with defaults
|
|
558
563
|
metadata = @config.rpcs.create_index.metadata.to_h
|
|
559
564
|
|
|
560
|
-
# Set x-goog-api-client
|
|
565
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
561
566
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
562
567
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
563
568
|
gapic_version: ::Google::Cloud::Datastore::Admin::V1::VERSION
|
|
569
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
564
570
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
565
571
|
|
|
566
572
|
header_params = {}
|
|
@@ -662,10 +668,11 @@ module Google
|
|
|
662
668
|
# Customize the options with defaults
|
|
663
669
|
metadata = @config.rpcs.delete_index.metadata.to_h
|
|
664
670
|
|
|
665
|
-
# Set x-goog-api-client
|
|
671
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
666
672
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
667
673
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
668
674
|
gapic_version: ::Google::Cloud::Datastore::Admin::V1::VERSION
|
|
675
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
669
676
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
670
677
|
|
|
671
678
|
header_params = {}
|
|
@@ -753,10 +760,11 @@ module Google
|
|
|
753
760
|
# Customize the options with defaults
|
|
754
761
|
metadata = @config.rpcs.get_index.metadata.to_h
|
|
755
762
|
|
|
756
|
-
# Set x-goog-api-client
|
|
763
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
757
764
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
758
765
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
759
766
|
gapic_version: ::Google::Cloud::Datastore::Admin::V1::VERSION
|
|
767
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
760
768
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
761
769
|
|
|
762
770
|
header_params = {}
|
|
@@ -853,10 +861,11 @@ module Google
|
|
|
853
861
|
# Customize the options with defaults
|
|
854
862
|
metadata = @config.rpcs.list_indexes.metadata.to_h
|
|
855
863
|
|
|
856
|
-
# Set x-goog-api-client
|
|
864
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
857
865
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
858
866
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
859
867
|
gapic_version: ::Google::Cloud::Datastore::Admin::V1::VERSION
|
|
868
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
860
869
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
861
870
|
|
|
862
871
|
header_params = {}
|
|
@@ -27,6 +27,9 @@ module Google
|
|
|
27
27
|
module DatastoreAdmin
|
|
28
28
|
# Service that implements Longrunning Operations API.
|
|
29
29
|
class Operations
|
|
30
|
+
# @private
|
|
31
|
+
API_VERSION = ""
|
|
32
|
+
|
|
30
33
|
# @private
|
|
31
34
|
DEFAULT_ENDPOINT_TEMPLATE = "datastore.$UNIVERSE_DOMAIN$"
|
|
32
35
|
|
|
@@ -192,10 +195,11 @@ module Google
|
|
|
192
195
|
# Customize the options with defaults
|
|
193
196
|
metadata = @config.rpcs.list_operations.metadata.to_h
|
|
194
197
|
|
|
195
|
-
# Set x-goog-api-client
|
|
198
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
196
199
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
197
200
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
198
201
|
gapic_version: ::Google::Cloud::Datastore::Admin::V1::VERSION
|
|
202
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
199
203
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
200
204
|
|
|
201
205
|
header_params = {}
|
|
@@ -288,10 +292,11 @@ module Google
|
|
|
288
292
|
# Customize the options with defaults
|
|
289
293
|
metadata = @config.rpcs.get_operation.metadata.to_h
|
|
290
294
|
|
|
291
|
-
# Set x-goog-api-client
|
|
295
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
292
296
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
293
297
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
294
298
|
gapic_version: ::Google::Cloud::Datastore::Admin::V1::VERSION
|
|
299
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
295
300
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
296
301
|
|
|
297
302
|
header_params = {}
|
|
@@ -377,10 +382,11 @@ module Google
|
|
|
377
382
|
# Customize the options with defaults
|
|
378
383
|
metadata = @config.rpcs.delete_operation.metadata.to_h
|
|
379
384
|
|
|
380
|
-
# Set x-goog-api-client
|
|
385
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
381
386
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
382
387
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
383
388
|
gapic_version: ::Google::Cloud::Datastore::Admin::V1::VERSION
|
|
389
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
384
390
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
385
391
|
|
|
386
392
|
header_params = {}
|
|
@@ -471,10 +477,11 @@ module Google
|
|
|
471
477
|
# Customize the options with defaults
|
|
472
478
|
metadata = @config.rpcs.cancel_operation.metadata.to_h
|
|
473
479
|
|
|
474
|
-
# Set x-goog-api-client
|
|
480
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
475
481
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
476
482
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
477
483
|
gapic_version: ::Google::Cloud::Datastore::Admin::V1::VERSION
|
|
484
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
478
485
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
479
486
|
|
|
480
487
|
header_params = {}
|
|
@@ -575,10 +582,11 @@ module Google
|
|
|
575
582
|
# Customize the options with defaults
|
|
576
583
|
metadata = @config.rpcs.wait_operation.metadata.to_h
|
|
577
584
|
|
|
578
|
-
# Set x-goog-api-client
|
|
585
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
579
586
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
580
587
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
581
588
|
gapic_version: ::Google::Cloud::Datastore::Admin::V1::VERSION
|
|
589
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
582
590
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
583
591
|
|
|
584
592
|
options.apply_defaults timeout: @config.rpcs.wait_operation.timeout,
|
|
@@ -79,6 +79,9 @@ module Google
|
|
|
79
79
|
# service google.longrunning.Operations.
|
|
80
80
|
#
|
|
81
81
|
class Client
|
|
82
|
+
# @private
|
|
83
|
+
API_VERSION = ""
|
|
84
|
+
|
|
82
85
|
# @private
|
|
83
86
|
DEFAULT_ENDPOINT_TEMPLATE = "datastore.$UNIVERSE_DOMAIN$"
|
|
84
87
|
|
|
@@ -321,12 +324,13 @@ module Google
|
|
|
321
324
|
# Customize the options with defaults
|
|
322
325
|
call_metadata = @config.rpcs.export_entities.metadata.to_h
|
|
323
326
|
|
|
324
|
-
# Set x-goog-api-client
|
|
327
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
325
328
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
326
329
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
327
330
|
gapic_version: ::Google::Cloud::Datastore::Admin::V1::VERSION,
|
|
328
331
|
transports_version_send: [:rest]
|
|
329
332
|
|
|
333
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
330
334
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
331
335
|
|
|
332
336
|
options.apply_defaults timeout: @config.rpcs.export_entities.timeout,
|
|
@@ -433,12 +437,13 @@ module Google
|
|
|
433
437
|
# Customize the options with defaults
|
|
434
438
|
call_metadata = @config.rpcs.import_entities.metadata.to_h
|
|
435
439
|
|
|
436
|
-
# Set x-goog-api-client
|
|
440
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
437
441
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
438
442
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
439
443
|
gapic_version: ::Google::Cloud::Datastore::Admin::V1::VERSION,
|
|
440
444
|
transports_version_send: [:rest]
|
|
441
445
|
|
|
446
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
442
447
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
443
448
|
|
|
444
449
|
options.apply_defaults timeout: @config.rpcs.import_entities.timeout,
|
|
@@ -535,12 +540,13 @@ module Google
|
|
|
535
540
|
# Customize the options with defaults
|
|
536
541
|
call_metadata = @config.rpcs.create_index.metadata.to_h
|
|
537
542
|
|
|
538
|
-
# Set x-goog-api-client
|
|
543
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
539
544
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
540
545
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
541
546
|
gapic_version: ::Google::Cloud::Datastore::Admin::V1::VERSION,
|
|
542
547
|
transports_version_send: [:rest]
|
|
543
548
|
|
|
549
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
544
550
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
545
551
|
|
|
546
552
|
options.apply_defaults timeout: @config.rpcs.create_index.timeout,
|
|
@@ -633,12 +639,13 @@ module Google
|
|
|
633
639
|
# Customize the options with defaults
|
|
634
640
|
call_metadata = @config.rpcs.delete_index.metadata.to_h
|
|
635
641
|
|
|
636
|
-
# Set x-goog-api-client
|
|
642
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
637
643
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
638
644
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
639
645
|
gapic_version: ::Google::Cloud::Datastore::Admin::V1::VERSION,
|
|
640
646
|
transports_version_send: [:rest]
|
|
641
647
|
|
|
648
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
642
649
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
643
650
|
|
|
644
651
|
options.apply_defaults timeout: @config.rpcs.delete_index.timeout,
|
|
@@ -714,12 +721,13 @@ module Google
|
|
|
714
721
|
# Customize the options with defaults
|
|
715
722
|
call_metadata = @config.rpcs.get_index.metadata.to_h
|
|
716
723
|
|
|
717
|
-
# Set x-goog-api-client
|
|
724
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
718
725
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
719
726
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
720
727
|
gapic_version: ::Google::Cloud::Datastore::Admin::V1::VERSION,
|
|
721
728
|
transports_version_send: [:rest]
|
|
722
729
|
|
|
730
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
723
731
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
724
732
|
|
|
725
733
|
options.apply_defaults timeout: @config.rpcs.get_index.timeout,
|
|
@@ -804,12 +812,13 @@ module Google
|
|
|
804
812
|
# Customize the options with defaults
|
|
805
813
|
call_metadata = @config.rpcs.list_indexes.metadata.to_h
|
|
806
814
|
|
|
807
|
-
# Set x-goog-api-client
|
|
815
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
808
816
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
809
817
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
810
818
|
gapic_version: ::Google::Cloud::Datastore::Admin::V1::VERSION,
|
|
811
819
|
transports_version_send: [:rest]
|
|
812
820
|
|
|
821
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
813
822
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
814
823
|
|
|
815
824
|
options.apply_defaults timeout: @config.rpcs.list_indexes.timeout,
|
|
@@ -27,6 +27,9 @@ module Google
|
|
|
27
27
|
module Rest
|
|
28
28
|
# Service that implements Longrunning Operations API.
|
|
29
29
|
class Operations
|
|
30
|
+
# @private
|
|
31
|
+
API_VERSION = ""
|
|
32
|
+
|
|
30
33
|
# @private
|
|
31
34
|
DEFAULT_ENDPOINT_TEMPLATE = "datastore.$UNIVERSE_DOMAIN$"
|
|
32
35
|
|
|
@@ -182,12 +185,13 @@ module Google
|
|
|
182
185
|
# Customize the options with defaults
|
|
183
186
|
call_metadata = @config.rpcs.list_operations.metadata.to_h
|
|
184
187
|
|
|
185
|
-
# Set x-goog-api-client
|
|
188
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
186
189
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
187
190
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
188
191
|
gapic_version: ::Google::Cloud::Datastore::Admin::V1::VERSION,
|
|
189
192
|
transports_version_send: [:rest]
|
|
190
193
|
|
|
194
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
191
195
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
192
196
|
|
|
193
197
|
options.apply_defaults timeout: @config.rpcs.list_operations.timeout,
|
|
@@ -270,12 +274,13 @@ module Google
|
|
|
270
274
|
# Customize the options with defaults
|
|
271
275
|
call_metadata = @config.rpcs.get_operation.metadata.to_h
|
|
272
276
|
|
|
273
|
-
# Set x-goog-api-client
|
|
277
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
274
278
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
275
279
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
276
280
|
gapic_version: ::Google::Cloud::Datastore::Admin::V1::VERSION,
|
|
277
281
|
transports_version_send: [:rest]
|
|
278
282
|
|
|
283
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
279
284
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
280
285
|
|
|
281
286
|
options.apply_defaults timeout: @config.rpcs.get_operation.timeout,
|
|
@@ -352,12 +357,13 @@ module Google
|
|
|
352
357
|
# Customize the options with defaults
|
|
353
358
|
call_metadata = @config.rpcs.delete_operation.metadata.to_h
|
|
354
359
|
|
|
355
|
-
# Set x-goog-api-client
|
|
360
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
356
361
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
357
362
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
358
363
|
gapic_version: ::Google::Cloud::Datastore::Admin::V1::VERSION,
|
|
359
364
|
transports_version_send: [:rest]
|
|
360
365
|
|
|
366
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
361
367
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
362
368
|
|
|
363
369
|
options.apply_defaults timeout: @config.rpcs.delete_operation.timeout,
|
|
@@ -439,12 +445,13 @@ module Google
|
|
|
439
445
|
# Customize the options with defaults
|
|
440
446
|
call_metadata = @config.rpcs.cancel_operation.metadata.to_h
|
|
441
447
|
|
|
442
|
-
# Set x-goog-api-client
|
|
448
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
443
449
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
444
450
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
445
451
|
gapic_version: ::Google::Cloud::Datastore::Admin::V1::VERSION,
|
|
446
452
|
transports_version_send: [:rest]
|
|
447
453
|
|
|
454
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
448
455
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
449
456
|
|
|
450
457
|
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-datastore-admin-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-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: gapic-common
|