google-cloud-bigtable-v2 0.20.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: 2053ad735bcfedcdb7d561a1c2b3ab041356a9b7b2a697bf1dc5408990a7995e
4
- data.tar.gz: a8e2e9ec5c6b20f466c3c46a0c6c9ff492c6d8faee240a7cb88f28e21bb08de5
3
+ metadata.gz: b154c5ad5a4a7eb7c9f85416d27a039ce53e52242689715e708293ae54ae251a
4
+ data.tar.gz: 6462d6fb87c3a3ab603fba6994fae4a24e758bfa94b3aa88c11d4fa156042f67
5
5
  SHA512:
6
- metadata.gz: 78b42e62b82333a02d0d5263990a0fd96a7f183367b6830d917012b024aad06e01ecdcbff8e63ff1fa8592f6d30613eb5c7804334dc58bbb1cb2e6aac0f1a806
7
- data.tar.gz: a3601b381d064146f4f126fd847bd8e00df21ad88eb980e31f5f99a4c379bc02e7ba5f27020aac72a86b37147aeec108d893b7a969bc063594c3f2341544ffa5
6
+ metadata.gz: 44b1b150bd792b101a13cf5f407374848b4286c1dd7901101c3e003e9b2f54dfccd1164264e453ded0893eb660ddb483a8e2a1a15c3471d2cec670f378abab9e
7
+ data.tar.gz: d0dce1da73a41fd65745bd54187f59708462ca7574fb5f10450db66f62620f9dcf56e581fe0f017be17fddeddbd1ab89a24aaa0178a2ce0194a7cfdd3d4a770d
@@ -5,7 +5,7 @@
5
5
  require 'google/protobuf'
6
6
 
7
7
 
8
- descriptor_data = "\n&google/bigtable/v2/feature_flags.proto\x12\x12google.bigtable.v2\"\xb6\x01\n\x0c\x46\x65\x61tureFlags\x12\x15\n\rreverse_scans\x18\x01 \x01(\x08\x12\x1e\n\x16mutate_rows_rate_limit\x18\x03 \x01(\x08\x12\x1f\n\x17mutate_rows_rate_limit2\x18\x05 \x01(\x08\x12\"\n\x1alast_scanned_row_responses\x18\x04 \x01(\x08\x12\x16\n\x0erouting_cookie\x18\x06 \x01(\x08\x12\x12\n\nretry_info\x18\x07 \x01(\x08\x42\xbd\x01\n\x16\x63om.google.bigtable.v2B\x11\x46\x65\x61tureFlagsProtoP\x01Z:google.golang.org/genproto/googleapis/bigtable/v2;bigtable\xaa\x02\x18Google.Cloud.Bigtable.V2\xca\x02\x18Google\\Cloud\\Bigtable\\V2\xea\x02\x1bGoogle::Cloud::Bigtable::V2b\x06proto3"
8
+ descriptor_data = "\n&google/bigtable/v2/feature_flags.proto\x12\x12google.bigtable.v2\"\xdb\x01\n\x0c\x46\x65\x61tureFlags\x12\x15\n\rreverse_scans\x18\x01 \x01(\x08\x12\x1e\n\x16mutate_rows_rate_limit\x18\x03 \x01(\x08\x12\x1f\n\x17mutate_rows_rate_limit2\x18\x05 \x01(\x08\x12\"\n\x1alast_scanned_row_responses\x18\x04 \x01(\x08\x12\x16\n\x0erouting_cookie\x18\x06 \x01(\x08\x12\x12\n\nretry_info\x18\x07 \x01(\x08\x12#\n\x1b\x63lient_side_metrics_enabled\x18\x08 \x01(\x08\x42\xbd\x01\n\x16\x63om.google.bigtable.v2B\x11\x46\x65\x61tureFlagsProtoP\x01Z:google.golang.org/genproto/googleapis/bigtable/v2;bigtable\xaa\x02\x18Google.Cloud.Bigtable.V2\xca\x02\x18Google\\Cloud\\Bigtable\\V2\xea\x02\x1bGoogle::Cloud::Bigtable::V2b\x06proto3"
9
9
 
10
10
  pool = Google::Protobuf::DescriptorPool.generated_pool
11
11
 
@@ -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.20.0"
24
+ VERSION = "1.0.0"
25
25
  end
26
26
  end
27
27
  end
@@ -55,6 +55,9 @@ module Google
55
55
  # @return [::Boolean]
56
56
  # Notify the server that the client supports using retry info back off
57
57
  # durations to retry requests with.
58
+ # @!attribute [rw] client_side_metrics_enabled
59
+ # @return [::Boolean]
60
+ # Notify the server that the client has client side metrics enabled.
58
61
  class FeatureFlags
59
62
  include ::Google::Protobuf::MessageExts
60
63
  extend ::Google::Protobuf::MessageExts::ClassMethods
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.20.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-03-10 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