google-area120-tables-v1alpha1 0.2.2 → 0.2.3

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: 6d33149d7026cabaeed78ee3f53c6d644a52fe2bd64448588bf31032aac97276
4
- data.tar.gz: 8b24d1df8532e6020ea493fa5b34bce07a7d50e283d8244eed167b7d8ed6e144
3
+ metadata.gz: 8bdbd011dd4ed53256374b66246d86684df74bf9f7e3eca80c4cc496fa25d46d
4
+ data.tar.gz: 9db53a244886f9918f137feb13d8aaf6f7e4ded596f2b3a17ecdd596743d4987
5
5
  SHA512:
6
- metadata.gz: f2e71200473e8a203ec206023f3831d71b8f83b9af9e84945df9f28653bf5ec0029f898aa77e0274e18cc830f88e7f8ebaff1e4633da8f6fbf18130b0198c1d7
7
- data.tar.gz: 7698c562fa653aa10180cbaf4cad5e3522a10e1492d1819132bd9afcf70bb6bf62f759f65ca7d487e0ac216eee365b11bc060213b44d059f5c3a347f21d3d612
6
+ metadata.gz: 05f6c95e01c7134987bffdc615d4f1ef0cfa8adb2fece5467ac65609de185275bb71827cd400e5964bf095ab373d9d45050af4ef6c2909dcaedbfe70c9c73732
7
+ data.tar.gz: f7d959c52bd996421a85fa13796616d34ea3bd7fbd23fcba312147097003b2dc42f37a0fa4d83a316dae25492595fa13f224011fc7a76571f868665060397d64
@@ -52,13 +52,12 @@ module Google
52
52
  # See {::Google::Area120::Tables::V1alpha1::TablesService::Client::Configuration}
53
53
  # for a description of the configuration fields.
54
54
  #
55
- # ## Example
55
+ # @example
56
56
  #
57
- # To modify the configuration for all TablesService clients:
58
- #
59
- # ::Google::Area120::Tables::V1alpha1::TablesService::Client.configure do |config|
60
- # config.timeout = 10.0
61
- # end
57
+ # # Modify the configuration for all TablesService clients
58
+ # ::Google::Area120::Tables::V1alpha1::TablesService::Client.configure do |config|
59
+ # config.timeout = 10.0
60
+ # end
62
61
  #
63
62
  # @yield [config] Configure the Client client.
64
63
  # @yieldparam config [Client::Configuration]
@@ -134,19 +133,15 @@ module Google
134
133
  ##
135
134
  # Create a new TablesService client object.
136
135
  #
137
- # ## Examples
138
- #
139
- # To create a new TablesService client with the default
140
- # configuration:
141
- #
142
- # client = ::Google::Area120::Tables::V1alpha1::TablesService::Client.new
136
+ # @example
143
137
  #
144
- # To create a new TablesService client with a custom
145
- # configuration:
138
+ # # Create a client using the default configuration
139
+ # client = ::Google::Area120::Tables::V1alpha1::TablesService::Client.new
146
140
  #
147
- # client = ::Google::Area120::Tables::V1alpha1::TablesService::Client.new do |config|
148
- # config.timeout = 10.0
149
- # end
141
+ # # Create a client using a custom configuration
142
+ # client = ::Google::Area120::Tables::V1alpha1::TablesService::Client.new do |config|
143
+ # config.timeout = 10.0
144
+ # end
150
145
  #
151
146
  # @yield [config] Configure the TablesService client.
152
147
  # @yieldparam config [Client::Configuration]
@@ -166,10 +161,9 @@ module Google
166
161
 
167
162
  # Create credentials
168
163
  credentials = @config.credentials
169
- # Use self-signed JWT if the scope and endpoint are unchanged from default,
164
+ # Use self-signed JWT if the endpoint is unchanged from default,
170
165
  # but only if the default endpoint does not have a region prefix.
171
- enable_self_signed_jwt = @config.scope == Client.configure.scope &&
172
- @config.endpoint == Client.configure.endpoint &&
166
+ enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
173
167
  !@config.endpoint.split(".").first.include?("-")
174
168
  credentials ||= Credentials.default scope: @config.scope,
175
169
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -246,7 +240,9 @@ module Google
246
240
  options.apply_defaults timeout: @config.rpcs.get_table.timeout,
247
241
  metadata: metadata,
248
242
  retry_policy: @config.rpcs.get_table.retry_policy
249
- options.apply_defaults metadata: @config.metadata,
243
+
244
+ options.apply_defaults timeout: @config.timeout,
245
+ metadata: @config.metadata,
250
246
  retry_policy: @config.retry_policy
251
247
 
252
248
  @tables_service_stub.call_rpc :get_table, request, options: options do |response, operation|
@@ -316,7 +312,9 @@ module Google
316
312
  options.apply_defaults timeout: @config.rpcs.list_tables.timeout,
317
313
  metadata: metadata,
318
314
  retry_policy: @config.rpcs.list_tables.retry_policy
319
- options.apply_defaults metadata: @config.metadata,
315
+
316
+ options.apply_defaults timeout: @config.timeout,
317
+ metadata: @config.metadata,
320
318
  retry_policy: @config.retry_policy
321
319
 
322
320
  @tables_service_stub.call_rpc :list_tables, request, options: options do |response, operation|
@@ -384,7 +382,9 @@ module Google
384
382
  options.apply_defaults timeout: @config.rpcs.get_workspace.timeout,
385
383
  metadata: metadata,
386
384
  retry_policy: @config.rpcs.get_workspace.retry_policy
387
- options.apply_defaults metadata: @config.metadata,
385
+
386
+ options.apply_defaults timeout: @config.timeout,
387
+ metadata: @config.metadata,
388
388
  retry_policy: @config.retry_policy
389
389
 
390
390
  @tables_service_stub.call_rpc :get_workspace, request, options: options do |response, operation|
@@ -454,7 +454,9 @@ module Google
454
454
  options.apply_defaults timeout: @config.rpcs.list_workspaces.timeout,
455
455
  metadata: metadata,
456
456
  retry_policy: @config.rpcs.list_workspaces.retry_policy
457
- options.apply_defaults metadata: @config.metadata,
457
+
458
+ options.apply_defaults timeout: @config.timeout,
459
+ metadata: @config.metadata,
458
460
  retry_policy: @config.retry_policy
459
461
 
460
462
  @tables_service_stub.call_rpc :list_workspaces, request, options: options do |response, operation|
@@ -525,7 +527,9 @@ module Google
525
527
  options.apply_defaults timeout: @config.rpcs.get_row.timeout,
526
528
  metadata: metadata,
527
529
  retry_policy: @config.rpcs.get_row.retry_policy
528
- options.apply_defaults metadata: @config.metadata,
530
+
531
+ options.apply_defaults timeout: @config.timeout,
532
+ metadata: @config.metadata,
529
533
  retry_policy: @config.retry_policy
530
534
 
531
535
  @tables_service_stub.call_rpc :get_row, request, options: options do |response, operation|
@@ -611,7 +615,9 @@ module Google
611
615
  options.apply_defaults timeout: @config.rpcs.list_rows.timeout,
612
616
  metadata: metadata,
613
617
  retry_policy: @config.rpcs.list_rows.retry_policy
614
- options.apply_defaults metadata: @config.metadata,
618
+
619
+ options.apply_defaults timeout: @config.timeout,
620
+ metadata: @config.metadata,
615
621
  retry_policy: @config.retry_policy
616
622
 
617
623
  @tables_service_stub.call_rpc :list_rows, request, options: options do |response, operation|
@@ -684,7 +690,9 @@ module Google
684
690
  options.apply_defaults timeout: @config.rpcs.create_row.timeout,
685
691
  metadata: metadata,
686
692
  retry_policy: @config.rpcs.create_row.retry_policy
687
- options.apply_defaults metadata: @config.metadata,
693
+
694
+ options.apply_defaults timeout: @config.timeout,
695
+ metadata: @config.metadata,
688
696
  retry_policy: @config.retry_policy
689
697
 
690
698
  @tables_service_stub.call_rpc :create_row, request, options: options do |response, operation|
@@ -755,7 +763,9 @@ module Google
755
763
  options.apply_defaults timeout: @config.rpcs.batch_create_rows.timeout,
756
764
  metadata: metadata,
757
765
  retry_policy: @config.rpcs.batch_create_rows.retry_policy
758
- options.apply_defaults metadata: @config.metadata,
766
+
767
+ options.apply_defaults timeout: @config.timeout,
768
+ metadata: @config.metadata,
759
769
  retry_policy: @config.retry_policy
760
770
 
761
771
  @tables_service_stub.call_rpc :batch_create_rows, request, options: options do |response, operation|
@@ -826,7 +836,9 @@ module Google
826
836
  options.apply_defaults timeout: @config.rpcs.update_row.timeout,
827
837
  metadata: metadata,
828
838
  retry_policy: @config.rpcs.update_row.retry_policy
829
- options.apply_defaults metadata: @config.metadata,
839
+
840
+ options.apply_defaults timeout: @config.timeout,
841
+ metadata: @config.metadata,
830
842
  retry_policy: @config.retry_policy
831
843
 
832
844
  @tables_service_stub.call_rpc :update_row, request, options: options do |response, operation|
@@ -897,7 +909,9 @@ module Google
897
909
  options.apply_defaults timeout: @config.rpcs.batch_update_rows.timeout,
898
910
  metadata: metadata,
899
911
  retry_policy: @config.rpcs.batch_update_rows.retry_policy
900
- options.apply_defaults metadata: @config.metadata,
912
+
913
+ options.apply_defaults timeout: @config.timeout,
914
+ metadata: @config.metadata,
901
915
  retry_policy: @config.retry_policy
902
916
 
903
917
  @tables_service_stub.call_rpc :batch_update_rows, request, options: options do |response, operation|
@@ -964,7 +978,9 @@ module Google
964
978
  options.apply_defaults timeout: @config.rpcs.delete_row.timeout,
965
979
  metadata: metadata,
966
980
  retry_policy: @config.rpcs.delete_row.retry_policy
967
- options.apply_defaults metadata: @config.metadata,
981
+
982
+ options.apply_defaults timeout: @config.timeout,
983
+ metadata: @config.metadata,
968
984
  retry_policy: @config.retry_policy
969
985
 
970
986
  @tables_service_stub.call_rpc :delete_row, request, options: options do |response, operation|
@@ -1036,7 +1052,9 @@ module Google
1036
1052
  options.apply_defaults timeout: @config.rpcs.batch_delete_rows.timeout,
1037
1053
  metadata: metadata,
1038
1054
  retry_policy: @config.rpcs.batch_delete_rows.retry_policy
1039
- options.apply_defaults metadata: @config.metadata,
1055
+
1056
+ options.apply_defaults timeout: @config.timeout,
1057
+ metadata: @config.metadata,
1040
1058
  retry_policy: @config.retry_policy
1041
1059
 
1042
1060
  @tables_service_stub.call_rpc :batch_delete_rows, request, options: options do |response, operation|
@@ -1060,22 +1078,21 @@ module Google
1060
1078
  # Configuration can be applied globally to all clients, or to a single client
1061
1079
  # on construction.
1062
1080
  #
1063
- # # Examples
1064
- #
1065
- # To modify the global config, setting the timeout for get_table
1066
- # to 20 seconds, and all remaining timeouts to 10 seconds:
1067
- #
1068
- # ::Google::Area120::Tables::V1alpha1::TablesService::Client.configure do |config|
1069
- # config.timeout = 10.0
1070
- # config.rpcs.get_table.timeout = 20.0
1071
- # end
1072
- #
1073
- # To apply the above configuration only to a new client:
1074
- #
1075
- # client = ::Google::Area120::Tables::V1alpha1::TablesService::Client.new do |config|
1076
- # config.timeout = 10.0
1077
- # config.rpcs.get_table.timeout = 20.0
1078
- # end
1081
+ # @example
1082
+ #
1083
+ # # Modify the global config, setting the timeout for
1084
+ # # get_table to 20 seconds,
1085
+ # # and all remaining timeouts to 10 seconds.
1086
+ # ::Google::Area120::Tables::V1alpha1::TablesService::Client.configure do |config|
1087
+ # config.timeout = 10.0
1088
+ # config.rpcs.get_table.timeout = 20.0
1089
+ # end
1090
+ #
1091
+ # # Apply the above configuration only to a new client.
1092
+ # client = ::Google::Area120::Tables::V1alpha1::TablesService::Client.new do |config|
1093
+ # config.timeout = 10.0
1094
+ # config.rpcs.get_table.timeout = 20.0
1095
+ # end
1079
1096
  #
1080
1097
  # @!attribute [rw] endpoint
1081
1098
  # The hostname or hostname:port of the service endpoint.
@@ -21,7 +21,7 @@ module Google
21
21
  module Area120
22
22
  module Tables
23
23
  module V1alpha1
24
- VERSION = "0.2.2"
24
+ VERSION = "0.2.3"
25
25
  end
26
26
  end
27
27
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-area120-tables-v1alpha1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
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-07-12 00:00:00.000000000 Z
11
+ date: 2021-08-11 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.5'
19
+ version: '0.7'
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.5'
29
+ version: '0.7'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a