google-cloud-datastore-admin-v1 0.11.2 → 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/README.md +1 -1
- 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/lib/google/datastore/admin/v1/datastore_admin_pb.rb +1 -1
- data/lib/google/datastore/admin/v1/index_pb.rb +1 -1
- data/proto_docs/google/api/client.rb +4 -0
- metadata +4 -116
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
|
data/README.md
CHANGED
@@ -76,7 +76,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
|
|
76
76
|
|
77
77
|
## Supported Ruby Versions
|
78
78
|
|
79
|
-
This library is supported on Ruby 2.
|
79
|
+
This library is supported on Ruby 2.7+.
|
80
80
|
|
81
81
|
Google provides official support for Ruby versions that are actively supported
|
82
82
|
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
|
@@ -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,
|
@@ -13,7 +13,7 @@ require 'google/longrunning/operations_pb'
|
|
13
13
|
require 'google/protobuf/timestamp_pb'
|
14
14
|
|
15
15
|
|
16
|
-
descriptor_data = "\n/google/datastore/admin/v1/datastore_admin.proto\x12\x19google.datastore.admin.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a%google/datastore/admin/v1/index.proto\x1a)google/datastore/admin/v1/migration.proto\x1a#google/longrunning/operations.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xf4\x03\n\x0e\x43ommonMetadata\x12.\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12@\n\x0eoperation_type\x18\x03 \x01(\x0e\x32(.google.datastore.admin.v1.OperationType\x12\x45\n\x06labels\x18\x04 \x03(\x0b\x32\x35.google.datastore.admin.v1.CommonMetadata.LabelsEntry\x12>\n\x05state\x18\x05 \x01(\x0e\x32/.google.datastore.admin.v1.CommonMetadata.State\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x8b\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x10\n\x0cINITIALIZING\x10\x01\x12\x0e\n\nPROCESSING\x10\x02\x12\x0e\n\nCANCELLING\x10\x03\x12\x0e\n\nFINALIZING\x10\x04\x12\x0e\n\nSUCCESSFUL\x10\x05\x12\n\n\x06\x46\x41ILED\x10\x06\x12\r\n\tCANCELLED\x10\x07\":\n\x08Progress\x12\x16\n\x0ework_completed\x18\x01 \x01(\x03\x12\x16\n\x0ework_estimated\x18\x02 \x01(\x03\"\
|
16
|
+
descriptor_data = "\n/google/datastore/admin/v1/datastore_admin.proto\x12\x19google.datastore.admin.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a%google/datastore/admin/v1/index.proto\x1a)google/datastore/admin/v1/migration.proto\x1a#google/longrunning/operations.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xf4\x03\n\x0e\x43ommonMetadata\x12.\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12@\n\x0eoperation_type\x18\x03 \x01(\x0e\x32(.google.datastore.admin.v1.OperationType\x12\x45\n\x06labels\x18\x04 \x03(\x0b\x32\x35.google.datastore.admin.v1.CommonMetadata.LabelsEntry\x12>\n\x05state\x18\x05 \x01(\x0e\x32/.google.datastore.admin.v1.CommonMetadata.State\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x8b\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x10\n\x0cINITIALIZING\x10\x01\x12\x0e\n\nPROCESSING\x10\x02\x12\x0e\n\nCANCELLING\x10\x03\x12\x0e\n\nFINALIZING\x10\x04\x12\x0e\n\nSUCCESSFUL\x10\x05\x12\n\n\x06\x46\x41ILED\x10\x06\x12\r\n\tCANCELLED\x10\x07\":\n\x08Progress\x12\x16\n\x0ework_completed\x18\x01 \x01(\x03\x12\x16\n\x0ework_estimated\x18\x02 \x01(\x03\"\x8d\x02\n\x15\x45xportEntitiesRequest\x12\x17\n\nproject_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12L\n\x06labels\x18\x02 \x03(\x0b\x32<.google.datastore.admin.v1.ExportEntitiesRequest.LabelsEntry\x12>\n\rentity_filter\x18\x03 \x01(\x0b\x32\'.google.datastore.admin.v1.EntityFilter\x12\x1e\n\x11output_url_prefix\x18\x04 \x01(\tB\x03\xe0\x41\x02\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x85\x02\n\x15ImportEntitiesRequest\x12\x17\n\nproject_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12L\n\x06labels\x18\x02 \x03(\x0b\x32<.google.datastore.admin.v1.ImportEntitiesRequest.LabelsEntry\x12\x16\n\tinput_url\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12>\n\rentity_filter\x18\x04 \x01(\x0b\x32\'.google.datastore.admin.v1.EntityFilter\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\",\n\x16\x45xportEntitiesResponse\x12\x12\n\noutput_url\x18\x01 \x01(\t\"\xab\x02\n\x16\x45xportEntitiesMetadata\x12\x39\n\x06\x63ommon\x18\x01 \x01(\x0b\x32).google.datastore.admin.v1.CommonMetadata\x12>\n\x11progress_entities\x18\x02 \x01(\x0b\x32#.google.datastore.admin.v1.Progress\x12;\n\x0eprogress_bytes\x18\x03 \x01(\x0b\x32#.google.datastore.admin.v1.Progress\x12>\n\rentity_filter\x18\x04 \x01(\x0b\x32\'.google.datastore.admin.v1.EntityFilter\x12\x19\n\x11output_url_prefix\x18\x05 \x01(\t\"\xa3\x02\n\x16ImportEntitiesMetadata\x12\x39\n\x06\x63ommon\x18\x01 \x01(\x0b\x32).google.datastore.admin.v1.CommonMetadata\x12>\n\x11progress_entities\x18\x02 \x01(\x0b\x32#.google.datastore.admin.v1.Progress\x12;\n\x0eprogress_bytes\x18\x03 \x01(\x0b\x32#.google.datastore.admin.v1.Progress\x12>\n\rentity_filter\x18\x04 \x01(\x0b\x32\'.google.datastore.admin.v1.EntityFilter\x12\x11\n\tinput_url\x18\x05 \x01(\t\"4\n\x0c\x45ntityFilter\x12\r\n\x05kinds\x18\x01 \x03(\t\x12\x15\n\rnamespace_ids\x18\x02 \x03(\t\"Y\n\x12\x43reateIndexRequest\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12/\n\x05index\x18\x03 \x01(\x0b\x32 .google.datastore.admin.v1.Index\":\n\x12\x44\x65leteIndexRequest\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x10\n\x08index_id\x18\x03 \x01(\t\"7\n\x0fGetIndexRequest\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x10\n\x08index_id\x18\x03 \x01(\t\"_\n\x12ListIndexesRequest\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x03 \x01(\t\x12\x11\n\tpage_size\x18\x04 \x01(\x05\x12\x12\n\npage_token\x18\x05 \x01(\t\"a\n\x13ListIndexesResponse\x12\x31\n\x07indexes\x18\x01 \x03(\x0b\x32 .google.datastore.admin.v1.Index\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xa5\x01\n\x16IndexOperationMetadata\x12\x39\n\x06\x63ommon\x18\x01 \x01(\x0b\x32).google.datastore.admin.v1.CommonMetadata\x12>\n\x11progress_entities\x18\x02 \x01(\x0b\x32#.google.datastore.admin.v1.Progress\x12\x10\n\x08index_id\x18\x03 \x01(\t\"\xab\x01\n#DatastoreFirestoreMigrationMetadata\x12\x42\n\x0fmigration_state\x18\x01 \x01(\x0e\x32).google.datastore.admin.v1.MigrationState\x12@\n\x0emigration_step\x18\x02 \x01(\x0e\x32(.google.datastore.admin.v1.MigrationStep*}\n\rOperationType\x12\x1e\n\x1aOPERATION_TYPE_UNSPECIFIED\x10\x00\x12\x13\n\x0f\x45XPORT_ENTITIES\x10\x01\x12\x13\n\x0fIMPORT_ENTITIES\x10\x02\x12\x10\n\x0c\x43REATE_INDEX\x10\x03\x12\x10\n\x0c\x44\x45LETE_INDEX\x10\x04\x32\x84\n\n\x0e\x44\x61tastoreAdmin\x12\xf6\x01\n\x0e\x45xportEntities\x12\x30.google.datastore.admin.v1.ExportEntitiesRequest\x1a\x1d.google.longrunning.Operation\"\x92\x01\xca\x41\x30\n\x16\x45xportEntitiesResponse\x12\x16\x45xportEntitiesMetadata\xda\x41\x31project_id,labels,entity_filter,output_url_prefix\x82\xd3\xe4\x93\x02%\" /v1/projects/{project_id}:export:\x01*\x12\xed\x01\n\x0eImportEntities\x12\x30.google.datastore.admin.v1.ImportEntitiesRequest\x1a\x1d.google.longrunning.Operation\"\x89\x01\xca\x41/\n\x15google.protobuf.Empty\x12\x16ImportEntitiesMetadata\xda\x41)project_id,labels,input_url,entity_filter\x82\xd3\xe4\x93\x02%\" /v1/projects/{project_id}:import:\x01*\x12\xaf\x01\n\x0b\x43reateIndex\x12-.google.datastore.admin.v1.CreateIndexRequest\x1a\x1d.google.longrunning.Operation\"R\xca\x41\x1f\n\x05Index\x12\x16IndexOperationMetadata\x82\xd3\xe4\x93\x02*\"!/v1/projects/{project_id}/indexes:\x05index\x12\xb3\x01\n\x0b\x44\x65leteIndex\x12-.google.datastore.admin.v1.DeleteIndexRequest\x1a\x1d.google.longrunning.Operation\"V\xca\x41\x1f\n\x05Index\x12\x16IndexOperationMetadata\x82\xd3\xe4\x93\x02.*,/v1/projects/{project_id}/indexes/{index_id}\x12\x8e\x01\n\x08GetIndex\x12*.google.datastore.admin.v1.GetIndexRequest\x1a .google.datastore.admin.v1.Index\"4\x82\xd3\xe4\x93\x02.\x12,/v1/projects/{project_id}/indexes/{index_id}\x12\x97\x01\n\x0bListIndexes\x12-.google.datastore.admin.v1.ListIndexesRequest\x1a..google.datastore.admin.v1.ListIndexesResponse\")\x82\xd3\xe4\x93\x02#\x12!/v1/projects/{project_id}/indexes\x1av\xca\x41\x18\x64\x61tastore.googleapis.com\xd2\x41Xhttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/datastoreB\xdb\x01\n\x1d\x63om.google.datastore.admin.v1B\x13\x44\x61tastoreAdminProtoP\x01Z9cloud.google.com/go/datastore/admin/apiv1/adminpb;adminpb\xaa\x02\x1fGoogle.Cloud.Datastore.Admin.V1\xca\x02\x1fGoogle\\Cloud\\Datastore\\Admin\\V1\xea\x02#Google::Cloud::Datastore::Admin::V1b\x06proto3"
|
17
17
|
|
18
18
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
19
19
|
|
@@ -7,7 +7,7 @@ require 'google/protobuf'
|
|
7
7
|
require 'google/api/field_behavior_pb'
|
8
8
|
|
9
9
|
|
10
|
-
descriptor_data = "\n%google/datastore/admin/v1/index.proto\x12\x19google.datastore.admin.v1\x1a\x1fgoogle/api/field_behavior.proto\"\
|
10
|
+
descriptor_data = "\n%google/datastore/admin/v1/index.proto\x12\x19google.datastore.admin.v1\x1a\x1fgoogle/api/field_behavior.proto\"\xe6\x04\n\x05Index\x12\x17\n\nproject_id\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x15\n\x08index_id\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04kind\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x44\n\x08\x61ncestor\x18\x05 \x01(\x0e\x32-.google.datastore.admin.v1.Index.AncestorModeB\x03\xe0\x41\x02\x12I\n\nproperties\x18\x06 \x03(\x0b\x32\x30.google.datastore.admin.v1.Index.IndexedPropertyB\x03\xe0\x41\x02\x12:\n\x05state\x18\x07 \x01(\x0e\x32&.google.datastore.admin.v1.Index.StateB\x03\xe0\x41\x03\x1ah\n\x0fIndexedProperty\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x42\n\tdirection\x18\x02 \x01(\x0e\x32*.google.datastore.admin.v1.Index.DirectionB\x03\xe0\x41\x02\"J\n\x0c\x41ncestorMode\x12\x1d\n\x19\x41NCESTOR_MODE_UNSPECIFIED\x10\x00\x12\x08\n\x04NONE\x10\x01\x12\x11\n\rALL_ANCESTORS\x10\x02\"E\n\tDirection\x12\x19\n\x15\x44IRECTION_UNSPECIFIED\x10\x00\x12\r\n\tASCENDING\x10\x01\x12\x0e\n\nDESCENDING\x10\x02\"P\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\t\n\x05READY\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03\x12\t\n\x05\x45RROR\x10\x04\x42\xd2\x01\n\x1d\x63om.google.datastore.admin.v1B\nIndexProtoP\x01Z9cloud.google.com/go/datastore/admin/apiv1/adminpb;adminpb\xaa\x02\x1fGoogle.Cloud.Datastore.Admin.V1\xca\x02\x1fGoogle\\Cloud\\Datastore\\Admin\\V1\xea\x02#Google::Cloud::Datastore::Admin::V1b\x06proto3"
|
11
11
|
|
12
12
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
13
13
|
|
@@ -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
|
@@ -44,118 +44,6 @@ dependencies:
|
|
44
44
|
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
46
|
version: '1.0'
|
47
|
-
- !ruby/object:Gem::Dependency
|
48
|
-
name: google-style
|
49
|
-
requirement: !ruby/object:Gem::Requirement
|
50
|
-
requirements:
|
51
|
-
- - "~>"
|
52
|
-
- !ruby/object:Gem::Version
|
53
|
-
version: 1.26.3
|
54
|
-
type: :development
|
55
|
-
prerelease: false
|
56
|
-
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
requirements:
|
58
|
-
- - "~>"
|
59
|
-
- !ruby/object:Gem::Version
|
60
|
-
version: 1.26.3
|
61
|
-
- !ruby/object:Gem::Dependency
|
62
|
-
name: minitest
|
63
|
-
requirement: !ruby/object:Gem::Requirement
|
64
|
-
requirements:
|
65
|
-
- - "~>"
|
66
|
-
- !ruby/object:Gem::Version
|
67
|
-
version: '5.16'
|
68
|
-
type: :development
|
69
|
-
prerelease: false
|
70
|
-
version_requirements: !ruby/object:Gem::Requirement
|
71
|
-
requirements:
|
72
|
-
- - "~>"
|
73
|
-
- !ruby/object:Gem::Version
|
74
|
-
version: '5.16'
|
75
|
-
- !ruby/object:Gem::Dependency
|
76
|
-
name: minitest-focus
|
77
|
-
requirement: !ruby/object:Gem::Requirement
|
78
|
-
requirements:
|
79
|
-
- - "~>"
|
80
|
-
- !ruby/object:Gem::Version
|
81
|
-
version: '1.1'
|
82
|
-
type: :development
|
83
|
-
prerelease: false
|
84
|
-
version_requirements: !ruby/object:Gem::Requirement
|
85
|
-
requirements:
|
86
|
-
- - "~>"
|
87
|
-
- !ruby/object:Gem::Version
|
88
|
-
version: '1.1'
|
89
|
-
- !ruby/object:Gem::Dependency
|
90
|
-
name: minitest-rg
|
91
|
-
requirement: !ruby/object:Gem::Requirement
|
92
|
-
requirements:
|
93
|
-
- - "~>"
|
94
|
-
- !ruby/object:Gem::Version
|
95
|
-
version: '5.2'
|
96
|
-
type: :development
|
97
|
-
prerelease: false
|
98
|
-
version_requirements: !ruby/object:Gem::Requirement
|
99
|
-
requirements:
|
100
|
-
- - "~>"
|
101
|
-
- !ruby/object:Gem::Version
|
102
|
-
version: '5.2'
|
103
|
-
- !ruby/object:Gem::Dependency
|
104
|
-
name: rake
|
105
|
-
requirement: !ruby/object:Gem::Requirement
|
106
|
-
requirements:
|
107
|
-
- - ">="
|
108
|
-
- !ruby/object:Gem::Version
|
109
|
-
version: '13.0'
|
110
|
-
type: :development
|
111
|
-
prerelease: false
|
112
|
-
version_requirements: !ruby/object:Gem::Requirement
|
113
|
-
requirements:
|
114
|
-
- - ">="
|
115
|
-
- !ruby/object:Gem::Version
|
116
|
-
version: '13.0'
|
117
|
-
- !ruby/object:Gem::Dependency
|
118
|
-
name: redcarpet
|
119
|
-
requirement: !ruby/object:Gem::Requirement
|
120
|
-
requirements:
|
121
|
-
- - "~>"
|
122
|
-
- !ruby/object:Gem::Version
|
123
|
-
version: '3.0'
|
124
|
-
type: :development
|
125
|
-
prerelease: false
|
126
|
-
version_requirements: !ruby/object:Gem::Requirement
|
127
|
-
requirements:
|
128
|
-
- - "~>"
|
129
|
-
- !ruby/object:Gem::Version
|
130
|
-
version: '3.0'
|
131
|
-
- !ruby/object:Gem::Dependency
|
132
|
-
name: simplecov
|
133
|
-
requirement: !ruby/object:Gem::Requirement
|
134
|
-
requirements:
|
135
|
-
- - "~>"
|
136
|
-
- !ruby/object:Gem::Version
|
137
|
-
version: '0.18'
|
138
|
-
type: :development
|
139
|
-
prerelease: false
|
140
|
-
version_requirements: !ruby/object:Gem::Requirement
|
141
|
-
requirements:
|
142
|
-
- - "~>"
|
143
|
-
- !ruby/object:Gem::Version
|
144
|
-
version: '0.18'
|
145
|
-
- !ruby/object:Gem::Dependency
|
146
|
-
name: yard
|
147
|
-
requirement: !ruby/object:Gem::Requirement
|
148
|
-
requirements:
|
149
|
-
- - "~>"
|
150
|
-
- !ruby/object:Gem::Version
|
151
|
-
version: '0.9'
|
152
|
-
type: :development
|
153
|
-
prerelease: false
|
154
|
-
version_requirements: !ruby/object:Gem::Requirement
|
155
|
-
requirements:
|
156
|
-
- - "~>"
|
157
|
-
- !ruby/object:Gem::Version
|
158
|
-
version: '0.9'
|
159
47
|
description: Firestore in Datastore mode is a NoSQL document database built for automatic
|
160
48
|
scaling, high performance, and ease of application development. Note that google-cloud-datastore-admin-v1
|
161
49
|
is a version-specific client library. For most uses, we recommend installing the
|
@@ -212,14 +100,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
212
100
|
requirements:
|
213
101
|
- - ">="
|
214
102
|
- !ruby/object:Gem::Version
|
215
|
-
version: '2.
|
103
|
+
version: '2.7'
|
216
104
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
217
105
|
requirements:
|
218
106
|
- - ">="
|
219
107
|
- !ruby/object:Gem::Version
|
220
108
|
version: '0'
|
221
109
|
requirements: []
|
222
|
-
rubygems_version: 3.5.
|
110
|
+
rubygems_version: 3.5.6
|
223
111
|
signing_key:
|
224
112
|
specification_version: 4
|
225
113
|
summary: Accesses the schemaless NoSQL database to provide fully managed, robust,
|