google-cloud-datastore-admin-v1 0.12.0 → 1.0.1
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 +35 -10
- data/proto_docs/google/api/resource.rb +7 -2
- 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: 5c57f406221e788bbcc0461aff7d77b6f208fea235a0cfa2232f72f69c1e7347
|
|
4
|
+
data.tar.gz: 956dcefe361027d9b00cd1d8d9fb490fd38e8eaffc7de90743c044f90701cd59
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 42ef654638cd4bb5c1c93976fd978f633dc2d95bdb095f7e9f48bfe5d2876f4e858dea2744d9699240b9fba174543db705fcea4664aea8d985e30d7f36ec44a4
|
|
7
|
+
data.tar.gz: 86a3069b0b7037859a32c9840f7d2ccf5cb4544e29122957bd1fa49848968c50d11e1943e02f2090e0882594c8ac509b9131b8a5fb4a67ecd144af3c13f1bec4
|
|
@@ -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
|
|
@@ -192,9 +196,26 @@ module Google
|
|
|
192
196
|
# @!attribute [rw] common
|
|
193
197
|
# @return [::Google::Api::CommonLanguageSettings]
|
|
194
198
|
# Some settings.
|
|
199
|
+
# @!attribute [rw] experimental_features
|
|
200
|
+
# @return [::Google::Api::PythonSettings::ExperimentalFeatures]
|
|
201
|
+
# Experimental features to be included during client library generation.
|
|
195
202
|
class PythonSettings
|
|
196
203
|
include ::Google::Protobuf::MessageExts
|
|
197
204
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
205
|
+
|
|
206
|
+
# Experimental features to be included during client library generation.
|
|
207
|
+
# These fields will be deprecated once the feature graduates and is enabled
|
|
208
|
+
# by default.
|
|
209
|
+
# @!attribute [rw] rest_async_io_enabled
|
|
210
|
+
# @return [::Boolean]
|
|
211
|
+
# Enables generation of asynchronous REST clients if `rest` transport is
|
|
212
|
+
# enabled. By default, asynchronous REST clients will not be generated.
|
|
213
|
+
# This feature will be enabled by default 1 month after launching the
|
|
214
|
+
# feature in preview packages.
|
|
215
|
+
class ExperimentalFeatures
|
|
216
|
+
include ::Google::Protobuf::MessageExts
|
|
217
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
218
|
+
end
|
|
198
219
|
end
|
|
199
220
|
|
|
200
221
|
# Settings for Node client libraries.
|
|
@@ -286,6 +307,13 @@ module Google
|
|
|
286
307
|
# @return [::String]
|
|
287
308
|
# The fully qualified name of the method, for which the options below apply.
|
|
288
309
|
# This is used to find the method to apply the options.
|
|
310
|
+
#
|
|
311
|
+
# Example:
|
|
312
|
+
#
|
|
313
|
+
# publishing:
|
|
314
|
+
# method_settings:
|
|
315
|
+
# - selector: google.storage.control.v2.StorageControl.CreateFolder
|
|
316
|
+
# # method settings for CreateFolder...
|
|
289
317
|
# @!attribute [rw] long_running
|
|
290
318
|
# @return [::Google::Api::MethodSettings::LongRunning]
|
|
291
319
|
# Describes settings to use for long-running operations when generating
|
|
@@ -294,17 +322,14 @@ module Google
|
|
|
294
322
|
#
|
|
295
323
|
# Example of a YAML configuration::
|
|
296
324
|
#
|
|
297
|
-
#
|
|
298
|
-
#
|
|
325
|
+
# publishing:
|
|
326
|
+
# method_settings:
|
|
299
327
|
# - selector: google.cloud.speech.v2.Speech.BatchRecognize
|
|
300
328
|
# long_running:
|
|
301
|
-
# initial_poll_delay:
|
|
302
|
-
# seconds: 60 # 1 minute
|
|
329
|
+
# initial_poll_delay: 60s # 1 minute
|
|
303
330
|
# poll_delay_multiplier: 1.5
|
|
304
|
-
# max_poll_delay:
|
|
305
|
-
#
|
|
306
|
-
# total_poll_timeout:
|
|
307
|
-
# seconds: 54000 # 90 minutes
|
|
331
|
+
# max_poll_delay: 360s # 6 minutes
|
|
332
|
+
# total_poll_timeout: 54000s # 90 minutes
|
|
308
333
|
# @!attribute [rw] auto_populated_fields
|
|
309
334
|
# @return [::Array<::String>]
|
|
310
335
|
# List of top-level fields of the request message, that should be
|
|
@@ -313,8 +338,8 @@ module Google
|
|
|
313
338
|
#
|
|
314
339
|
# Example of a YAML configuration:
|
|
315
340
|
#
|
|
316
|
-
#
|
|
317
|
-
#
|
|
341
|
+
# publishing:
|
|
342
|
+
# method_settings:
|
|
318
343
|
# - selector: google.example.v1.ExampleService.CreateExample
|
|
319
344
|
# auto_populated_fields:
|
|
320
345
|
# - request_id
|
|
@@ -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
|
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.1
|
|
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-08-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: gapic-common
|