google-cloud-bigtable-v2 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.yardopts +12 -0
- data/AUTHENTICATION.md +169 -0
- data/LICENSE.md +203 -0
- data/README.md +75 -0
- data/lib/google-cloud-bigtable-v2.rb +21 -0
- data/lib/google/bigtable/v2/bigtable_pb.rb +116 -0
- data/lib/google/bigtable/v2/bigtable_services_pb.rb +69 -0
- data/lib/google/bigtable/v2/data_pb.rb +159 -0
- data/lib/google/cloud/bigtable/v2.rb +35 -0
- data/lib/google/cloud/bigtable/v2/bigtable.rb +49 -0
- data/lib/google/cloud/bigtable/v2/bigtable/client.rb +841 -0
- data/lib/google/cloud/bigtable/v2/bigtable/credentials.rb +56 -0
- data/lib/google/cloud/bigtable/v2/bigtable/helpers.rb +22 -0
- data/lib/google/cloud/bigtable/v2/bigtable/paths.rb +52 -0
- data/lib/google/cloud/bigtable/v2/version.rb +28 -0
- data/proto_docs/README.md +4 -0
- data/proto_docs/google/api/field_behavior.rb +59 -0
- data/proto_docs/google/api/resource.rb +247 -0
- data/proto_docs/google/bigtable/v2/bigtable.rb +341 -0
- data/proto_docs/google/bigtable/v2/data.rb +556 -0
- data/proto_docs/google/protobuf/any.rb +138 -0
- data/proto_docs/google/protobuf/wrappers.rb +121 -0
- data/proto_docs/google/rpc/status.rb +46 -0
- metadata +206 -0
@@ -0,0 +1,21 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2020 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
# This gem does not autoload during Bundler.require. To load this gem,
|
20
|
+
# issue explicit require statements for the packages desired, e.g.:
|
21
|
+
# require "google/cloud/bigtable/v2"
|
@@ -0,0 +1,116 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/bigtable/v2/bigtable.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/api/annotations_pb'
|
7
|
+
require 'google/api/client_pb'
|
8
|
+
require 'google/api/field_behavior_pb'
|
9
|
+
require 'google/api/resource_pb'
|
10
|
+
require 'google/bigtable/v2/data_pb'
|
11
|
+
require 'google/protobuf/wrappers_pb'
|
12
|
+
require 'google/rpc/status_pb'
|
13
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
14
|
+
add_file("google/bigtable/v2/bigtable.proto", :syntax => :proto3) do
|
15
|
+
add_message "google.bigtable.v2.ReadRowsRequest" do
|
16
|
+
optional :table_name, :string, 1
|
17
|
+
optional :app_profile_id, :string, 5
|
18
|
+
optional :rows, :message, 2, "google.bigtable.v2.RowSet"
|
19
|
+
optional :filter, :message, 3, "google.bigtable.v2.RowFilter"
|
20
|
+
optional :rows_limit, :int64, 4
|
21
|
+
end
|
22
|
+
add_message "google.bigtable.v2.ReadRowsResponse" do
|
23
|
+
repeated :chunks, :message, 1, "google.bigtable.v2.ReadRowsResponse.CellChunk"
|
24
|
+
optional :last_scanned_row_key, :bytes, 2
|
25
|
+
end
|
26
|
+
add_message "google.bigtable.v2.ReadRowsResponse.CellChunk" do
|
27
|
+
optional :row_key, :bytes, 1
|
28
|
+
optional :family_name, :message, 2, "google.protobuf.StringValue"
|
29
|
+
optional :qualifier, :message, 3, "google.protobuf.BytesValue"
|
30
|
+
optional :timestamp_micros, :int64, 4
|
31
|
+
repeated :labels, :string, 5
|
32
|
+
optional :value, :bytes, 6
|
33
|
+
optional :value_size, :int32, 7
|
34
|
+
oneof :row_status do
|
35
|
+
optional :reset_row, :bool, 8
|
36
|
+
optional :commit_row, :bool, 9
|
37
|
+
end
|
38
|
+
end
|
39
|
+
add_message "google.bigtable.v2.SampleRowKeysRequest" do
|
40
|
+
optional :table_name, :string, 1
|
41
|
+
optional :app_profile_id, :string, 2
|
42
|
+
end
|
43
|
+
add_message "google.bigtable.v2.SampleRowKeysResponse" do
|
44
|
+
optional :row_key, :bytes, 1
|
45
|
+
optional :offset_bytes, :int64, 2
|
46
|
+
end
|
47
|
+
add_message "google.bigtable.v2.MutateRowRequest" do
|
48
|
+
optional :table_name, :string, 1
|
49
|
+
optional :app_profile_id, :string, 4
|
50
|
+
optional :row_key, :bytes, 2
|
51
|
+
repeated :mutations, :message, 3, "google.bigtable.v2.Mutation"
|
52
|
+
end
|
53
|
+
add_message "google.bigtable.v2.MutateRowResponse" do
|
54
|
+
end
|
55
|
+
add_message "google.bigtable.v2.MutateRowsRequest" do
|
56
|
+
optional :table_name, :string, 1
|
57
|
+
optional :app_profile_id, :string, 3
|
58
|
+
repeated :entries, :message, 2, "google.bigtable.v2.MutateRowsRequest.Entry"
|
59
|
+
end
|
60
|
+
add_message "google.bigtable.v2.MutateRowsRequest.Entry" do
|
61
|
+
optional :row_key, :bytes, 1
|
62
|
+
repeated :mutations, :message, 2, "google.bigtable.v2.Mutation"
|
63
|
+
end
|
64
|
+
add_message "google.bigtable.v2.MutateRowsResponse" do
|
65
|
+
repeated :entries, :message, 1, "google.bigtable.v2.MutateRowsResponse.Entry"
|
66
|
+
end
|
67
|
+
add_message "google.bigtable.v2.MutateRowsResponse.Entry" do
|
68
|
+
optional :index, :int64, 1
|
69
|
+
optional :status, :message, 2, "google.rpc.Status"
|
70
|
+
end
|
71
|
+
add_message "google.bigtable.v2.CheckAndMutateRowRequest" do
|
72
|
+
optional :table_name, :string, 1
|
73
|
+
optional :app_profile_id, :string, 7
|
74
|
+
optional :row_key, :bytes, 2
|
75
|
+
optional :predicate_filter, :message, 6, "google.bigtable.v2.RowFilter"
|
76
|
+
repeated :true_mutations, :message, 4, "google.bigtable.v2.Mutation"
|
77
|
+
repeated :false_mutations, :message, 5, "google.bigtable.v2.Mutation"
|
78
|
+
end
|
79
|
+
add_message "google.bigtable.v2.CheckAndMutateRowResponse" do
|
80
|
+
optional :predicate_matched, :bool, 1
|
81
|
+
end
|
82
|
+
add_message "google.bigtable.v2.ReadModifyWriteRowRequest" do
|
83
|
+
optional :table_name, :string, 1
|
84
|
+
optional :app_profile_id, :string, 4
|
85
|
+
optional :row_key, :bytes, 2
|
86
|
+
repeated :rules, :message, 3, "google.bigtable.v2.ReadModifyWriteRule"
|
87
|
+
end
|
88
|
+
add_message "google.bigtable.v2.ReadModifyWriteRowResponse" do
|
89
|
+
optional :row, :message, 1, "google.bigtable.v2.Row"
|
90
|
+
end
|
91
|
+
end
|
92
|
+
end
|
93
|
+
|
94
|
+
module Google
|
95
|
+
module Cloud
|
96
|
+
module Bigtable
|
97
|
+
module V2
|
98
|
+
ReadRowsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.ReadRowsRequest").msgclass
|
99
|
+
ReadRowsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.ReadRowsResponse").msgclass
|
100
|
+
ReadRowsResponse::CellChunk = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.ReadRowsResponse.CellChunk").msgclass
|
101
|
+
SampleRowKeysRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.SampleRowKeysRequest").msgclass
|
102
|
+
SampleRowKeysResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.SampleRowKeysResponse").msgclass
|
103
|
+
MutateRowRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.MutateRowRequest").msgclass
|
104
|
+
MutateRowResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.MutateRowResponse").msgclass
|
105
|
+
MutateRowsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.MutateRowsRequest").msgclass
|
106
|
+
MutateRowsRequest::Entry = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.MutateRowsRequest.Entry").msgclass
|
107
|
+
MutateRowsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.MutateRowsResponse").msgclass
|
108
|
+
MutateRowsResponse::Entry = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.MutateRowsResponse.Entry").msgclass
|
109
|
+
CheckAndMutateRowRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.CheckAndMutateRowRequest").msgclass
|
110
|
+
CheckAndMutateRowResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.CheckAndMutateRowResponse").msgclass
|
111
|
+
ReadModifyWriteRowRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.ReadModifyWriteRowRequest").msgclass
|
112
|
+
ReadModifyWriteRowResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.ReadModifyWriteRowResponse").msgclass
|
113
|
+
end
|
114
|
+
end
|
115
|
+
end
|
116
|
+
end
|
@@ -0,0 +1,69 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# Source: google/bigtable/v2/bigtable.proto for package 'Google.Cloud.Bigtable.V2'
|
3
|
+
# Original file comments:
|
4
|
+
# Copyright 2019 Google LLC.
|
5
|
+
#
|
6
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
7
|
+
# you may not use this file except in compliance with the License.
|
8
|
+
# You may obtain a copy of the License at
|
9
|
+
#
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
11
|
+
#
|
12
|
+
# Unless required by applicable law or agreed to in writing, software
|
13
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
+
# See the License for the specific language governing permissions and
|
16
|
+
# limitations under the License.
|
17
|
+
#
|
18
|
+
|
19
|
+
require 'grpc'
|
20
|
+
require 'google/bigtable/v2/bigtable_pb'
|
21
|
+
|
22
|
+
module Google
|
23
|
+
module Cloud
|
24
|
+
module Bigtable
|
25
|
+
module V2
|
26
|
+
module Bigtable
|
27
|
+
# Service for reading from and writing to existing Bigtable tables.
|
28
|
+
class Service
|
29
|
+
|
30
|
+
include GRPC::GenericService
|
31
|
+
|
32
|
+
self.marshal_class_method = :encode
|
33
|
+
self.unmarshal_class_method = :decode
|
34
|
+
self.service_name = 'google.bigtable.v2.Bigtable'
|
35
|
+
|
36
|
+
# Streams back the contents of all requested rows in key order, optionally
|
37
|
+
# applying the same Reader filter to each. Depending on their size,
|
38
|
+
# rows and cells may be broken up across multiple responses, but
|
39
|
+
# atomicity of each row will still be preserved. See the
|
40
|
+
# ReadRowsResponse documentation for details.
|
41
|
+
rpc :ReadRows, Google::Cloud::Bigtable::V2::ReadRowsRequest, stream(Google::Cloud::Bigtable::V2::ReadRowsResponse)
|
42
|
+
# Returns a sample of row keys in the table. The returned row keys will
|
43
|
+
# delimit contiguous sections of the table of approximately equal size,
|
44
|
+
# which can be used to break up the data for distributed tasks like
|
45
|
+
# mapreduces.
|
46
|
+
rpc :SampleRowKeys, Google::Cloud::Bigtable::V2::SampleRowKeysRequest, stream(Google::Cloud::Bigtable::V2::SampleRowKeysResponse)
|
47
|
+
# Mutates a row atomically. Cells already present in the row are left
|
48
|
+
# unchanged unless explicitly changed by `mutation`.
|
49
|
+
rpc :MutateRow, Google::Cloud::Bigtable::V2::MutateRowRequest, Google::Cloud::Bigtable::V2::MutateRowResponse
|
50
|
+
# Mutates multiple rows in a batch. Each individual row is mutated
|
51
|
+
# atomically as in MutateRow, but the entire batch is not executed
|
52
|
+
# atomically.
|
53
|
+
rpc :MutateRows, Google::Cloud::Bigtable::V2::MutateRowsRequest, stream(Google::Cloud::Bigtable::V2::MutateRowsResponse)
|
54
|
+
# Mutates a row atomically based on the output of a predicate Reader filter.
|
55
|
+
rpc :CheckAndMutateRow, Google::Cloud::Bigtable::V2::CheckAndMutateRowRequest, Google::Cloud::Bigtable::V2::CheckAndMutateRowResponse
|
56
|
+
# Modifies a row atomically on the server. The method reads the latest
|
57
|
+
# existing timestamp and value from the specified columns and writes a new
|
58
|
+
# entry based on pre-defined read/modify/write rules. The new value for the
|
59
|
+
# timestamp is the greater of the existing timestamp or the current server
|
60
|
+
# time. The method returns the new contents of all modified cells.
|
61
|
+
rpc :ReadModifyWriteRow, Google::Cloud::Bigtable::V2::ReadModifyWriteRowRequest, Google::Cloud::Bigtable::V2::ReadModifyWriteRowResponse
|
62
|
+
end
|
63
|
+
|
64
|
+
Stub = Service.rpc_stub_class
|
65
|
+
end
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|
@@ -0,0 +1,159 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/bigtable/v2/data.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
+
add_file("google/bigtable/v2/data.proto", :syntax => :proto3) do
|
8
|
+
add_message "google.bigtable.v2.Row" do
|
9
|
+
optional :key, :bytes, 1
|
10
|
+
repeated :families, :message, 2, "google.bigtable.v2.Family"
|
11
|
+
end
|
12
|
+
add_message "google.bigtable.v2.Family" do
|
13
|
+
optional :name, :string, 1
|
14
|
+
repeated :columns, :message, 2, "google.bigtable.v2.Column"
|
15
|
+
end
|
16
|
+
add_message "google.bigtable.v2.Column" do
|
17
|
+
optional :qualifier, :bytes, 1
|
18
|
+
repeated :cells, :message, 2, "google.bigtable.v2.Cell"
|
19
|
+
end
|
20
|
+
add_message "google.bigtable.v2.Cell" do
|
21
|
+
optional :timestamp_micros, :int64, 1
|
22
|
+
optional :value, :bytes, 2
|
23
|
+
repeated :labels, :string, 3
|
24
|
+
end
|
25
|
+
add_message "google.bigtable.v2.RowRange" do
|
26
|
+
oneof :start_key do
|
27
|
+
optional :start_key_closed, :bytes, 1
|
28
|
+
optional :start_key_open, :bytes, 2
|
29
|
+
end
|
30
|
+
oneof :end_key do
|
31
|
+
optional :end_key_open, :bytes, 3
|
32
|
+
optional :end_key_closed, :bytes, 4
|
33
|
+
end
|
34
|
+
end
|
35
|
+
add_message "google.bigtable.v2.RowSet" do
|
36
|
+
repeated :row_keys, :bytes, 1
|
37
|
+
repeated :row_ranges, :message, 2, "google.bigtable.v2.RowRange"
|
38
|
+
end
|
39
|
+
add_message "google.bigtable.v2.ColumnRange" do
|
40
|
+
optional :family_name, :string, 1
|
41
|
+
oneof :start_qualifier do
|
42
|
+
optional :start_qualifier_closed, :bytes, 2
|
43
|
+
optional :start_qualifier_open, :bytes, 3
|
44
|
+
end
|
45
|
+
oneof :end_qualifier do
|
46
|
+
optional :end_qualifier_closed, :bytes, 4
|
47
|
+
optional :end_qualifier_open, :bytes, 5
|
48
|
+
end
|
49
|
+
end
|
50
|
+
add_message "google.bigtable.v2.TimestampRange" do
|
51
|
+
optional :start_timestamp_micros, :int64, 1
|
52
|
+
optional :end_timestamp_micros, :int64, 2
|
53
|
+
end
|
54
|
+
add_message "google.bigtable.v2.ValueRange" do
|
55
|
+
oneof :start_value do
|
56
|
+
optional :start_value_closed, :bytes, 1
|
57
|
+
optional :start_value_open, :bytes, 2
|
58
|
+
end
|
59
|
+
oneof :end_value do
|
60
|
+
optional :end_value_closed, :bytes, 3
|
61
|
+
optional :end_value_open, :bytes, 4
|
62
|
+
end
|
63
|
+
end
|
64
|
+
add_message "google.bigtable.v2.RowFilter" do
|
65
|
+
oneof :filter do
|
66
|
+
optional :chain, :message, 1, "google.bigtable.v2.RowFilter.Chain"
|
67
|
+
optional :interleave, :message, 2, "google.bigtable.v2.RowFilter.Interleave"
|
68
|
+
optional :condition, :message, 3, "google.bigtable.v2.RowFilter.Condition"
|
69
|
+
optional :sink, :bool, 16
|
70
|
+
optional :pass_all_filter, :bool, 17
|
71
|
+
optional :block_all_filter, :bool, 18
|
72
|
+
optional :row_key_regex_filter, :bytes, 4
|
73
|
+
optional :row_sample_filter, :double, 14
|
74
|
+
optional :family_name_regex_filter, :string, 5
|
75
|
+
optional :column_qualifier_regex_filter, :bytes, 6
|
76
|
+
optional :column_range_filter, :message, 7, "google.bigtable.v2.ColumnRange"
|
77
|
+
optional :timestamp_range_filter, :message, 8, "google.bigtable.v2.TimestampRange"
|
78
|
+
optional :value_regex_filter, :bytes, 9
|
79
|
+
optional :value_range_filter, :message, 15, "google.bigtable.v2.ValueRange"
|
80
|
+
optional :cells_per_row_offset_filter, :int32, 10
|
81
|
+
optional :cells_per_row_limit_filter, :int32, 11
|
82
|
+
optional :cells_per_column_limit_filter, :int32, 12
|
83
|
+
optional :strip_value_transformer, :bool, 13
|
84
|
+
optional :apply_label_transformer, :string, 19
|
85
|
+
end
|
86
|
+
end
|
87
|
+
add_message "google.bigtable.v2.RowFilter.Chain" do
|
88
|
+
repeated :filters, :message, 1, "google.bigtable.v2.RowFilter"
|
89
|
+
end
|
90
|
+
add_message "google.bigtable.v2.RowFilter.Interleave" do
|
91
|
+
repeated :filters, :message, 1, "google.bigtable.v2.RowFilter"
|
92
|
+
end
|
93
|
+
add_message "google.bigtable.v2.RowFilter.Condition" do
|
94
|
+
optional :predicate_filter, :message, 1, "google.bigtable.v2.RowFilter"
|
95
|
+
optional :true_filter, :message, 2, "google.bigtable.v2.RowFilter"
|
96
|
+
optional :false_filter, :message, 3, "google.bigtable.v2.RowFilter"
|
97
|
+
end
|
98
|
+
add_message "google.bigtable.v2.Mutation" do
|
99
|
+
oneof :mutation do
|
100
|
+
optional :set_cell, :message, 1, "google.bigtable.v2.Mutation.SetCell"
|
101
|
+
optional :delete_from_column, :message, 2, "google.bigtable.v2.Mutation.DeleteFromColumn"
|
102
|
+
optional :delete_from_family, :message, 3, "google.bigtable.v2.Mutation.DeleteFromFamily"
|
103
|
+
optional :delete_from_row, :message, 4, "google.bigtable.v2.Mutation.DeleteFromRow"
|
104
|
+
end
|
105
|
+
end
|
106
|
+
add_message "google.bigtable.v2.Mutation.SetCell" do
|
107
|
+
optional :family_name, :string, 1
|
108
|
+
optional :column_qualifier, :bytes, 2
|
109
|
+
optional :timestamp_micros, :int64, 3
|
110
|
+
optional :value, :bytes, 4
|
111
|
+
end
|
112
|
+
add_message "google.bigtable.v2.Mutation.DeleteFromColumn" do
|
113
|
+
optional :family_name, :string, 1
|
114
|
+
optional :column_qualifier, :bytes, 2
|
115
|
+
optional :time_range, :message, 3, "google.bigtable.v2.TimestampRange"
|
116
|
+
end
|
117
|
+
add_message "google.bigtable.v2.Mutation.DeleteFromFamily" do
|
118
|
+
optional :family_name, :string, 1
|
119
|
+
end
|
120
|
+
add_message "google.bigtable.v2.Mutation.DeleteFromRow" do
|
121
|
+
end
|
122
|
+
add_message "google.bigtable.v2.ReadModifyWriteRule" do
|
123
|
+
optional :family_name, :string, 1
|
124
|
+
optional :column_qualifier, :bytes, 2
|
125
|
+
oneof :rule do
|
126
|
+
optional :append_value, :bytes, 3
|
127
|
+
optional :increment_amount, :int64, 4
|
128
|
+
end
|
129
|
+
end
|
130
|
+
end
|
131
|
+
end
|
132
|
+
|
133
|
+
module Google
|
134
|
+
module Cloud
|
135
|
+
module Bigtable
|
136
|
+
module V2
|
137
|
+
Row = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.Row").msgclass
|
138
|
+
Family = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.Family").msgclass
|
139
|
+
Column = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.Column").msgclass
|
140
|
+
Cell = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.Cell").msgclass
|
141
|
+
RowRange = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.RowRange").msgclass
|
142
|
+
RowSet = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.RowSet").msgclass
|
143
|
+
ColumnRange = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.ColumnRange").msgclass
|
144
|
+
TimestampRange = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.TimestampRange").msgclass
|
145
|
+
ValueRange = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.ValueRange").msgclass
|
146
|
+
RowFilter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.RowFilter").msgclass
|
147
|
+
RowFilter::Chain = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.RowFilter.Chain").msgclass
|
148
|
+
RowFilter::Interleave = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.RowFilter.Interleave").msgclass
|
149
|
+
RowFilter::Condition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.RowFilter.Condition").msgclass
|
150
|
+
Mutation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.Mutation").msgclass
|
151
|
+
Mutation::SetCell = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.Mutation.SetCell").msgclass
|
152
|
+
Mutation::DeleteFromColumn = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.Mutation.DeleteFromColumn").msgclass
|
153
|
+
Mutation::DeleteFromFamily = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.Mutation.DeleteFromFamily").msgclass
|
154
|
+
Mutation::DeleteFromRow = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.Mutation.DeleteFromRow").msgclass
|
155
|
+
ReadModifyWriteRule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.bigtable.v2.ReadModifyWriteRule").msgclass
|
156
|
+
end
|
157
|
+
end
|
158
|
+
end
|
159
|
+
end
|
@@ -0,0 +1,35 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2020 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
require "google/cloud/bigtable/v2/bigtable"
|
20
|
+
require "google/cloud/bigtable/v2/version"
|
21
|
+
|
22
|
+
module Google
|
23
|
+
module Cloud
|
24
|
+
module Bigtable
|
25
|
+
##
|
26
|
+
# To load this package, including all its services, and instantiate a client:
|
27
|
+
#
|
28
|
+
# require "google/cloud/bigtable/v2"
|
29
|
+
# client = ::Google::Cloud::Bigtable::V2::Bigtable::Client.new
|
30
|
+
#
|
31
|
+
module V2
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
@@ -0,0 +1,49 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2020 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
require "gapic/common"
|
20
|
+
require "gapic/config"
|
21
|
+
require "gapic/config/method"
|
22
|
+
|
23
|
+
require "google/cloud/bigtable/v2/version"
|
24
|
+
|
25
|
+
require "google/cloud/bigtable/v2/bigtable/credentials"
|
26
|
+
require "google/cloud/bigtable/v2/bigtable/paths"
|
27
|
+
require "google/cloud/bigtable/v2/bigtable/client"
|
28
|
+
|
29
|
+
module Google
|
30
|
+
module Cloud
|
31
|
+
module Bigtable
|
32
|
+
module V2
|
33
|
+
##
|
34
|
+
# Service for reading from and writing to existing Bigtable tables.
|
35
|
+
#
|
36
|
+
# To load this service and instantiate a client:
|
37
|
+
#
|
38
|
+
# require "google/cloud/bigtable/v2/bigtable"
|
39
|
+
# client = ::Google::Cloud::Bigtable::V2::Bigtable::Client.new
|
40
|
+
#
|
41
|
+
module Bigtable
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
helper_path = ::File.join __dir__, "bigtable", "helpers.rb"
|
49
|
+
require "google/cloud/bigtable/v2/bigtable/helpers" if ::File.file? helper_path
|