google-cloud-bigtable-v2 0.21.0 → 1.0.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: 54630baa333b1966cf6996586ac740a4d9359479a77c03713bd9bab5b820556f
4
- data.tar.gz: 4999d5e00bb900cfb04f888df6bd075e5f29522e5b96747b3fc4a481ad0e7cfe
3
+ metadata.gz: b154c5ad5a4a7eb7c9f85416d27a039ce53e52242689715e708293ae54ae251a
4
+ data.tar.gz: 6462d6fb87c3a3ab603fba6994fae4a24e758bfa94b3aa88c11d4fa156042f67
5
5
  SHA512:
6
- metadata.gz: f4f4b083959b1d4cb6d0bee3224b845f8e9eae356d33b7843dc277829e9f83293a11efb2f1358c37ee3d5e13f43b8151dff8123320f8a7e94c772862942413c4
7
- data.tar.gz: 6291550497d6a930476ad4bc86cf894ec0d67b2d630b8246f52e2e6fb958e16384eb82b08ee7ce3eda88ec12a71db3ef156c307a63daddf98b4030c951714c68
6
+ metadata.gz: 44b1b150bd792b101a13cf5f407374848b4286c1dd7901101c3e003e9b2f54dfccd1164264e453ded0893eb660ddb483a8e2a1a15c3471d2cec670f378abab9e
7
+ data.tar.gz: d0dce1da73a41fd65745bd54187f59708462ca7574fb5f10450db66f62620f9dcf56e581fe0f017be17fddeddbd1ab89a24aaa0178a2ce0194a7cfdd3d4a770d
@@ -30,6 +30,9 @@ module Google
30
30
  # Service for reading from and writing to existing Bigtable tables.
31
31
  #
32
32
  class Client
33
+ # @private
34
+ API_VERSION = ""
35
+
33
36
  # @private
34
37
  DEFAULT_ENDPOINT_TEMPLATE = "bigtable.$UNIVERSE_DOMAIN$"
35
38
 
@@ -276,10 +279,11 @@ module Google
276
279
  # Customize the options with defaults
277
280
  metadata = @config.rpcs.read_rows.metadata.to_h
278
281
 
279
- # Set x-goog-api-client and x-goog-user-project headers
282
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
280
283
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
281
284
  lib_name: @config.lib_name, lib_version: @config.lib_version,
282
285
  gapic_version: ::Google::Cloud::Bigtable::V2::VERSION
286
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
283
287
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
284
288
 
285
289
  header_params = {}
@@ -387,10 +391,11 @@ module Google
387
391
  # Customize the options with defaults
388
392
  metadata = @config.rpcs.sample_row_keys.metadata.to_h
389
393
 
390
- # Set x-goog-api-client and x-goog-user-project headers
394
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
391
395
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
392
396
  lib_name: @config.lib_name, lib_version: @config.lib_version,
393
397
  gapic_version: ::Google::Cloud::Bigtable::V2::VERSION
398
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
394
399
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
395
400
 
396
401
  header_params = {}
@@ -500,10 +505,11 @@ module Google
500
505
  # Customize the options with defaults
501
506
  metadata = @config.rpcs.mutate_row.metadata.to_h
502
507
 
503
- # Set x-goog-api-client and x-goog-user-project headers
508
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
504
509
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
505
510
  lib_name: @config.lib_name, lib_version: @config.lib_version,
506
511
  gapic_version: ::Google::Cloud::Bigtable::V2::VERSION
512
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
507
513
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
508
514
 
509
515
  header_params = {}
@@ -617,10 +623,11 @@ module Google
617
623
  # Customize the options with defaults
618
624
  metadata = @config.rpcs.mutate_rows.metadata.to_h
619
625
 
620
- # Set x-goog-api-client and x-goog-user-project headers
626
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
621
627
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
622
628
  lib_name: @config.lib_name, lib_version: @config.lib_version,
623
629
  gapic_version: ::Google::Cloud::Bigtable::V2::VERSION
630
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
624
631
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
625
632
 
626
633
  header_params = {}
@@ -743,10 +750,11 @@ module Google
743
750
  # Customize the options with defaults
744
751
  metadata = @config.rpcs.check_and_mutate_row.metadata.to_h
745
752
 
746
- # Set x-goog-api-client and x-goog-user-project headers
753
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
747
754
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
748
755
  lib_name: @config.lib_name, lib_version: @config.lib_version,
749
756
  gapic_version: ::Google::Cloud::Bigtable::V2::VERSION
757
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
750
758
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
751
759
 
752
760
  header_params = {}
@@ -842,10 +850,11 @@ module Google
842
850
  # Customize the options with defaults
843
851
  metadata = @config.rpcs.ping_and_warm.metadata.to_h
844
852
 
845
- # Set x-goog-api-client and x-goog-user-project headers
853
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
846
854
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
847
855
  lib_name: @config.lib_name, lib_version: @config.lib_version,
848
856
  gapic_version: ::Google::Cloud::Bigtable::V2::VERSION
857
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
849
858
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
850
859
 
851
860
  header_params = {}
@@ -955,10 +964,11 @@ module Google
955
964
  # Customize the options with defaults
956
965
  metadata = @config.rpcs.read_modify_write_row.metadata.to_h
957
966
 
958
- # Set x-goog-api-client and x-goog-user-project headers
967
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
959
968
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
960
969
  lib_name: @config.lib_name, lib_version: @config.lib_version,
961
970
  gapic_version: ::Google::Cloud::Bigtable::V2::VERSION
971
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
962
972
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
963
973
 
964
974
  header_params = {}
@@ -1061,10 +1071,11 @@ module Google
1061
1071
  # Customize the options with defaults
1062
1072
  metadata = @config.rpcs.generate_initial_change_stream_partitions.metadata.to_h
1063
1073
 
1064
- # Set x-goog-api-client and x-goog-user-project headers
1074
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1065
1075
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1066
1076
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1067
1077
  gapic_version: ::Google::Cloud::Bigtable::V2::VERSION
1078
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1068
1079
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1069
1080
 
1070
1081
  header_params = {}
@@ -1184,10 +1195,11 @@ module Google
1184
1195
  # Customize the options with defaults
1185
1196
  metadata = @config.rpcs.read_change_stream.metadata.to_h
1186
1197
 
1187
- # Set x-goog-api-client and x-goog-user-project headers
1198
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1188
1199
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1189
1200
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1190
1201
  gapic_version: ::Google::Cloud::Bigtable::V2::VERSION
1202
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1191
1203
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1192
1204
 
1193
1205
  header_params = {}
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Bigtable
23
23
  module V2
24
- VERSION = "0.21.0"
24
+ VERSION = "1.0.0"
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-cloud-bigtable-v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.21.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-04-19 00:00:00.000000000 Z
11
+ date: 2024-07-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common