google-cloud-bigtable-admin-v2 0.4.0 → 0.5.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: de3300a4a28be40a2698a62a6c6c4ffa0b02908554e78463e8fa3168ce17a97a
4
- data.tar.gz: 8f86c94ac452c827a3025fe3bc45a5b3f8a3a0307781325fb612d67382b2d983
3
+ metadata.gz: 406cc1718e95db352d78efcd36dd417e121e957f55be77f48ffebc46c5d17b9f
4
+ data.tar.gz: d571575d8f8917b44c86e9fe7e443c4f0488bdea6f1bc0fe3961b81cd2d1bea1
5
5
  SHA512:
6
- metadata.gz: 051cdaf6c1dff71c6b1b9179ac49e4d736d67c47dcddea264028a6adc4a40c67e221fb892a077c1bcc613750ad33fb2a8cb3642a2d6c342cc58f51d9b170282f
7
- data.tar.gz: 83efe93cdae0b145fd9dde5f007253a2331a8a22096214656c92a3fe89f540bdac1f3291f7f83b03c969fb7c2789692a72fe29ad8ce971b96aed4497d66ed52e
6
+ metadata.gz: cfa256cc57a207bb64aa2e3437a14ba25781939370e39ce875deb4cae0b2186940cb190b087664d6101889bd60f8cf84cc29dccd479084045d3810f0442b0956
7
+ data.tar.gz: 412994b6746da889f86c2df6c5085f8dc7bbca41e71e4996bb6fb0c9cebaeb984d26f4c8a06657b1a683c68e2852124ec1cebc24670ad4b64b62547e52db4927
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.4+.
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.4
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.
@@ -63,7 +63,7 @@ module Google
63
63
  parent_config = while namespace.any?
64
64
  parent_name = namespace.join "::"
65
65
  parent_const = const_get parent_name
66
- break parent_const.configure if parent_const&.respond_to? :configure
66
+ break parent_const.configure if parent_const.respond_to? :configure
67
67
  namespace.pop
68
68
  end
69
69
  default_config = Client::Configuration.new parent_config
@@ -73,33 +73,33 @@ module Google
73
73
  default_config.rpcs.get_instance.timeout = 60.0
74
74
  default_config.rpcs.get_instance.retry_policy = {
75
75
  initial_delay: 1.0,
76
- max_delay: 60.0,
77
- multiplier: 2,
78
- retry_codes: [14, 4]
76
+ max_delay: 60.0,
77
+ multiplier: 2,
78
+ retry_codes: [14, 4]
79
79
  }
80
80
 
81
81
  default_config.rpcs.list_instances.timeout = 60.0
82
82
  default_config.rpcs.list_instances.retry_policy = {
83
83
  initial_delay: 1.0,
84
- max_delay: 60.0,
85
- multiplier: 2,
86
- retry_codes: [14, 4]
84
+ max_delay: 60.0,
85
+ multiplier: 2,
86
+ retry_codes: [14, 4]
87
87
  }
88
88
 
89
89
  default_config.rpcs.update_instance.timeout = 60.0
90
90
  default_config.rpcs.update_instance.retry_policy = {
91
91
  initial_delay: 1.0,
92
- max_delay: 60.0,
93
- multiplier: 2,
94
- retry_codes: [14, 4]
92
+ max_delay: 60.0,
93
+ multiplier: 2,
94
+ retry_codes: [14, 4]
95
95
  }
96
96
 
97
97
  default_config.rpcs.partial_update_instance.timeout = 60.0
98
98
  default_config.rpcs.partial_update_instance.retry_policy = {
99
99
  initial_delay: 1.0,
100
- max_delay: 60.0,
101
- multiplier: 2,
102
- retry_codes: [14, 4]
100
+ max_delay: 60.0,
101
+ multiplier: 2,
102
+ retry_codes: [14, 4]
103
103
  }
104
104
 
105
105
  default_config.rpcs.delete_instance.timeout = 60.0
@@ -109,25 +109,25 @@ module Google
109
109
  default_config.rpcs.get_cluster.timeout = 60.0
110
110
  default_config.rpcs.get_cluster.retry_policy = {
111
111
  initial_delay: 1.0,
112
- max_delay: 60.0,
113
- multiplier: 2,
114
- retry_codes: [14, 4]
112
+ max_delay: 60.0,
113
+ multiplier: 2,
114
+ retry_codes: [14, 4]
115
115
  }
116
116
 
117
117
  default_config.rpcs.list_clusters.timeout = 60.0
118
118
  default_config.rpcs.list_clusters.retry_policy = {
119
119
  initial_delay: 1.0,
120
- max_delay: 60.0,
121
- multiplier: 2,
122
- retry_codes: [14, 4]
120
+ max_delay: 60.0,
121
+ multiplier: 2,
122
+ retry_codes: [14, 4]
123
123
  }
124
124
 
125
125
  default_config.rpcs.update_cluster.timeout = 60.0
126
126
  default_config.rpcs.update_cluster.retry_policy = {
127
127
  initial_delay: 1.0,
128
- max_delay: 60.0,
129
- multiplier: 2,
130
- retry_codes: [14, 4]
128
+ max_delay: 60.0,
129
+ multiplier: 2,
130
+ retry_codes: [14, 4]
131
131
  }
132
132
 
133
133
  default_config.rpcs.delete_cluster.timeout = 60.0
@@ -137,25 +137,25 @@ module Google
137
137
  default_config.rpcs.get_app_profile.timeout = 60.0
138
138
  default_config.rpcs.get_app_profile.retry_policy = {
139
139
  initial_delay: 1.0,
140
- max_delay: 60.0,
141
- multiplier: 2,
142
- retry_codes: [14, 4]
140
+ max_delay: 60.0,
141
+ multiplier: 2,
142
+ retry_codes: [14, 4]
143
143
  }
144
144
 
145
145
  default_config.rpcs.list_app_profiles.timeout = 60.0
146
146
  default_config.rpcs.list_app_profiles.retry_policy = {
147
147
  initial_delay: 1.0,
148
- max_delay: 60.0,
149
- multiplier: 2,
150
- retry_codes: [14, 4]
148
+ max_delay: 60.0,
149
+ multiplier: 2,
150
+ retry_codes: [14, 4]
151
151
  }
152
152
 
153
153
  default_config.rpcs.update_app_profile.timeout = 60.0
154
154
  default_config.rpcs.update_app_profile.retry_policy = {
155
155
  initial_delay: 1.0,
156
- max_delay: 60.0,
157
- multiplier: 2,
158
- retry_codes: [14, 4]
156
+ max_delay: 60.0,
157
+ multiplier: 2,
158
+ retry_codes: [14, 4]
159
159
  }
160
160
 
161
161
  default_config.rpcs.delete_app_profile.timeout = 60.0
@@ -163,9 +163,9 @@ module Google
163
163
  default_config.rpcs.get_iam_policy.timeout = 60.0
164
164
  default_config.rpcs.get_iam_policy.retry_policy = {
165
165
  initial_delay: 1.0,
166
- max_delay: 60.0,
167
- multiplier: 2,
168
- retry_codes: [14, 4]
166
+ max_delay: 60.0,
167
+ multiplier: 2,
168
+ retry_codes: [14, 4]
169
169
  }
170
170
 
171
171
  default_config.rpcs.set_iam_policy.timeout = 60.0
@@ -173,9 +173,9 @@ module Google
173
173
  default_config.rpcs.test_iam_permissions.timeout = 60.0
174
174
  default_config.rpcs.test_iam_permissions.retry_policy = {
175
175
  initial_delay: 1.0,
176
- max_delay: 60.0,
177
- multiplier: 2,
178
- retry_codes: [14, 4]
176
+ max_delay: 60.0,
177
+ multiplier: 2,
178
+ retry_codes: [14, 4]
179
179
  }
180
180
 
181
181
  default_config
@@ -244,7 +244,7 @@ module Google
244
244
  enable_self_signed_jwt = @config.scope == Client.configure.scope &&
245
245
  @config.endpoint == Client.configure.endpoint &&
246
246
  !@config.endpoint.split(".").first.include?("-")
247
- credentials ||= Credentials.default scope: @config.scope,
247
+ credentials ||= Credentials.default scope: @config.scope,
248
248
  enable_self_signed_jwt: enable_self_signed_jwt
249
249
  if credentials.is_a?(String) || credentials.is_a?(Hash)
250
250
  credentials = Credentials.new credentials, scope: @config.scope
@@ -1754,7 +1754,7 @@ module Google
1754
1754
  config_attr :scope, nil, ::String, ::Array, nil
1755
1755
  config_attr :lib_name, nil, ::String, nil
1756
1756
  config_attr :lib_version, nil, ::String, nil
1757
- config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, ::Hash, nil)
1757
+ config_attr(:channel_args, { "grpc.service_config_disable_resolution" => 1 }, ::Hash, nil)
1758
1758
  config_attr :interceptors, nil, ::Array, nil
1759
1759
  config_attr :timeout, nil, ::Numeric, nil
1760
1760
  config_attr :metadata, nil, ::Hash, nil
@@ -1775,7 +1775,7 @@ module Google
1775
1775
  def rpcs
1776
1776
  @rpcs ||= begin
1777
1777
  parent_rpcs = nil
1778
- parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config&.respond_to?(:rpcs)
1778
+ parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config.respond_to?(:rpcs)
1779
1779
  Rpcs.new parent_rpcs
1780
1780
  end
1781
1781
  end
@@ -1896,43 +1896,43 @@ module Google
1896
1896
 
1897
1897
  # @private
1898
1898
  def initialize parent_rpcs = nil
1899
- create_instance_config = parent_rpcs&.create_instance if parent_rpcs&.respond_to? :create_instance
1899
+ create_instance_config = parent_rpcs.create_instance if parent_rpcs.respond_to? :create_instance
1900
1900
  @create_instance = ::Gapic::Config::Method.new create_instance_config
1901
- get_instance_config = parent_rpcs&.get_instance if parent_rpcs&.respond_to? :get_instance
1901
+ get_instance_config = parent_rpcs.get_instance if parent_rpcs.respond_to? :get_instance
1902
1902
  @get_instance = ::Gapic::Config::Method.new get_instance_config
1903
- list_instances_config = parent_rpcs&.list_instances if parent_rpcs&.respond_to? :list_instances
1903
+ list_instances_config = parent_rpcs.list_instances if parent_rpcs.respond_to? :list_instances
1904
1904
  @list_instances = ::Gapic::Config::Method.new list_instances_config
1905
- update_instance_config = parent_rpcs&.update_instance if parent_rpcs&.respond_to? :update_instance
1905
+ update_instance_config = parent_rpcs.update_instance if parent_rpcs.respond_to? :update_instance
1906
1906
  @update_instance = ::Gapic::Config::Method.new update_instance_config
1907
- partial_update_instance_config = parent_rpcs&.partial_update_instance if parent_rpcs&.respond_to? :partial_update_instance
1907
+ partial_update_instance_config = parent_rpcs.partial_update_instance if parent_rpcs.respond_to? :partial_update_instance
1908
1908
  @partial_update_instance = ::Gapic::Config::Method.new partial_update_instance_config
1909
- delete_instance_config = parent_rpcs&.delete_instance if parent_rpcs&.respond_to? :delete_instance
1909
+ delete_instance_config = parent_rpcs.delete_instance if parent_rpcs.respond_to? :delete_instance
1910
1910
  @delete_instance = ::Gapic::Config::Method.new delete_instance_config
1911
- create_cluster_config = parent_rpcs&.create_cluster if parent_rpcs&.respond_to? :create_cluster
1911
+ create_cluster_config = parent_rpcs.create_cluster if parent_rpcs.respond_to? :create_cluster
1912
1912
  @create_cluster = ::Gapic::Config::Method.new create_cluster_config
1913
- get_cluster_config = parent_rpcs&.get_cluster if parent_rpcs&.respond_to? :get_cluster
1913
+ get_cluster_config = parent_rpcs.get_cluster if parent_rpcs.respond_to? :get_cluster
1914
1914
  @get_cluster = ::Gapic::Config::Method.new get_cluster_config
1915
- list_clusters_config = parent_rpcs&.list_clusters if parent_rpcs&.respond_to? :list_clusters
1915
+ list_clusters_config = parent_rpcs.list_clusters if parent_rpcs.respond_to? :list_clusters
1916
1916
  @list_clusters = ::Gapic::Config::Method.new list_clusters_config
1917
- update_cluster_config = parent_rpcs&.update_cluster if parent_rpcs&.respond_to? :update_cluster
1917
+ update_cluster_config = parent_rpcs.update_cluster if parent_rpcs.respond_to? :update_cluster
1918
1918
  @update_cluster = ::Gapic::Config::Method.new update_cluster_config
1919
- delete_cluster_config = parent_rpcs&.delete_cluster if parent_rpcs&.respond_to? :delete_cluster
1919
+ delete_cluster_config = parent_rpcs.delete_cluster if parent_rpcs.respond_to? :delete_cluster
1920
1920
  @delete_cluster = ::Gapic::Config::Method.new delete_cluster_config
1921
- create_app_profile_config = parent_rpcs&.create_app_profile if parent_rpcs&.respond_to? :create_app_profile
1921
+ create_app_profile_config = parent_rpcs.create_app_profile if parent_rpcs.respond_to? :create_app_profile
1922
1922
  @create_app_profile = ::Gapic::Config::Method.new create_app_profile_config
1923
- get_app_profile_config = parent_rpcs&.get_app_profile if parent_rpcs&.respond_to? :get_app_profile
1923
+ get_app_profile_config = parent_rpcs.get_app_profile if parent_rpcs.respond_to? :get_app_profile
1924
1924
  @get_app_profile = ::Gapic::Config::Method.new get_app_profile_config
1925
- list_app_profiles_config = parent_rpcs&.list_app_profiles if parent_rpcs&.respond_to? :list_app_profiles
1925
+ list_app_profiles_config = parent_rpcs.list_app_profiles if parent_rpcs.respond_to? :list_app_profiles
1926
1926
  @list_app_profiles = ::Gapic::Config::Method.new list_app_profiles_config
1927
- update_app_profile_config = parent_rpcs&.update_app_profile if parent_rpcs&.respond_to? :update_app_profile
1927
+ update_app_profile_config = parent_rpcs.update_app_profile if parent_rpcs.respond_to? :update_app_profile
1928
1928
  @update_app_profile = ::Gapic::Config::Method.new update_app_profile_config
1929
- delete_app_profile_config = parent_rpcs&.delete_app_profile if parent_rpcs&.respond_to? :delete_app_profile
1929
+ delete_app_profile_config = parent_rpcs.delete_app_profile if parent_rpcs.respond_to? :delete_app_profile
1930
1930
  @delete_app_profile = ::Gapic::Config::Method.new delete_app_profile_config
1931
- get_iam_policy_config = parent_rpcs&.get_iam_policy if parent_rpcs&.respond_to? :get_iam_policy
1931
+ get_iam_policy_config = parent_rpcs.get_iam_policy if parent_rpcs.respond_to? :get_iam_policy
1932
1932
  @get_iam_policy = ::Gapic::Config::Method.new get_iam_policy_config
1933
- set_iam_policy_config = parent_rpcs&.set_iam_policy if parent_rpcs&.respond_to? :set_iam_policy
1933
+ set_iam_policy_config = parent_rpcs.set_iam_policy if parent_rpcs.respond_to? :set_iam_policy
1934
1934
  @set_iam_policy = ::Gapic::Config::Method.new set_iam_policy_config
1935
- test_iam_permissions_config = parent_rpcs&.test_iam_permissions if parent_rpcs&.respond_to? :test_iam_permissions
1935
+ test_iam_permissions_config = parent_rpcs.test_iam_permissions if parent_rpcs.respond_to? :test_iam_permissions
1936
1936
  @test_iam_permissions = ::Gapic::Config::Method.new test_iam_permissions_config
1937
1937
 
1938
1938
  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&.respond_to?(:rpcs)
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&.list_operations if parent_rpcs&.respond_to? :list_operations
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&.get_operation if parent_rpcs&.respond_to? :get_operation
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&.delete_operation if parent_rpcs&.respond_to? :delete_operation
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&.cancel_operation if parent_rpcs&.respond_to? :cancel_operation
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&.wait_operation if parent_rpcs&.respond_to? :wait_operation
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?
@@ -65,7 +65,7 @@ module Google
65
65
  parent_config = while namespace.any?
66
66
  parent_name = namespace.join "::"
67
67
  parent_const = const_get parent_name
68
- break parent_const.configure if parent_const&.respond_to? :configure
68
+ break parent_const.configure if parent_const.respond_to? :configure
69
69
  namespace.pop
70
70
  end
71
71
  default_config = Client::Configuration.new parent_config
@@ -75,17 +75,17 @@ module Google
75
75
  default_config.rpcs.list_tables.timeout = 60.0
76
76
  default_config.rpcs.list_tables.retry_policy = {
77
77
  initial_delay: 1.0,
78
- max_delay: 60.0,
79
- multiplier: 2,
80
- retry_codes: [14, 4]
78
+ max_delay: 60.0,
79
+ multiplier: 2,
80
+ retry_codes: [14, 4]
81
81
  }
82
82
 
83
83
  default_config.rpcs.get_table.timeout = 60.0
84
84
  default_config.rpcs.get_table.retry_policy = {
85
85
  initial_delay: 1.0,
86
- max_delay: 60.0,
87
- multiplier: 2,
88
- retry_codes: [14, 4]
86
+ max_delay: 60.0,
87
+ multiplier: 2,
88
+ retry_codes: [14, 4]
89
89
  }
90
90
 
91
91
  default_config.rpcs.delete_table.timeout = 60.0
@@ -97,43 +97,45 @@ module Google
97
97
  default_config.rpcs.generate_consistency_token.timeout = 60.0
98
98
  default_config.rpcs.generate_consistency_token.retry_policy = {
99
99
  initial_delay: 1.0,
100
- max_delay: 60.0,
101
- multiplier: 2,
102
- retry_codes: [14, 4]
100
+ max_delay: 60.0,
101
+ multiplier: 2,
102
+ retry_codes: [14, 4]
103
103
  }
104
104
 
105
105
  default_config.rpcs.check_consistency.timeout = 60.0
106
106
  default_config.rpcs.check_consistency.retry_policy = {
107
107
  initial_delay: 1.0,
108
- max_delay: 60.0,
109
- multiplier: 2,
110
- retry_codes: [14, 4]
108
+ max_delay: 60.0,
109
+ multiplier: 2,
110
+ retry_codes: [14, 4]
111
111
  }
112
112
 
113
113
  default_config.rpcs.get_snapshot.timeout = 60.0
114
114
  default_config.rpcs.get_snapshot.retry_policy = {
115
115
  initial_delay: 1.0,
116
- max_delay: 60.0,
117
- multiplier: 2,
118
- retry_codes: [14, 4]
116
+ max_delay: 60.0,
117
+ multiplier: 2,
118
+ retry_codes: [14, 4]
119
119
  }
120
120
 
121
121
  default_config.rpcs.list_snapshots.timeout = 60.0
122
122
  default_config.rpcs.list_snapshots.retry_policy = {
123
123
  initial_delay: 1.0,
124
- max_delay: 60.0,
125
- multiplier: 2,
126
- retry_codes: [14, 4]
124
+ max_delay: 60.0,
125
+ multiplier: 2,
126
+ retry_codes: [14, 4]
127
127
  }
128
128
 
129
129
  default_config.rpcs.delete_snapshot.timeout = 60.0
130
130
 
131
+ default_config.rpcs.create_backup.timeout = 60.0
132
+
131
133
  default_config.rpcs.get_backup.timeout = 60.0
132
134
  default_config.rpcs.get_backup.retry_policy = {
133
135
  initial_delay: 1.0,
134
- max_delay: 60.0,
135
- multiplier: 2,
136
- retry_codes: [14, 4]
136
+ max_delay: 60.0,
137
+ multiplier: 2,
138
+ retry_codes: [14, 4]
137
139
  }
138
140
 
139
141
  default_config.rpcs.update_backup.timeout = 60.0
@@ -143,17 +145,19 @@ module Google
143
145
  default_config.rpcs.list_backups.timeout = 60.0
144
146
  default_config.rpcs.list_backups.retry_policy = {
145
147
  initial_delay: 1.0,
146
- max_delay: 60.0,
147
- multiplier: 2,
148
- retry_codes: [14, 4]
148
+ max_delay: 60.0,
149
+ multiplier: 2,
150
+ retry_codes: [14, 4]
149
151
  }
150
152
 
153
+ default_config.rpcs.restore_table.timeout = 60.0
154
+
151
155
  default_config.rpcs.get_iam_policy.timeout = 60.0
152
156
  default_config.rpcs.get_iam_policy.retry_policy = {
153
157
  initial_delay: 1.0,
154
- max_delay: 60.0,
155
- multiplier: 2,
156
- retry_codes: [14, 4]
158
+ max_delay: 60.0,
159
+ multiplier: 2,
160
+ retry_codes: [14, 4]
157
161
  }
158
162
 
159
163
  default_config.rpcs.set_iam_policy.timeout = 60.0
@@ -161,9 +165,9 @@ module Google
161
165
  default_config.rpcs.test_iam_permissions.timeout = 60.0
162
166
  default_config.rpcs.test_iam_permissions.retry_policy = {
163
167
  initial_delay: 1.0,
164
- max_delay: 60.0,
165
- multiplier: 2,
166
- retry_codes: [14, 4]
168
+ max_delay: 60.0,
169
+ multiplier: 2,
170
+ retry_codes: [14, 4]
167
171
  }
168
172
 
169
173
  default_config
@@ -232,7 +236,7 @@ module Google
232
236
  enable_self_signed_jwt = @config.scope == Client.configure.scope &&
233
237
  @config.endpoint == Client.configure.endpoint &&
234
238
  !@config.endpoint.split(".").first.include?("-")
235
- credentials ||= Credentials.default scope: @config.scope,
239
+ credentials ||= Credentials.default scope: @config.scope,
236
240
  enable_self_signed_jwt: enable_self_signed_jwt
237
241
  if credentials.is_a?(String) || credentials.is_a?(Hash)
238
242
  credentials = Credentials.new credentials, scope: @config.scope
@@ -2098,7 +2102,7 @@ module Google
2098
2102
  config_attr :scope, nil, ::String, ::Array, nil
2099
2103
  config_attr :lib_name, nil, ::String, nil
2100
2104
  config_attr :lib_version, nil, ::String, nil
2101
- config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, ::Hash, nil)
2105
+ config_attr(:channel_args, { "grpc.service_config_disable_resolution" => 1 }, ::Hash, nil)
2102
2106
  config_attr :interceptors, nil, ::Array, nil
2103
2107
  config_attr :timeout, nil, ::Numeric, nil
2104
2108
  config_attr :metadata, nil, ::Hash, nil
@@ -2119,7 +2123,7 @@ module Google
2119
2123
  def rpcs
2120
2124
  @rpcs ||= begin
2121
2125
  parent_rpcs = nil
2122
- parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config&.respond_to?(:rpcs)
2126
+ parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config.respond_to?(:rpcs)
2123
2127
  Rpcs.new parent_rpcs
2124
2128
  end
2125
2129
  end
@@ -2255,49 +2259,49 @@ module Google
2255
2259
 
2256
2260
  # @private
2257
2261
  def initialize parent_rpcs = nil
2258
- create_table_config = parent_rpcs&.create_table if parent_rpcs&.respond_to? :create_table
2262
+ create_table_config = parent_rpcs.create_table if parent_rpcs.respond_to? :create_table
2259
2263
  @create_table = ::Gapic::Config::Method.new create_table_config
2260
- create_table_from_snapshot_config = parent_rpcs&.create_table_from_snapshot if parent_rpcs&.respond_to? :create_table_from_snapshot
2264
+ create_table_from_snapshot_config = parent_rpcs.create_table_from_snapshot if parent_rpcs.respond_to? :create_table_from_snapshot
2261
2265
  @create_table_from_snapshot = ::Gapic::Config::Method.new create_table_from_snapshot_config
2262
- list_tables_config = parent_rpcs&.list_tables if parent_rpcs&.respond_to? :list_tables
2266
+ list_tables_config = parent_rpcs.list_tables if parent_rpcs.respond_to? :list_tables
2263
2267
  @list_tables = ::Gapic::Config::Method.new list_tables_config
2264
- get_table_config = parent_rpcs&.get_table if parent_rpcs&.respond_to? :get_table
2268
+ get_table_config = parent_rpcs.get_table if parent_rpcs.respond_to? :get_table
2265
2269
  @get_table = ::Gapic::Config::Method.new get_table_config
2266
- delete_table_config = parent_rpcs&.delete_table if parent_rpcs&.respond_to? :delete_table
2270
+ delete_table_config = parent_rpcs.delete_table if parent_rpcs.respond_to? :delete_table
2267
2271
  @delete_table = ::Gapic::Config::Method.new delete_table_config
2268
- modify_column_families_config = parent_rpcs&.modify_column_families if parent_rpcs&.respond_to? :modify_column_families
2272
+ modify_column_families_config = parent_rpcs.modify_column_families if parent_rpcs.respond_to? :modify_column_families
2269
2273
  @modify_column_families = ::Gapic::Config::Method.new modify_column_families_config
2270
- drop_row_range_config = parent_rpcs&.drop_row_range if parent_rpcs&.respond_to? :drop_row_range
2274
+ drop_row_range_config = parent_rpcs.drop_row_range if parent_rpcs.respond_to? :drop_row_range
2271
2275
  @drop_row_range = ::Gapic::Config::Method.new drop_row_range_config
2272
- generate_consistency_token_config = parent_rpcs&.generate_consistency_token if parent_rpcs&.respond_to? :generate_consistency_token
2276
+ generate_consistency_token_config = parent_rpcs.generate_consistency_token if parent_rpcs.respond_to? :generate_consistency_token
2273
2277
  @generate_consistency_token = ::Gapic::Config::Method.new generate_consistency_token_config
2274
- check_consistency_config = parent_rpcs&.check_consistency if parent_rpcs&.respond_to? :check_consistency
2278
+ check_consistency_config = parent_rpcs.check_consistency if parent_rpcs.respond_to? :check_consistency
2275
2279
  @check_consistency = ::Gapic::Config::Method.new check_consistency_config
2276
- snapshot_table_config = parent_rpcs&.snapshot_table if parent_rpcs&.respond_to? :snapshot_table
2280
+ snapshot_table_config = parent_rpcs.snapshot_table if parent_rpcs.respond_to? :snapshot_table
2277
2281
  @snapshot_table = ::Gapic::Config::Method.new snapshot_table_config
2278
- get_snapshot_config = parent_rpcs&.get_snapshot if parent_rpcs&.respond_to? :get_snapshot
2282
+ get_snapshot_config = parent_rpcs.get_snapshot if parent_rpcs.respond_to? :get_snapshot
2279
2283
  @get_snapshot = ::Gapic::Config::Method.new get_snapshot_config
2280
- list_snapshots_config = parent_rpcs&.list_snapshots if parent_rpcs&.respond_to? :list_snapshots
2284
+ list_snapshots_config = parent_rpcs.list_snapshots if parent_rpcs.respond_to? :list_snapshots
2281
2285
  @list_snapshots = ::Gapic::Config::Method.new list_snapshots_config
2282
- delete_snapshot_config = parent_rpcs&.delete_snapshot if parent_rpcs&.respond_to? :delete_snapshot
2286
+ delete_snapshot_config = parent_rpcs.delete_snapshot if parent_rpcs.respond_to? :delete_snapshot
2283
2287
  @delete_snapshot = ::Gapic::Config::Method.new delete_snapshot_config
2284
- create_backup_config = parent_rpcs&.create_backup if parent_rpcs&.respond_to? :create_backup
2288
+ create_backup_config = parent_rpcs.create_backup if parent_rpcs.respond_to? :create_backup
2285
2289
  @create_backup = ::Gapic::Config::Method.new create_backup_config
2286
- get_backup_config = parent_rpcs&.get_backup if parent_rpcs&.respond_to? :get_backup
2290
+ get_backup_config = parent_rpcs.get_backup if parent_rpcs.respond_to? :get_backup
2287
2291
  @get_backup = ::Gapic::Config::Method.new get_backup_config
2288
- update_backup_config = parent_rpcs&.update_backup if parent_rpcs&.respond_to? :update_backup
2292
+ update_backup_config = parent_rpcs.update_backup if parent_rpcs.respond_to? :update_backup
2289
2293
  @update_backup = ::Gapic::Config::Method.new update_backup_config
2290
- delete_backup_config = parent_rpcs&.delete_backup if parent_rpcs&.respond_to? :delete_backup
2294
+ delete_backup_config = parent_rpcs.delete_backup if parent_rpcs.respond_to? :delete_backup
2291
2295
  @delete_backup = ::Gapic::Config::Method.new delete_backup_config
2292
- list_backups_config = parent_rpcs&.list_backups if parent_rpcs&.respond_to? :list_backups
2296
+ list_backups_config = parent_rpcs.list_backups if parent_rpcs.respond_to? :list_backups
2293
2297
  @list_backups = ::Gapic::Config::Method.new list_backups_config
2294
- restore_table_config = parent_rpcs&.restore_table if parent_rpcs&.respond_to? :restore_table
2298
+ restore_table_config = parent_rpcs.restore_table if parent_rpcs.respond_to? :restore_table
2295
2299
  @restore_table = ::Gapic::Config::Method.new restore_table_config
2296
- get_iam_policy_config = parent_rpcs&.get_iam_policy if parent_rpcs&.respond_to? :get_iam_policy
2300
+ get_iam_policy_config = parent_rpcs.get_iam_policy if parent_rpcs.respond_to? :get_iam_policy
2297
2301
  @get_iam_policy = ::Gapic::Config::Method.new get_iam_policy_config
2298
- set_iam_policy_config = parent_rpcs&.set_iam_policy if parent_rpcs&.respond_to? :set_iam_policy
2302
+ set_iam_policy_config = parent_rpcs.set_iam_policy if parent_rpcs.respond_to? :set_iam_policy
2299
2303
  @set_iam_policy = ::Gapic::Config::Method.new set_iam_policy_config
2300
- test_iam_permissions_config = parent_rpcs&.test_iam_permissions if parent_rpcs&.respond_to? :test_iam_permissions
2304
+ test_iam_permissions_config = parent_rpcs.test_iam_permissions if parent_rpcs.respond_to? :test_iam_permissions
2301
2305
  @test_iam_permissions = ::Gapic::Config::Method.new test_iam_permissions_config
2302
2306
 
2303
2307
  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&.respond_to?(:rpcs)
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&.list_operations if parent_rpcs&.respond_to? :list_operations
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&.get_operation if parent_rpcs&.respond_to? :get_operation
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&.delete_operation if parent_rpcs&.respond_to? :delete_operation
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&.cancel_operation if parent_rpcs&.respond_to? :cancel_operation
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&.wait_operation if parent_rpcs&.respond_to? :wait_operation
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?
@@ -22,7 +22,7 @@ module Google
22
22
  module Bigtable
23
23
  module Admin
24
24
  module V2
25
- VERSION = "0.4.0"
25
+ VERSION = "0.5.0"
26
26
  end
27
27
  end
28
28
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-bigtable-admin-v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.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-02-25 00:00:00.000000000 Z
11
+ date: 2021-03-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -64,14 +64,14 @@ dependencies:
64
64
  requirements:
65
65
  - - "~>"
66
66
  - !ruby/object:Gem::Version
67
- version: 1.24.0
67
+ version: 1.25.1
68
68
  type: :development
69
69
  prerelease: false
70
70
  version_requirements: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - "~>"
73
73
  - !ruby/object:Gem::Version
74
- version: 1.24.0
74
+ version: 1.25.1
75
75
  - !ruby/object:Gem::Dependency
76
76
  name: minitest
77
77
  requirement: !ruby/object:Gem::Requirement
@@ -235,14 +235,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
235
235
  requirements:
236
236
  - - ">="
237
237
  - !ruby/object:Gem::Version
238
- version: '2.4'
238
+ version: '2.5'
239
239
  required_rubygems_version: !ruby/object:Gem::Requirement
240
240
  requirements:
241
241
  - - ">="
242
242
  - !ruby/object:Gem::Version
243
243
  version: '0'
244
244
  requirements: []
245
- rubygems_version: 3.2.11
245
+ rubygems_version: 3.2.13
246
246
  signing_key:
247
247
  specification_version: 4
248
248
  summary: API Client library for the Cloud Bigtable Admin V2 API