google-cloud-datastore-admin-v1 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d317cb8ea7d2509bbb28fdb845c2322ff6091e88832acc851671c4656fad75b8
|
4
|
+
data.tar.gz: 677534935fe53ae11b6e8763912d0e56f8f71f3f3c29c686affbb3c1004dbf4f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d3fca6d2e2fed91ae0883e9cf65aec9b84849750e0ce398dd23b8187488b536ec61b4ad67915e54e8abbed6162370863b11b8c6da039727862b48a938391bfd9
|
7
|
+
data.tar.gz: '04833841d70cab51090db1cf316cb1d9ec93750e4f42f0c120bebe6be98164d602a8dea76edddb62b39fe22c7a5131fda56ac571cc3bd539286f0171bc29659b'
|
data/README.md
CHANGED
@@ -71,11 +71,11 @@ end
|
|
71
71
|
|
72
72
|
## Supported Ruby Versions
|
73
73
|
|
74
|
-
This library is supported on Ruby 2.
|
74
|
+
This library is supported on Ruby 2.5+.
|
75
75
|
|
76
76
|
Google provides official support for Ruby versions that are actively supported
|
77
77
|
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
|
78
|
-
in security maintenance, and not end of life. Currently, this means Ruby 2.
|
78
|
+
in security maintenance, and not end of life. Currently, this means Ruby 2.5
|
79
79
|
and later. Older versions of Ruby _may_ still work, but are unsupported and not
|
80
80
|
recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details
|
81
81
|
about the Ruby support schedule.
|
@@ -119,7 +119,7 @@ module Google
|
|
119
119
|
parent_config = while namespace.any?
|
120
120
|
parent_name = namespace.join "::"
|
121
121
|
parent_const = const_get parent_name
|
122
|
-
break parent_const.configure if parent_const
|
122
|
+
break parent_const.configure if parent_const.respond_to? :configure
|
123
123
|
namespace.pop
|
124
124
|
end
|
125
125
|
default_config = Client::Configuration.new parent_config
|
@@ -135,17 +135,17 @@ module Google
|
|
135
135
|
default_config.rpcs.get_index.timeout = 60.0
|
136
136
|
default_config.rpcs.get_index.retry_policy = {
|
137
137
|
initial_delay: 0.1,
|
138
|
-
|
139
|
-
|
140
|
-
|
138
|
+
max_delay: 60.0,
|
139
|
+
multiplier: 1.3,
|
140
|
+
retry_codes: [14, 4]
|
141
141
|
}
|
142
142
|
|
143
143
|
default_config.rpcs.list_indexes.timeout = 60.0
|
144
144
|
default_config.rpcs.list_indexes.retry_policy = {
|
145
145
|
initial_delay: 0.1,
|
146
|
-
|
147
|
-
|
148
|
-
|
146
|
+
max_delay: 60.0,
|
147
|
+
multiplier: 1.3,
|
148
|
+
retry_codes: [14, 4]
|
149
149
|
}
|
150
150
|
|
151
151
|
default_config
|
@@ -214,7 +214,7 @@ module Google
|
|
214
214
|
enable_self_signed_jwt = @config.scope == Client.configure.scope &&
|
215
215
|
@config.endpoint == Client.configure.endpoint &&
|
216
216
|
!@config.endpoint.split(".").first.include?("-")
|
217
|
-
credentials ||= Credentials.default scope:
|
217
|
+
credentials ||= Credentials.default scope: @config.scope,
|
218
218
|
enable_self_signed_jwt: enable_self_signed_jwt
|
219
219
|
if credentials.is_a?(String) || credentials.is_a?(Hash)
|
220
220
|
credentials = Credentials.new credentials, scope: @config.scope
|
@@ -576,7 +576,7 @@ module Google
|
|
576
576
|
|
577
577
|
header_params = {
|
578
578
|
"project_id" => request.project_id,
|
579
|
-
"index_id"
|
579
|
+
"index_id" => request.index_id
|
580
580
|
}
|
581
581
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
582
582
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
@@ -646,7 +646,7 @@ module Google
|
|
646
646
|
|
647
647
|
header_params = {
|
648
648
|
"project_id" => request.project_id,
|
649
|
-
"index_id"
|
649
|
+
"index_id" => request.index_id
|
650
650
|
}
|
651
651
|
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
652
652
|
metadata[:"x-goog-request-params"] ||= request_params_header
|
@@ -832,7 +832,7 @@ module Google
|
|
832
832
|
config_attr :scope, nil, ::String, ::Array, nil
|
833
833
|
config_attr :lib_name, nil, ::String, nil
|
834
834
|
config_attr :lib_version, nil, ::String, nil
|
835
|
-
config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, ::Hash, nil)
|
835
|
+
config_attr(:channel_args, { "grpc.service_config_disable_resolution" => 1 }, ::Hash, nil)
|
836
836
|
config_attr :interceptors, nil, ::Array, nil
|
837
837
|
config_attr :timeout, nil, ::Numeric, nil
|
838
838
|
config_attr :metadata, nil, ::Hash, nil
|
@@ -853,7 +853,7 @@ module Google
|
|
853
853
|
def rpcs
|
854
854
|
@rpcs ||= begin
|
855
855
|
parent_rpcs = nil
|
856
|
-
parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config
|
856
|
+
parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config.respond_to?(:rpcs)
|
857
857
|
Rpcs.new parent_rpcs
|
858
858
|
end
|
859
859
|
end
|
@@ -909,17 +909,17 @@ module Google
|
|
909
909
|
|
910
910
|
# @private
|
911
911
|
def initialize parent_rpcs = nil
|
912
|
-
export_entities_config = parent_rpcs
|
912
|
+
export_entities_config = parent_rpcs.export_entities if parent_rpcs.respond_to? :export_entities
|
913
913
|
@export_entities = ::Gapic::Config::Method.new export_entities_config
|
914
|
-
import_entities_config = parent_rpcs
|
914
|
+
import_entities_config = parent_rpcs.import_entities if parent_rpcs.respond_to? :import_entities
|
915
915
|
@import_entities = ::Gapic::Config::Method.new import_entities_config
|
916
|
-
create_index_config = parent_rpcs
|
916
|
+
create_index_config = parent_rpcs.create_index if parent_rpcs.respond_to? :create_index
|
917
917
|
@create_index = ::Gapic::Config::Method.new create_index_config
|
918
|
-
delete_index_config = parent_rpcs
|
918
|
+
delete_index_config = parent_rpcs.delete_index if parent_rpcs.respond_to? :delete_index
|
919
919
|
@delete_index = ::Gapic::Config::Method.new delete_index_config
|
920
|
-
get_index_config = parent_rpcs
|
920
|
+
get_index_config = parent_rpcs.get_index if parent_rpcs.respond_to? :get_index
|
921
921
|
@get_index = ::Gapic::Config::Method.new get_index_config
|
922
|
-
list_indexes_config = parent_rpcs
|
922
|
+
list_indexes_config = parent_rpcs.list_indexes if parent_rpcs.respond_to? :list_indexes
|
923
923
|
@list_indexes = ::Gapic::Config::Method.new list_indexes_config
|
924
924
|
|
925
925
|
yield self if block_given?
|
@@ -561,7 +561,7 @@ module Google
|
|
561
561
|
config_attr :scope, nil, ::String, ::Array, nil
|
562
562
|
config_attr :lib_name, nil, ::String, nil
|
563
563
|
config_attr :lib_version, nil, ::String, nil
|
564
|
-
config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, ::Hash, nil)
|
564
|
+
config_attr(:channel_args, { "grpc.service_config_disable_resolution" => 1 }, ::Hash, nil)
|
565
565
|
config_attr :interceptors, nil, ::Array, nil
|
566
566
|
config_attr :timeout, nil, ::Numeric, nil
|
567
567
|
config_attr :metadata, nil, ::Hash, nil
|
@@ -582,7 +582,7 @@ module Google
|
|
582
582
|
def rpcs
|
583
583
|
@rpcs ||= begin
|
584
584
|
parent_rpcs = nil
|
585
|
-
parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config
|
585
|
+
parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config.respond_to?(:rpcs)
|
586
586
|
Rpcs.new parent_rpcs
|
587
587
|
end
|
588
588
|
end
|
@@ -633,15 +633,15 @@ module Google
|
|
633
633
|
|
634
634
|
# @private
|
635
635
|
def initialize parent_rpcs = nil
|
636
|
-
list_operations_config = parent_rpcs
|
636
|
+
list_operations_config = parent_rpcs.list_operations if parent_rpcs.respond_to? :list_operations
|
637
637
|
@list_operations = ::Gapic::Config::Method.new list_operations_config
|
638
|
-
get_operation_config = parent_rpcs
|
638
|
+
get_operation_config = parent_rpcs.get_operation if parent_rpcs.respond_to? :get_operation
|
639
639
|
@get_operation = ::Gapic::Config::Method.new get_operation_config
|
640
|
-
delete_operation_config = parent_rpcs
|
640
|
+
delete_operation_config = parent_rpcs.delete_operation if parent_rpcs.respond_to? :delete_operation
|
641
641
|
@delete_operation = ::Gapic::Config::Method.new delete_operation_config
|
642
|
-
cancel_operation_config = parent_rpcs
|
642
|
+
cancel_operation_config = parent_rpcs.cancel_operation if parent_rpcs.respond_to? :cancel_operation
|
643
643
|
@cancel_operation = ::Gapic::Config::Method.new cancel_operation_config
|
644
|
-
wait_operation_config = parent_rpcs
|
644
|
+
wait_operation_config = parent_rpcs.wait_operation if parent_rpcs.respond_to? :wait_operation
|
645
645
|
@wait_operation = ::Gapic::Config::Method.new wait_operation_config
|
646
646
|
|
647
647
|
yield self if block_given?
|
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: 0.4.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: 2021-
|
11
|
+
date: 2021-03-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 1.
|
47
|
+
version: 1.25.1
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 1.
|
54
|
+
version: 1.25.1
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: minitest
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -199,14 +199,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
199
199
|
requirements:
|
200
200
|
- - ">="
|
201
201
|
- !ruby/object:Gem::Version
|
202
|
-
version: '2.
|
202
|
+
version: '2.5'
|
203
203
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
204
204
|
requirements:
|
205
205
|
- - ">="
|
206
206
|
- !ruby/object:Gem::Version
|
207
207
|
version: '0'
|
208
208
|
requirements: []
|
209
|
-
rubygems_version: 3.2.
|
209
|
+
rubygems_version: 3.2.13
|
210
210
|
signing_key:
|
211
211
|
specification_version: 4
|
212
212
|
summary: API Client library for the Firestore in Datastore mode Admin V1 API
|