google-cloud-datastore-v1 0.13.1 → 0.14.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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 80afc78603944e9c986f10c3503d5fd73f92aa326426e63a36bf1b50496e99c6
|
4
|
+
data.tar.gz: a621022060eff1e363eabd859be7d5cdf3daaf3e0e6cca74b02b76e249edb1c2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f51627c984a6b1a05a9ce12bf71dff6ed217e8e3c879fff0f939cbf89142a782d3c2a9fc6891947e0e13afcbb5ea52a43fcd13c3c15eacdc258322fbc47b3a34
|
7
|
+
data.tar.gz: 7f3dff238fae3332e8ad17e2e85735131767e72537396e0fd460524c3a6d0f3548db000cdbcf344bbfd3b4276988440ee52ff2ff564b7343cfadf02e96ed7967
|
@@ -169,7 +169,8 @@ module Google
|
|
169
169
|
credentials: credentials,
|
170
170
|
endpoint: @config.endpoint,
|
171
171
|
channel_args: @config.channel_args,
|
172
|
-
interceptors: @config.interceptors
|
172
|
+
interceptors: @config.interceptors,
|
173
|
+
channel_pool_config: @config.channel_pool
|
173
174
|
)
|
174
175
|
end
|
175
176
|
|
@@ -1103,6 +1104,14 @@ module Google
|
|
1103
1104
|
end
|
1104
1105
|
end
|
1105
1106
|
|
1107
|
+
##
|
1108
|
+
# Configuration for the channel pool
|
1109
|
+
# @return [::Gapic::ServiceStub::ChannelPool::Configuration]
|
1110
|
+
#
|
1111
|
+
def channel_pool
|
1112
|
+
@channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
|
1113
|
+
end
|
1114
|
+
|
1106
1115
|
##
|
1107
1116
|
# Configuration RPC class for the Datastore API.
|
1108
1117
|
#
|
@@ -202,6 +202,22 @@ module Google
|
|
202
202
|
# @return [::Google::Cloud::Datastore::V1::LookupResponse]
|
203
203
|
#
|
204
204
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
205
|
+
#
|
206
|
+
# @example Basic example
|
207
|
+
# require "google/cloud/datastore/v1"
|
208
|
+
#
|
209
|
+
# # Create a client object. The client can be reused for multiple calls.
|
210
|
+
# client = Google::Cloud::Datastore::V1::Datastore::Rest::Client.new
|
211
|
+
#
|
212
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
213
|
+
# request = Google::Cloud::Datastore::V1::LookupRequest.new
|
214
|
+
#
|
215
|
+
# # Call the lookup method.
|
216
|
+
# result = client.lookup request
|
217
|
+
#
|
218
|
+
# # The returned object is of type Google::Cloud::Datastore::V1::LookupResponse.
|
219
|
+
# p result
|
220
|
+
#
|
205
221
|
def lookup request, options = nil
|
206
222
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
207
223
|
|
@@ -280,6 +296,22 @@ module Google
|
|
280
296
|
# @return [::Google::Cloud::Datastore::V1::RunQueryResponse]
|
281
297
|
#
|
282
298
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
299
|
+
#
|
300
|
+
# @example Basic example
|
301
|
+
# require "google/cloud/datastore/v1"
|
302
|
+
#
|
303
|
+
# # Create a client object. The client can be reused for multiple calls.
|
304
|
+
# client = Google::Cloud::Datastore::V1::Datastore::Rest::Client.new
|
305
|
+
#
|
306
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
307
|
+
# request = Google::Cloud::Datastore::V1::RunQueryRequest.new
|
308
|
+
#
|
309
|
+
# # Call the run_query method.
|
310
|
+
# result = client.run_query request
|
311
|
+
#
|
312
|
+
# # The returned object is of type Google::Cloud::Datastore::V1::RunQueryResponse.
|
313
|
+
# p result
|
314
|
+
#
|
283
315
|
def run_query request, options = nil
|
284
316
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
285
317
|
|
@@ -358,6 +390,22 @@ module Google
|
|
358
390
|
# @return [::Google::Cloud::Datastore::V1::RunAggregationQueryResponse]
|
359
391
|
#
|
360
392
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
393
|
+
#
|
394
|
+
# @example Basic example
|
395
|
+
# require "google/cloud/datastore/v1"
|
396
|
+
#
|
397
|
+
# # Create a client object. The client can be reused for multiple calls.
|
398
|
+
# client = Google::Cloud::Datastore::V1::Datastore::Rest::Client.new
|
399
|
+
#
|
400
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
401
|
+
# request = Google::Cloud::Datastore::V1::RunAggregationQueryRequest.new
|
402
|
+
#
|
403
|
+
# # Call the run_aggregation_query method.
|
404
|
+
# result = client.run_aggregation_query request
|
405
|
+
#
|
406
|
+
# # The returned object is of type Google::Cloud::Datastore::V1::RunAggregationQueryResponse.
|
407
|
+
# p result
|
408
|
+
#
|
361
409
|
def run_aggregation_query request, options = nil
|
362
410
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
363
411
|
|
@@ -427,6 +475,22 @@ module Google
|
|
427
475
|
# @return [::Google::Cloud::Datastore::V1::BeginTransactionResponse]
|
428
476
|
#
|
429
477
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
478
|
+
#
|
479
|
+
# @example Basic example
|
480
|
+
# require "google/cloud/datastore/v1"
|
481
|
+
#
|
482
|
+
# # Create a client object. The client can be reused for multiple calls.
|
483
|
+
# client = Google::Cloud::Datastore::V1::Datastore::Rest::Client.new
|
484
|
+
#
|
485
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
486
|
+
# request = Google::Cloud::Datastore::V1::BeginTransactionRequest.new
|
487
|
+
#
|
488
|
+
# # Call the begin_transaction method.
|
489
|
+
# result = client.begin_transaction request
|
490
|
+
#
|
491
|
+
# # The returned object is of type Google::Cloud::Datastore::V1::BeginTransactionResponse.
|
492
|
+
# p result
|
493
|
+
#
|
430
494
|
def begin_transaction request, options = nil
|
431
495
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
432
496
|
|
@@ -520,6 +584,22 @@ module Google
|
|
520
584
|
# @return [::Google::Cloud::Datastore::V1::CommitResponse]
|
521
585
|
#
|
522
586
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
587
|
+
#
|
588
|
+
# @example Basic example
|
589
|
+
# require "google/cloud/datastore/v1"
|
590
|
+
#
|
591
|
+
# # Create a client object. The client can be reused for multiple calls.
|
592
|
+
# client = Google::Cloud::Datastore::V1::Datastore::Rest::Client.new
|
593
|
+
#
|
594
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
595
|
+
# request = Google::Cloud::Datastore::V1::CommitRequest.new
|
596
|
+
#
|
597
|
+
# # Call the commit method.
|
598
|
+
# result = client.commit request
|
599
|
+
#
|
600
|
+
# # The returned object is of type Google::Cloud::Datastore::V1::CommitResponse.
|
601
|
+
# p result
|
602
|
+
#
|
523
603
|
def commit request, options = nil
|
524
604
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
525
605
|
|
@@ -590,6 +670,22 @@ module Google
|
|
590
670
|
# @return [::Google::Cloud::Datastore::V1::RollbackResponse]
|
591
671
|
#
|
592
672
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
673
|
+
#
|
674
|
+
# @example Basic example
|
675
|
+
# require "google/cloud/datastore/v1"
|
676
|
+
#
|
677
|
+
# # Create a client object. The client can be reused for multiple calls.
|
678
|
+
# client = Google::Cloud::Datastore::V1::Datastore::Rest::Client.new
|
679
|
+
#
|
680
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
681
|
+
# request = Google::Cloud::Datastore::V1::RollbackRequest.new
|
682
|
+
#
|
683
|
+
# # Call the rollback method.
|
684
|
+
# result = client.rollback request
|
685
|
+
#
|
686
|
+
# # The returned object is of type Google::Cloud::Datastore::V1::RollbackResponse.
|
687
|
+
# p result
|
688
|
+
#
|
593
689
|
def rollback request, options = nil
|
594
690
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
595
691
|
|
@@ -661,6 +757,22 @@ module Google
|
|
661
757
|
# @return [::Google::Cloud::Datastore::V1::AllocateIdsResponse]
|
662
758
|
#
|
663
759
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
760
|
+
#
|
761
|
+
# @example Basic example
|
762
|
+
# require "google/cloud/datastore/v1"
|
763
|
+
#
|
764
|
+
# # Create a client object. The client can be reused for multiple calls.
|
765
|
+
# client = Google::Cloud::Datastore::V1::Datastore::Rest::Client.new
|
766
|
+
#
|
767
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
768
|
+
# request = Google::Cloud::Datastore::V1::AllocateIdsRequest.new
|
769
|
+
#
|
770
|
+
# # Call the allocate_ids method.
|
771
|
+
# result = client.allocate_ids request
|
772
|
+
#
|
773
|
+
# # The returned object is of type Google::Cloud::Datastore::V1::AllocateIdsResponse.
|
774
|
+
# p result
|
775
|
+
#
|
664
776
|
def allocate_ids request, options = nil
|
665
777
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
666
778
|
|
@@ -732,6 +844,22 @@ module Google
|
|
732
844
|
# @return [::Google::Cloud::Datastore::V1::ReserveIdsResponse]
|
733
845
|
#
|
734
846
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
847
|
+
#
|
848
|
+
# @example Basic example
|
849
|
+
# require "google/cloud/datastore/v1"
|
850
|
+
#
|
851
|
+
# # Create a client object. The client can be reused for multiple calls.
|
852
|
+
# client = Google::Cloud::Datastore::V1::Datastore::Rest::Client.new
|
853
|
+
#
|
854
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
855
|
+
# request = Google::Cloud::Datastore::V1::ReserveIdsRequest.new
|
856
|
+
#
|
857
|
+
# # Call the reserve_ids method.
|
858
|
+
# result = client.reserve_ids request
|
859
|
+
#
|
860
|
+
# # The returned object is of type Google::Cloud::Datastore::V1::ReserveIdsResponse.
|
861
|
+
# p result
|
862
|
+
#
|
735
863
|
def reserve_ids request, options = nil
|
736
864
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
737
865
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-datastore-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.14.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: 2023-09-
|
11
|
+
date: 2023-09-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.20.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.20.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|