google-cloud-bigtable-admin-v2 0.15.0 → 0.16.1

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: 5a36854ab75416bb8d7df4c625f9238b0bd3a9a127d10ae5921ba92bfe5cb642
4
- data.tar.gz: f0407632dd39f28dfaf66c11171c449f8945a28abc96d7a2c5edd721ce303436
3
+ metadata.gz: bc58b3984e55da70708b13e7ab4ee8359f4a8cd37930b71246c07db6179fea27
4
+ data.tar.gz: d11d3c310b14731f83c1c3273a7827aaf2f3ef80212ddb3eaac001795586a098
5
5
  SHA512:
6
- metadata.gz: 688686323173b62dbbe9ac1d7f1825207e0a51a9427107f59255f7697c84a4203ea30c53f91d3a45b54e4d0cc335fa26f31cc3a3490d7090de1afa0ea801f4c4
7
- data.tar.gz: 46816272421278ad199192cc3ddb4c120fe55e281357aec3b335cd987c69741fa38c1e1ac3cdf601f25d76844f7473319e5af3a8f0b4226f00049c21fa8a89dc
6
+ metadata.gz: 95f669a22dbc2504eae1b60380fba64520856d328820042bf87957c19b9b9c1712e8b917a4a79cd0f872ada744f99f13014539564ec218326983bf8510f82954
7
+ data.tar.gz: 3d02d59b93a72128122aba9c7c107398efd1784a84ab1d2fb75d8f6a372ab81794ff675a61284087e3d60a7221f0ccf5f6988d34edb35c5ea23a93b1beb8ed90
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Ruby Client for the Cloud Bigtable Admin V2 API
2
2
 
3
- API Client library for the Cloud Bigtable Admin V2 API
3
+ Administer your Cloud Bigtable tables and instances.
4
4
 
5
5
  Cloud Bigtable is a fully managed, scalable NoSQL database service for large analytical and operational workloads.
6
6
 
@@ -46,8 +46,8 @@ for general usage information.
46
46
  ## Enabling Logging
47
47
 
48
48
  To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
49
- The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/stdlib/libdoc/logger/rdoc/Logger.html) as shown below,
50
- or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
49
+ The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/current/stdlibs/logger/Logger.html) as shown below,
50
+ or a [`Google::Cloud::Logging::Logger`](https://cloud.google.com/ruby/docs/reference/google-cloud-logging/latest)
51
51
  that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
52
52
  and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
53
53
 
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/bigtable/admin/v2/bigtable_instance_admin.proto
3
4
 
@@ -15,137 +16,34 @@ require 'google/protobuf/empty_pb'
15
16
  require 'google/protobuf/field_mask_pb'
16
17
  require 'google/protobuf/timestamp_pb'
17
18
 
18
- Google::Protobuf::DescriptorPool.generated_pool.build do
19
- add_file("google/bigtable/admin/v2/bigtable_instance_admin.proto", :syntax => :proto3) do
20
- add_message "google.bigtable.admin.v2.CreateInstanceRequest" do
21
- optional :parent, :string, 1
22
- optional :instance_id, :string, 2
23
- optional :instance, :message, 3, "google.bigtable.admin.v2.Instance"
24
- map :clusters, :string, :message, 4, "google.bigtable.admin.v2.Cluster"
25
- end
26
- add_message "google.bigtable.admin.v2.GetInstanceRequest" do
27
- optional :name, :string, 1
28
- end
29
- add_message "google.bigtable.admin.v2.ListInstancesRequest" do
30
- optional :parent, :string, 1
31
- optional :page_token, :string, 2
32
- end
33
- add_message "google.bigtable.admin.v2.ListInstancesResponse" do
34
- repeated :instances, :message, 1, "google.bigtable.admin.v2.Instance"
35
- repeated :failed_locations, :string, 2
36
- optional :next_page_token, :string, 3
37
- end
38
- add_message "google.bigtable.admin.v2.PartialUpdateInstanceRequest" do
39
- optional :instance, :message, 1, "google.bigtable.admin.v2.Instance"
40
- optional :update_mask, :message, 2, "google.protobuf.FieldMask"
41
- end
42
- add_message "google.bigtable.admin.v2.DeleteInstanceRequest" do
43
- optional :name, :string, 1
44
- end
45
- add_message "google.bigtable.admin.v2.CreateClusterRequest" do
46
- optional :parent, :string, 1
47
- optional :cluster_id, :string, 2
48
- optional :cluster, :message, 3, "google.bigtable.admin.v2.Cluster"
49
- end
50
- add_message "google.bigtable.admin.v2.GetClusterRequest" do
51
- optional :name, :string, 1
52
- end
53
- add_message "google.bigtable.admin.v2.ListClustersRequest" do
54
- optional :parent, :string, 1
55
- optional :page_token, :string, 2
56
- end
57
- add_message "google.bigtable.admin.v2.ListClustersResponse" do
58
- repeated :clusters, :message, 1, "google.bigtable.admin.v2.Cluster"
59
- repeated :failed_locations, :string, 2
60
- optional :next_page_token, :string, 3
61
- end
62
- add_message "google.bigtable.admin.v2.DeleteClusterRequest" do
63
- optional :name, :string, 1
64
- end
65
- add_message "google.bigtable.admin.v2.CreateInstanceMetadata" do
66
- optional :original_request, :message, 1, "google.bigtable.admin.v2.CreateInstanceRequest"
67
- optional :request_time, :message, 2, "google.protobuf.Timestamp"
68
- optional :finish_time, :message, 3, "google.protobuf.Timestamp"
69
- end
70
- add_message "google.bigtable.admin.v2.UpdateInstanceMetadata" do
71
- optional :original_request, :message, 1, "google.bigtable.admin.v2.PartialUpdateInstanceRequest"
72
- optional :request_time, :message, 2, "google.protobuf.Timestamp"
73
- optional :finish_time, :message, 3, "google.protobuf.Timestamp"
74
- end
75
- add_message "google.bigtable.admin.v2.CreateClusterMetadata" do
76
- optional :original_request, :message, 1, "google.bigtable.admin.v2.CreateClusterRequest"
77
- optional :request_time, :message, 2, "google.protobuf.Timestamp"
78
- optional :finish_time, :message, 3, "google.protobuf.Timestamp"
79
- map :tables, :string, :message, 4, "google.bigtable.admin.v2.CreateClusterMetadata.TableProgress"
80
- end
81
- add_message "google.bigtable.admin.v2.CreateClusterMetadata.TableProgress" do
82
- optional :estimated_size_bytes, :int64, 2
83
- optional :estimated_copied_bytes, :int64, 3
84
- optional :state, :enum, 4, "google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State"
85
- end
86
- add_enum "google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State" do
87
- value :STATE_UNSPECIFIED, 0
88
- value :PENDING, 1
89
- value :COPYING, 2
90
- value :COMPLETED, 3
91
- value :CANCELLED, 4
92
- end
93
- add_message "google.bigtable.admin.v2.UpdateClusterMetadata" do
94
- optional :original_request, :message, 1, "google.bigtable.admin.v2.Cluster"
95
- optional :request_time, :message, 2, "google.protobuf.Timestamp"
96
- optional :finish_time, :message, 3, "google.protobuf.Timestamp"
97
- end
98
- add_message "google.bigtable.admin.v2.PartialUpdateClusterMetadata" do
99
- optional :request_time, :message, 1, "google.protobuf.Timestamp"
100
- optional :finish_time, :message, 2, "google.protobuf.Timestamp"
101
- optional :original_request, :message, 3, "google.bigtable.admin.v2.PartialUpdateClusterRequest"
102
- end
103
- add_message "google.bigtable.admin.v2.PartialUpdateClusterRequest" do
104
- optional :cluster, :message, 1, "google.bigtable.admin.v2.Cluster"
105
- optional :update_mask, :message, 2, "google.protobuf.FieldMask"
106
- end
107
- add_message "google.bigtable.admin.v2.CreateAppProfileRequest" do
108
- optional :parent, :string, 1
109
- optional :app_profile_id, :string, 2
110
- optional :app_profile, :message, 3, "google.bigtable.admin.v2.AppProfile"
111
- optional :ignore_warnings, :bool, 4
112
- end
113
- add_message "google.bigtable.admin.v2.GetAppProfileRequest" do
114
- optional :name, :string, 1
115
- end
116
- add_message "google.bigtable.admin.v2.ListAppProfilesRequest" do
117
- optional :parent, :string, 1
118
- optional :page_size, :int32, 3
119
- optional :page_token, :string, 2
120
- end
121
- add_message "google.bigtable.admin.v2.ListAppProfilesResponse" do
122
- repeated :app_profiles, :message, 1, "google.bigtable.admin.v2.AppProfile"
123
- optional :next_page_token, :string, 2
124
- repeated :failed_locations, :string, 3
125
- end
126
- add_message "google.bigtable.admin.v2.UpdateAppProfileRequest" do
127
- optional :app_profile, :message, 1, "google.bigtable.admin.v2.AppProfile"
128
- optional :update_mask, :message, 2, "google.protobuf.FieldMask"
129
- optional :ignore_warnings, :bool, 3
130
- end
131
- add_message "google.bigtable.admin.v2.DeleteAppProfileRequest" do
132
- optional :name, :string, 1
133
- optional :ignore_warnings, :bool, 2
134
- end
135
- add_message "google.bigtable.admin.v2.UpdateAppProfileMetadata" do
136
- end
137
- add_message "google.bigtable.admin.v2.ListHotTabletsRequest" do
138
- optional :parent, :string, 1
139
- optional :start_time, :message, 2, "google.protobuf.Timestamp"
140
- optional :end_time, :message, 3, "google.protobuf.Timestamp"
141
- optional :page_size, :int32, 4
142
- optional :page_token, :string, 5
143
- end
144
- add_message "google.bigtable.admin.v2.ListHotTabletsResponse" do
145
- repeated :hot_tablets, :message, 1, "google.bigtable.admin.v2.HotTablet"
146
- optional :next_page_token, :string, 2
19
+
20
+ descriptor_data = "\n6google/bigtable/admin/v2/bigtable_instance_admin.proto\x12\x18google.bigtable.admin.v2\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\'google/bigtable/admin/v2/instance.proto\x1a\x1egoogle/iam/v1/iam_policy.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xdb\x02\n\x15\x43reateInstanceRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12\x18\n\x0binstance_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x39\n\x08instance\x18\x03 \x01(\x0b\x32\".google.bigtable.admin.v2.InstanceB\x03\xe0\x41\x02\x12T\n\x08\x63lusters\x18\x04 \x03(\x0b\x32=.google.bigtable.admin.v2.CreateInstanceRequest.ClustersEntryB\x03\xe0\x41\x02\x1aR\n\rClustersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x30\n\x05value\x18\x02 \x01(\x0b\x32!.google.bigtable.admin.v2.Cluster:\x02\x38\x01\"Q\n\x12GetInstanceRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%bigtableadmin.googleapis.com/Instance\"o\n\x14ListInstancesRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12\x12\n\npage_token\x18\x02 \x01(\t\"\x81\x01\n\x15ListInstancesResponse\x12\x35\n\tinstances\x18\x01 \x03(\x0b\x32\".google.bigtable.admin.v2.Instance\x12\x18\n\x10\x66\x61iled_locations\x18\x02 \x03(\t\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\t\"\x8f\x01\n\x1cPartialUpdateInstanceRequest\x12\x39\n\x08instance\x18\x01 \x01(\x0b\x32\".google.bigtable.admin.v2.InstanceB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"T\n\x15\x44\x65leteInstanceRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%bigtableadmin.googleapis.com/Instance\"\xa7\x01\n\x14\x43reateClusterRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%bigtableadmin.googleapis.com/Instance\x12\x17\n\ncluster_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x37\n\x07\x63luster\x18\x03 \x01(\x0b\x32!.google.bigtable.admin.v2.ClusterB\x03\xe0\x41\x02\"O\n\x11GetClusterRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$bigtableadmin.googleapis.com/Cluster\"h\n\x13ListClustersRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%bigtableadmin.googleapis.com/Instance\x12\x12\n\npage_token\x18\x02 \x01(\t\"~\n\x14ListClustersResponse\x12\x33\n\x08\x63lusters\x18\x01 \x03(\x0b\x32!.google.bigtable.admin.v2.Cluster\x12\x18\n\x10\x66\x61iled_locations\x18\x02 \x03(\t\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\t\"R\n\x14\x44\x65leteClusterRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$bigtableadmin.googleapis.com/Cluster\"\xc6\x01\n\x16\x43reateInstanceMetadata\x12I\n\x10original_request\x18\x01 \x01(\x0b\x32/.google.bigtable.admin.v2.CreateInstanceRequest\x12\x30\n\x0crequest_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x66inish_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xcd\x01\n\x16UpdateInstanceMetadata\x12P\n\x10original_request\x18\x01 \x01(\x0b\x32\x36.google.bigtable.admin.v2.PartialUpdateInstanceRequest\x12\x30\n\x0crequest_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x66inish_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xfb\x04\n\x15\x43reateClusterMetadata\x12H\n\x10original_request\x18\x01 \x01(\x0b\x32..google.bigtable.admin.v2.CreateClusterRequest\x12\x30\n\x0crequest_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x66inish_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12K\n\x06tables\x18\x04 \x03(\x0b\x32;.google.bigtable.admin.v2.CreateClusterMetadata.TablesEntry\x1a\xf9\x01\n\rTableProgress\x12\x1c\n\x14\x65stimated_size_bytes\x18\x02 \x01(\x03\x12\x1e\n\x16\x65stimated_copied_bytes\x18\x03 \x01(\x03\x12R\n\x05state\x18\x04 \x01(\x0e\x32\x43.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State\"V\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PENDING\x10\x01\x12\x0b\n\x07\x43OPYING\x10\x02\x12\r\n\tCOMPLETED\x10\x03\x12\r\n\tCANCELLED\x10\x04\x1al\n\x0bTablesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12L\n\x05value\x18\x02 \x01(\x0b\x32=.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress:\x02\x38\x01\"\xb7\x01\n\x15UpdateClusterMetadata\x12;\n\x10original_request\x18\x01 \x01(\x0b\x32!.google.bigtable.admin.v2.Cluster\x12\x30\n\x0crequest_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x66inish_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xd2\x01\n\x1cPartialUpdateClusterMetadata\x12\x30\n\x0crequest_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x66inish_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12O\n\x10original_request\x18\x03 \x01(\x0b\x32\x35.google.bigtable.admin.v2.PartialUpdateClusterRequest\"\x8c\x01\n\x1bPartialUpdateClusterRequest\x12\x37\n\x07\x63luster\x18\x01 \x01(\x0b\x32!.google.bigtable.admin.v2.ClusterB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"\xce\x01\n\x17\x43reateAppProfileRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%bigtableadmin.googleapis.com/Instance\x12\x1b\n\x0e\x61pp_profile_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12>\n\x0b\x61pp_profile\x18\x03 \x01(\x0b\x32$.google.bigtable.admin.v2.AppProfileB\x03\xe0\x41\x02\x12\x17\n\x0fignore_warnings\x18\x04 \x01(\x08\"U\n\x14GetAppProfileRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'bigtableadmin.googleapis.com/AppProfile\"~\n\x16ListAppProfilesRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%bigtableadmin.googleapis.com/Instance\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x02 \x01(\t\"\x88\x01\n\x17ListAppProfilesResponse\x12:\n\x0c\x61pp_profiles\x18\x01 \x03(\x0b\x32$.google.bigtable.admin.v2.AppProfile\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x18\n\x10\x66\x61iled_locations\x18\x03 \x03(\t\"\xa8\x01\n\x17UpdateAppProfileRequest\x12>\n\x0b\x61pp_profile\x18\x01 \x01(\x0b\x32$.google.bigtable.admin.v2.AppProfileB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12\x17\n\x0fignore_warnings\x18\x03 \x01(\x08\"v\n\x17\x44\x65leteAppProfileRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'bigtableadmin.googleapis.com/AppProfile\x12\x1c\n\x0fignore_warnings\x18\x02 \x01(\x08\x42\x03\xe0\x41\x02\"\x1a\n\x18UpdateAppProfileMetadata\"\xda\x01\n\x15ListHotTabletsRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$bigtableadmin.googleapis.com/Cluster\x12.\n\nstart_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x11\n\tpage_size\x18\x04 \x01(\x05\x12\x12\n\npage_token\x18\x05 \x01(\t\"k\n\x16ListHotTabletsResponse\x12\x38\n\x0bhot_tablets\x18\x01 \x03(\x0b\x32#.google.bigtable.admin.v2.HotTablet\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\xcb!\n\x15\x42igtableInstanceAdmin\x12\xda\x01\n\x0e\x43reateInstance\x12/.google.bigtable.admin.v2.CreateInstanceRequest\x1a\x1d.google.longrunning.Operation\"x\x82\xd3\xe4\x93\x02&\"!/v2/{parent=projects/*}/instances:\x01*\xda\x41$parent,instance_id,instance,clusters\xca\x41\"\n\x08Instance\x12\x16\x43reateInstanceMetadata\x12\x91\x01\n\x0bGetInstance\x12,.google.bigtable.admin.v2.GetInstanceRequest\x1a\".google.bigtable.admin.v2.Instance\"0\x82\xd3\xe4\x93\x02#\x12!/v2/{name=projects/*/instances/*}\xda\x41\x04name\x12\xa4\x01\n\rListInstances\x12..google.bigtable.admin.v2.ListInstancesRequest\x1a/.google.bigtable.admin.v2.ListInstancesResponse\"2\x82\xd3\xe4\x93\x02#\x12!/v2/{parent=projects/*}/instances\xda\x41\x06parent\x12\x86\x01\n\x0eUpdateInstance\x12\".google.bigtable.admin.v2.Instance\x1a\".google.bigtable.admin.v2.Instance\",\x82\xd3\xe4\x93\x02&\x1a!/v2/{name=projects/*/instances/*}:\x01*\x12\xe8\x01\n\x15PartialUpdateInstance\x12\x36.google.bigtable.admin.v2.PartialUpdateInstanceRequest\x1a\x1d.google.longrunning.Operation\"x\x82\xd3\xe4\x93\x02\x36\x32*/v2/{instance.name=projects/*/instances/*}:\x08instance\xda\x41\x14instance,update_mask\xca\x41\"\n\x08Instance\x12\x16UpdateInstanceMetadata\x12\x8b\x01\n\x0e\x44\x65leteInstance\x12/.google.bigtable.admin.v2.DeleteInstanceRequest\x1a\x16.google.protobuf.Empty\"0\x82\xd3\xe4\x93\x02#*!/v2/{name=projects/*/instances/*}\xda\x41\x04name\x12\xdc\x01\n\rCreateCluster\x12..google.bigtable.admin.v2.CreateClusterRequest\x1a\x1d.google.longrunning.Operation\"|\x82\xd3\xe4\x93\x02\x37\",/v2/{parent=projects/*/instances/*}/clusters:\x07\x63luster\xda\x41\x19parent,cluster_id,cluster\xca\x41 \n\x07\x43luster\x12\x15\x43reateClusterMetadata\x12\x99\x01\n\nGetCluster\x12+.google.bigtable.admin.v2.GetClusterRequest\x1a!.google.bigtable.admin.v2.Cluster\";\x82\xd3\xe4\x93\x02.\x12,/v2/{name=projects/*/instances/*/clusters/*}\xda\x41\x04name\x12\xac\x01\n\x0cListClusters\x12-.google.bigtable.admin.v2.ListClustersRequest\x1a..google.bigtable.admin.v2.ListClustersResponse\"=\x82\xd3\xe4\x93\x02.\x12,/v2/{parent=projects/*/instances/*}/clusters\xda\x41\x06parent\x12\xad\x01\n\rUpdateCluster\x12!.google.bigtable.admin.v2.Cluster\x1a\x1d.google.longrunning.Operation\"Z\x82\xd3\xe4\x93\x02\x31\x1a,/v2/{name=projects/*/instances/*/clusters/*}:\x01*\xca\x41 \n\x07\x43luster\x12\x15UpdateClusterMetadata\x12\xf4\x01\n\x14PartialUpdateCluster\x12\x35.google.bigtable.admin.v2.PartialUpdateClusterRequest\x1a\x1d.google.longrunning.Operation\"\x85\x01\x82\xd3\xe4\x93\x02?24/v2/{cluster.name=projects/*/instances/*/clusters/*}:\x07\x63luster\xda\x41\x13\x63luster,update_mask\xca\x41\'\n\x07\x43luster\x12\x1cPartialUpdateClusterMetadata\x12\x94\x01\n\rDeleteCluster\x12..google.bigtable.admin.v2.DeleteClusterRequest\x1a\x16.google.protobuf.Empty\";\x82\xd3\xe4\x93\x02.*,/v2/{name=projects/*/instances/*/clusters/*}\xda\x41\x04name\x12\xd5\x01\n\x10\x43reateAppProfile\x12\x31.google.bigtable.admin.v2.CreateAppProfileRequest\x1a$.google.bigtable.admin.v2.AppProfile\"h\x82\xd3\xe4\x93\x02>\"//v2/{parent=projects/*/instances/*}/appProfiles:\x0b\x61pp_profile\xda\x41!parent,app_profile_id,app_profile\x12\xa5\x01\n\rGetAppProfile\x12..google.bigtable.admin.v2.GetAppProfileRequest\x1a$.google.bigtable.admin.v2.AppProfile\">\x82\xd3\xe4\x93\x02\x31\x12//v2/{name=projects/*/instances/*/appProfiles/*}\xda\x41\x04name\x12\xb8\x01\n\x0fListAppProfiles\x12\x30.google.bigtable.admin.v2.ListAppProfilesRequest\x1a\x31.google.bigtable.admin.v2.ListAppProfilesResponse\"@\x82\xd3\xe4\x93\x02\x31\x12//v2/{parent=projects/*/instances/*}/appProfiles\xda\x41\x06parent\x12\xfa\x01\n\x10UpdateAppProfile\x12\x31.google.bigtable.admin.v2.UpdateAppProfileRequest\x1a\x1d.google.longrunning.Operation\"\x93\x01\x82\xd3\xe4\x93\x02J2;/v2/{app_profile.name=projects/*/instances/*/appProfiles/*}:\x0b\x61pp_profile\xda\x41\x17\x61pp_profile,update_mask\xca\x41&\n\nAppProfile\x12\x18UpdateAppProfileMetadata\x12\x9d\x01\n\x10\x44\x65leteAppProfile\x12\x31.google.bigtable.admin.v2.DeleteAppProfileRequest\x1a\x16.google.protobuf.Empty\">\x82\xd3\xe4\x93\x02\x31*//v2/{name=projects/*/instances/*/appProfiles/*}\xda\x41\x04name\x12\x93\x01\n\x0cGetIamPolicy\x12\".google.iam.v1.GetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"H\x82\xd3\xe4\x93\x02\x37\"2/v2/{resource=projects/*/instances/*}:getIamPolicy:\x01*\xda\x41\x08resource\x12\x9a\x01\n\x0cSetIamPolicy\x12\".google.iam.v1.SetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"O\x82\xd3\xe4\x93\x02\x37\"2/v2/{resource=projects/*/instances/*}:setIamPolicy:\x01*\xda\x41\x0fresource,policy\x12\xc5\x01\n\x12TestIamPermissions\x12(.google.iam.v1.TestIamPermissionsRequest\x1a).google.iam.v1.TestIamPermissionsResponse\"Z\x82\xd3\xe4\x93\x02=\"8/v2/{resource=projects/*/instances/*}:testIamPermissions:\x01*\xda\x41\x14resource,permissions\x12\xbf\x01\n\x0eListHotTablets\x12/.google.bigtable.admin.v2.ListHotTabletsRequest\x1a\x30.google.bigtable.admin.v2.ListHotTabletsResponse\"J\x82\xd3\xe4\x93\x02;\x12\x39/v2/{parent=projects/*/instances/*/clusters/*}/hotTablets\xda\x41\x06parent\x1a\x9a\x03\xca\x41\x1c\x62igtableadmin.googleapis.com\xd2\x41\xf7\x02https://www.googleapis.com/auth/bigtable.admin,https://www.googleapis.com/auth/bigtable.admin.cluster,https://www.googleapis.com/auth/bigtable.admin.instance,https://www.googleapis.com/auth/cloud-bigtable.admin,https://www.googleapis.com/auth/cloud-bigtable.admin.cluster,https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/cloud-platform.read-onlyB\xe2\x01\n\x1c\x63om.google.bigtable.admin.v2B\x1a\x42igtableInstanceAdminProtoP\x01Z=google.golang.org/genproto/googleapis/bigtable/admin/v2;admin\xaa\x02\x1eGoogle.Cloud.Bigtable.Admin.V2\xca\x02\x1eGoogle\\Cloud\\Bigtable\\Admin\\V2\xea\x02\"Google::Cloud::Bigtable::Admin::V2b\x06proto3"
21
+
22
+ pool = Google::Protobuf::DescriptorPool.generated_pool
23
+
24
+ begin
25
+ pool.add_serialized_file(descriptor_data)
26
+ rescue TypeError => e
27
+ # Compatibility code: will be removed in the next major version.
28
+ require 'google/protobuf/descriptor_pb'
29
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
30
+ parsed.clear_dependency
31
+ serialized = parsed.class.encode(parsed)
32
+ file = pool.add_serialized_file(serialized)
33
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
34
+ imports = [
35
+ ["google.bigtable.admin.v2.Instance", "google/bigtable/admin/v2/instance.proto"],
36
+ ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
37
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
38
+ ]
39
+ imports.each do |type_name, expected_filename|
40
+ import_file = pool.lookup(type_name).file_descriptor
41
+ if import_file.name != expected_filename
42
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
147
43
  end
148
44
  end
45
+ warn "Each proto file must use a consistent fully-qualified name."
46
+ warn "This will become an error in the next major version."
149
47
  end
150
48
 
151
49
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/bigtable/admin/v2/bigtable_table_admin.proto
3
4
 
@@ -17,173 +18,36 @@ require 'google/protobuf/empty_pb'
17
18
  require 'google/protobuf/field_mask_pb'
18
19
  require 'google/protobuf/timestamp_pb'
19
20
 
20
- Google::Protobuf::DescriptorPool.generated_pool.build do
21
- add_file("google/bigtable/admin/v2/bigtable_table_admin.proto", :syntax => :proto3) do
22
- add_message "google.bigtable.admin.v2.RestoreTableRequest" do
23
- optional :parent, :string, 1
24
- optional :table_id, :string, 2
25
- oneof :source do
26
- optional :backup, :string, 3
27
- end
28
- end
29
- add_message "google.bigtable.admin.v2.RestoreTableMetadata" do
30
- optional :name, :string, 1
31
- optional :source_type, :enum, 2, "google.bigtable.admin.v2.RestoreSourceType"
32
- optional :optimize_table_operation_name, :string, 4
33
- optional :progress, :message, 5, "google.bigtable.admin.v2.OperationProgress"
34
- oneof :source_info do
35
- optional :backup_info, :message, 3, "google.bigtable.admin.v2.BackupInfo"
36
- end
37
- end
38
- add_message "google.bigtable.admin.v2.OptimizeRestoredTableMetadata" do
39
- optional :name, :string, 1
40
- optional :progress, :message, 2, "google.bigtable.admin.v2.OperationProgress"
41
- end
42
- add_message "google.bigtable.admin.v2.CreateTableRequest" do
43
- optional :parent, :string, 1
44
- optional :table_id, :string, 2
45
- optional :table, :message, 3, "google.bigtable.admin.v2.Table"
46
- repeated :initial_splits, :message, 4, "google.bigtable.admin.v2.CreateTableRequest.Split"
47
- end
48
- add_message "google.bigtable.admin.v2.CreateTableRequest.Split" do
49
- optional :key, :bytes, 1
50
- end
51
- add_message "google.bigtable.admin.v2.CreateTableFromSnapshotRequest" do
52
- optional :parent, :string, 1
53
- optional :table_id, :string, 2
54
- optional :source_snapshot, :string, 3
55
- end
56
- add_message "google.bigtable.admin.v2.DropRowRangeRequest" do
57
- optional :name, :string, 1
58
- oneof :target do
59
- optional :row_key_prefix, :bytes, 2
60
- optional :delete_all_data_from_table, :bool, 3
61
- end
62
- end
63
- add_message "google.bigtable.admin.v2.ListTablesRequest" do
64
- optional :parent, :string, 1
65
- optional :view, :enum, 2, "google.bigtable.admin.v2.Table.View"
66
- optional :page_size, :int32, 4
67
- optional :page_token, :string, 3
68
- end
69
- add_message "google.bigtable.admin.v2.ListTablesResponse" do
70
- repeated :tables, :message, 1, "google.bigtable.admin.v2.Table"
71
- optional :next_page_token, :string, 2
72
- end
73
- add_message "google.bigtable.admin.v2.GetTableRequest" do
74
- optional :name, :string, 1
75
- optional :view, :enum, 2, "google.bigtable.admin.v2.Table.View"
76
- end
77
- add_message "google.bigtable.admin.v2.UpdateTableRequest" do
78
- optional :table, :message, 1, "google.bigtable.admin.v2.Table"
79
- optional :update_mask, :message, 2, "google.protobuf.FieldMask"
80
- end
81
- add_message "google.bigtable.admin.v2.UpdateTableMetadata" do
82
- optional :name, :string, 1
83
- optional :start_time, :message, 2, "google.protobuf.Timestamp"
84
- optional :end_time, :message, 3, "google.protobuf.Timestamp"
85
- end
86
- add_message "google.bigtable.admin.v2.DeleteTableRequest" do
87
- optional :name, :string, 1
88
- end
89
- add_message "google.bigtable.admin.v2.UndeleteTableRequest" do
90
- optional :name, :string, 1
91
- end
92
- add_message "google.bigtable.admin.v2.UndeleteTableMetadata" do
93
- optional :name, :string, 1
94
- optional :start_time, :message, 2, "google.protobuf.Timestamp"
95
- optional :end_time, :message, 3, "google.protobuf.Timestamp"
96
- end
97
- add_message "google.bigtable.admin.v2.ModifyColumnFamiliesRequest" do
98
- optional :name, :string, 1
99
- repeated :modifications, :message, 2, "google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification"
100
- end
101
- add_message "google.bigtable.admin.v2.ModifyColumnFamiliesRequest.Modification" do
102
- optional :id, :string, 1
103
- oneof :mod do
104
- optional :create, :message, 2, "google.bigtable.admin.v2.ColumnFamily"
105
- optional :update, :message, 3, "google.bigtable.admin.v2.ColumnFamily"
106
- optional :drop, :bool, 4
107
- end
108
- end
109
- add_message "google.bigtable.admin.v2.GenerateConsistencyTokenRequest" do
110
- optional :name, :string, 1
111
- end
112
- add_message "google.bigtable.admin.v2.GenerateConsistencyTokenResponse" do
113
- optional :consistency_token, :string, 1
114
- end
115
- add_message "google.bigtable.admin.v2.CheckConsistencyRequest" do
116
- optional :name, :string, 1
117
- optional :consistency_token, :string, 2
118
- end
119
- add_message "google.bigtable.admin.v2.CheckConsistencyResponse" do
120
- optional :consistent, :bool, 1
121
- end
122
- add_message "google.bigtable.admin.v2.SnapshotTableRequest" do
123
- optional :name, :string, 1
124
- optional :cluster, :string, 2
125
- optional :snapshot_id, :string, 3
126
- optional :ttl, :message, 4, "google.protobuf.Duration"
127
- optional :description, :string, 5
128
- end
129
- add_message "google.bigtable.admin.v2.GetSnapshotRequest" do
130
- optional :name, :string, 1
131
- end
132
- add_message "google.bigtable.admin.v2.ListSnapshotsRequest" do
133
- optional :parent, :string, 1
134
- optional :page_size, :int32, 2
135
- optional :page_token, :string, 3
136
- end
137
- add_message "google.bigtable.admin.v2.ListSnapshotsResponse" do
138
- repeated :snapshots, :message, 1, "google.bigtable.admin.v2.Snapshot"
139
- optional :next_page_token, :string, 2
140
- end
141
- add_message "google.bigtable.admin.v2.DeleteSnapshotRequest" do
142
- optional :name, :string, 1
143
- end
144
- add_message "google.bigtable.admin.v2.SnapshotTableMetadata" do
145
- optional :original_request, :message, 1, "google.bigtable.admin.v2.SnapshotTableRequest"
146
- optional :request_time, :message, 2, "google.protobuf.Timestamp"
147
- optional :finish_time, :message, 3, "google.protobuf.Timestamp"
148
- end
149
- add_message "google.bigtable.admin.v2.CreateTableFromSnapshotMetadata" do
150
- optional :original_request, :message, 1, "google.bigtable.admin.v2.CreateTableFromSnapshotRequest"
151
- optional :request_time, :message, 2, "google.protobuf.Timestamp"
152
- optional :finish_time, :message, 3, "google.protobuf.Timestamp"
153
- end
154
- add_message "google.bigtable.admin.v2.CreateBackupRequest" do
155
- optional :parent, :string, 1
156
- optional :backup_id, :string, 2
157
- optional :backup, :message, 3, "google.bigtable.admin.v2.Backup"
158
- end
159
- add_message "google.bigtable.admin.v2.CreateBackupMetadata" do
160
- optional :name, :string, 1
161
- optional :source_table, :string, 2
162
- optional :start_time, :message, 3, "google.protobuf.Timestamp"
163
- optional :end_time, :message, 4, "google.protobuf.Timestamp"
164
- end
165
- add_message "google.bigtable.admin.v2.UpdateBackupRequest" do
166
- optional :backup, :message, 1, "google.bigtable.admin.v2.Backup"
167
- optional :update_mask, :message, 2, "google.protobuf.FieldMask"
168
- end
169
- add_message "google.bigtable.admin.v2.GetBackupRequest" do
170
- optional :name, :string, 1
171
- end
172
- add_message "google.bigtable.admin.v2.DeleteBackupRequest" do
173
- optional :name, :string, 1
174
- end
175
- add_message "google.bigtable.admin.v2.ListBackupsRequest" do
176
- optional :parent, :string, 1
177
- optional :filter, :string, 2
178
- optional :order_by, :string, 3
179
- optional :page_size, :int32, 4
180
- optional :page_token, :string, 5
181
- end
182
- add_message "google.bigtable.admin.v2.ListBackupsResponse" do
183
- repeated :backups, :message, 1, "google.bigtable.admin.v2.Backup"
184
- optional :next_page_token, :string, 2
21
+
22
+ descriptor_data = "\n3google/bigtable/admin/v2/bigtable_table_admin.proto\x12\x18google.bigtable.admin.v2\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a%google/bigtable/admin/v2/common.proto\x1a$google/bigtable/admin/v2/table.proto\x1a\x1egoogle/iam/v1/iam_policy.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a#google/longrunning/operations.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb1\x01\n\x13RestoreTableRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%bigtableadmin.googleapis.com/Instance\x12\x15\n\x08table_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12:\n\x06\x62\x61\x63kup\x18\x03 \x01(\tB(\xfa\x41%\n#bigtableadmin.googleapis.com/BackupH\x00\x42\x08\n\x06source\"\x98\x02\n\x14RestoreTableMetadata\x12\x0c\n\x04name\x18\x01 \x01(\t\x12@\n\x0bsource_type\x18\x02 \x01(\x0e\x32+.google.bigtable.admin.v2.RestoreSourceType\x12;\n\x0b\x62\x61\x63kup_info\x18\x03 \x01(\x0b\x32$.google.bigtable.admin.v2.BackupInfoH\x00\x12%\n\x1doptimize_table_operation_name\x18\x04 \x01(\t\x12=\n\x08progress\x18\x05 \x01(\x0b\x32+.google.bigtable.admin.v2.OperationProgressB\r\n\x0bsource_info\"l\n\x1dOptimizeRestoredTableMetadata\x12\x0c\n\x04name\x18\x01 \x01(\t\x12=\n\x08progress\x18\x02 \x01(\x0b\x32+.google.bigtable.admin.v2.OperationProgress\"\x81\x02\n\x12\x43reateTableRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%bigtableadmin.googleapis.com/Instance\x12\x15\n\x08table_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x33\n\x05table\x18\x03 \x01(\x0b\x32\x1f.google.bigtable.admin.v2.TableB\x03\xe0\x41\x02\x12J\n\x0einitial_splits\x18\x04 \x03(\x0b\x32\x32.google.bigtable.admin.v2.CreateTableRequest.Split\x1a\x14\n\x05Split\x12\x0b\n\x03key\x18\x01 \x01(\x0c\"\xbe\x01\n\x1e\x43reateTableFromSnapshotRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%bigtableadmin.googleapis.com/Instance\x12\x15\n\x08table_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x46\n\x0fsource_snapshot\x18\x03 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%bigtableadmin.googleapis.com/Snapshot\"\x99\x01\n\x13\x44ropRowRangeRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"bigtableadmin.googleapis.com/Table\x12\x18\n\x0erow_key_prefix\x18\x02 \x01(\x0cH\x00\x12$\n\x1a\x64\x65lete_all_data_from_table\x18\x03 \x01(\x08H\x00\x42\x08\n\x06target\"\xad\x01\n\x11ListTablesRequest\x12=\n\x06parent\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%bigtableadmin.googleapis.com/Instance\x12\x32\n\x04view\x18\x02 \x01(\x0e\x32$.google.bigtable.admin.v2.Table.View\x12\x11\n\tpage_size\x18\x04 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"^\n\x12ListTablesResponse\x12/\n\x06tables\x18\x01 \x03(\x0b\x32\x1f.google.bigtable.admin.v2.Table\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x7f\n\x0fGetTableRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"bigtableadmin.googleapis.com/Table\x12\x32\n\x04view\x18\x02 \x01(\x0e\x32$.google.bigtable.admin.v2.Table.View\"\x7f\n\x12UpdateTableRequest\x12\x33\n\x05table\x18\x01 \x01(\x0b\x32\x1f.google.bigtable.admin.v2.TableB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"\x81\x01\n\x13UpdateTableMetadata\x12\x0c\n\x04name\x18\x01 \x01(\t\x12.\n\nstart_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"N\n\x12\x44\x65leteTableRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"bigtableadmin.googleapis.com/Table\"P\n\x14UndeleteTableRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"bigtableadmin.googleapis.com/Table\"\x83\x01\n\x15UndeleteTableMetadata\x12\x0c\n\x04name\x18\x01 \x01(\t\x12.\n\nstart_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xdf\x02\n\x1bModifyColumnFamiliesRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"bigtableadmin.googleapis.com/Table\x12^\n\rmodifications\x18\x02 \x03(\x0b\x32\x42.google.bigtable.admin.v2.ModifyColumnFamiliesRequest.ModificationB\x03\xe0\x41\x02\x1a\xa5\x01\n\x0cModification\x12\n\n\x02id\x18\x01 \x01(\t\x12\x38\n\x06\x63reate\x18\x02 \x01(\x0b\x32&.google.bigtable.admin.v2.ColumnFamilyH\x00\x12\x38\n\x06update\x18\x03 \x01(\x0b\x32&.google.bigtable.admin.v2.ColumnFamilyH\x00\x12\x0e\n\x04\x64rop\x18\x04 \x01(\x08H\x00\x42\x05\n\x03mod\"[\n\x1fGenerateConsistencyTokenRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"bigtableadmin.googleapis.com/Table\"=\n GenerateConsistencyTokenResponse\x12\x19\n\x11\x63onsistency_token\x18\x01 \x01(\t\"s\n\x17\x43heckConsistencyRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"bigtableadmin.googleapis.com/Table\x12\x1e\n\x11\x63onsistency_token\x18\x02 \x01(\tB\x03\xe0\x41\x02\".\n\x18\x43heckConsistencyResponse\x12\x12\n\nconsistent\x18\x01 \x01(\x08\"\xe6\x01\n\x14SnapshotTableRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"bigtableadmin.googleapis.com/Table\x12=\n\x07\x63luster\x18\x02 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$bigtableadmin.googleapis.com/Cluster\x12\x18\n\x0bsnapshot_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12&\n\x03ttl\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\"Q\n\x12GetSnapshotRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%bigtableadmin.googleapis.com/Snapshot\"{\n\x14ListSnapshotsRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$bigtableadmin.googleapis.com/Cluster\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"g\n\x15ListSnapshotsResponse\x12\x35\n\tsnapshots\x18\x01 \x03(\x0b\x32\".google.bigtable.admin.v2.Snapshot\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"T\n\x15\x44\x65leteSnapshotRequest\x12;\n\x04name\x18\x01 \x01(\tB-\xe0\x41\x02\xfa\x41\'\n%bigtableadmin.googleapis.com/Snapshot\"\xc4\x01\n\x15SnapshotTableMetadata\x12H\n\x10original_request\x18\x01 \x01(\x0b\x32..google.bigtable.admin.v2.SnapshotTableRequest\x12\x30\n\x0crequest_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x66inish_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xd8\x01\n\x1f\x43reateTableFromSnapshotMetadata\x12R\n\x10original_request\x18\x01 \x01(\x0b\x32\x38.google.bigtable.admin.v2.CreateTableFromSnapshotRequest\x12\x30\n\x0crequest_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x66inish_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xa2\x01\n\x13\x43reateBackupRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$bigtableadmin.googleapis.com/Cluster\x12\x16\n\tbackup_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x35\n\x06\x62\x61\x63kup\x18\x03 \x01(\x0b\x32 .google.bigtable.admin.v2.BackupB\x03\xe0\x41\x02\"\x98\x01\n\x14\x43reateBackupMetadata\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0csource_table\x18\x02 \x01(\t\x12.\n\nstart_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x82\x01\n\x13UpdateBackupRequest\x12\x35\n\x06\x62\x61\x63kup\x18\x01 \x01(\x0b\x32 .google.bigtable.admin.v2.BackupB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"M\n\x10GetBackupRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#bigtableadmin.googleapis.com/Backup\"P\n\x13\x44\x65leteBackupRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#bigtableadmin.googleapis.com/Backup\"\x9b\x01\n\x12ListBackupsRequest\x12<\n\x06parent\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$bigtableadmin.googleapis.com/Cluster\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x10\n\x08order_by\x18\x03 \x01(\t\x12\x11\n\tpage_size\x18\x04 \x01(\x05\x12\x12\n\npage_token\x18\x05 \x01(\t\"a\n\x13ListBackupsResponse\x12\x31\n\x07\x62\x61\x63kups\x18\x01 \x03(\x0b\x32 .google.bigtable.admin.v2.Backup\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\xb2(\n\x12\x42igtableTableAdmin\x12\xab\x01\n\x0b\x43reateTable\x12,.google.bigtable.admin.v2.CreateTableRequest\x1a\x1f.google.bigtable.admin.v2.Table\"M\x82\xd3\xe4\x93\x02/\"*/v2/{parent=projects/*/instances/*}/tables:\x01*\xda\x41\x15parent,table_id,table\x12\x8a\x02\n\x17\x43reateTableFromSnapshot\x12\x38.google.bigtable.admin.v2.CreateTableFromSnapshotRequest\x1a\x1d.google.longrunning.Operation\"\x95\x01\x82\xd3\xe4\x93\x02\x42\"=/v2/{parent=projects/*/instances/*}/tables:createFromSnapshot:\x01*\xda\x41\x1fparent,table_id,source_snapshot\xca\x41(\n\x05Table\x12\x1f\x43reateTableFromSnapshotMetadata\x12\xa4\x01\n\nListTables\x12+.google.bigtable.admin.v2.ListTablesRequest\x1a,.google.bigtable.admin.v2.ListTablesResponse\";\x82\xd3\xe4\x93\x02,\x12*/v2/{parent=projects/*/instances/*}/tables\xda\x41\x06parent\x12\x91\x01\n\x08GetTable\x12).google.bigtable.admin.v2.GetTableRequest\x1a\x1f.google.bigtable.admin.v2.Table\"9\x82\xd3\xe4\x93\x02,\x12*/v2/{name=projects/*/instances/*/tables/*}\xda\x41\x04name\x12\xce\x01\n\x0bUpdateTable\x12,.google.bigtable.admin.v2.UpdateTableRequest\x1a\x1d.google.longrunning.Operation\"r\x82\xd3\xe4\x93\x02\x39\x32\x30/v2/{table.name=projects/*/instances/*/tables/*}:\x05table\xda\x41\x11table,update_mask\xca\x41\x1c\n\x05Table\x12\x13UpdateTableMetadata\x12\x8e\x01\n\x0b\x44\x65leteTable\x12,.google.bigtable.admin.v2.DeleteTableRequest\x1a\x16.google.protobuf.Empty\"9\x82\xd3\xe4\x93\x02,**/v2/{name=projects/*/instances/*/tables/*}\xda\x41\x04name\x12\xc6\x01\n\rUndeleteTable\x12..google.bigtable.admin.v2.UndeleteTableRequest\x1a\x1d.google.longrunning.Operation\"f\x82\xd3\xe4\x93\x02\x38\"3/v2/{name=projects/*/instances/*/tables/*}:undelete:\x01*\xda\x41\x04name\xca\x41\x1e\n\x05Table\x12\x15UndeleteTableMetadata\x12\xcf\x01\n\x14ModifyColumnFamilies\x12\x35.google.bigtable.admin.v2.ModifyColumnFamiliesRequest\x1a\x1f.google.bigtable.admin.v2.Table\"_\x82\xd3\xe4\x93\x02\x44\"?/v2/{name=projects/*/instances/*/tables/*}:modifyColumnFamilies:\x01*\xda\x41\x12name,modifications\x12\x99\x01\n\x0c\x44ropRowRange\x12-.google.bigtable.admin.v2.DropRowRangeRequest\x1a\x16.google.protobuf.Empty\"B\x82\xd3\xe4\x93\x02<\"7/v2/{name=projects/*/instances/*/tables/*}:dropRowRange:\x01*\x12\xe8\x01\n\x18GenerateConsistencyToken\x12\x39.google.bigtable.admin.v2.GenerateConsistencyTokenRequest\x1a:.google.bigtable.admin.v2.GenerateConsistencyTokenResponse\"U\x82\xd3\xe4\x93\x02H\"C/v2/{name=projects/*/instances/*/tables/*}:generateConsistencyToken:\x01*\xda\x41\x04name\x12\xda\x01\n\x10\x43heckConsistency\x12\x31.google.bigtable.admin.v2.CheckConsistencyRequest\x1a\x32.google.bigtable.admin.v2.CheckConsistencyResponse\"_\x82\xd3\xe4\x93\x02@\";/v2/{name=projects/*/instances/*/tables/*}:checkConsistency:\x01*\xda\x41\x16name,consistency_token\x12\xea\x01\n\rSnapshotTable\x12..google.bigtable.admin.v2.SnapshotTableRequest\x1a\x1d.google.longrunning.Operation\"\x89\x01\x82\xd3\xe4\x93\x02\x38\"3/v2/{name=projects/*/instances/*/tables/*}:snapshot:\x01*\xda\x41$name,cluster,snapshot_id,description\xca\x41!\n\x08Snapshot\x12\x15SnapshotTableMetadata\x12\xa8\x01\n\x0bGetSnapshot\x12,.google.bigtable.admin.v2.GetSnapshotRequest\x1a\".google.bigtable.admin.v2.Snapshot\"G\x82\xd3\xe4\x93\x02:\x12\x38/v2/{name=projects/*/instances/*/clusters/*/snapshots/*}\xda\x41\x04name\x12\xbb\x01\n\rListSnapshots\x12..google.bigtable.admin.v2.ListSnapshotsRequest\x1a/.google.bigtable.admin.v2.ListSnapshotsResponse\"I\x82\xd3\xe4\x93\x02:\x12\x38/v2/{parent=projects/*/instances/*/clusters/*}/snapshots\xda\x41\x06parent\x12\xa2\x01\n\x0e\x44\x65leteSnapshot\x12/.google.bigtable.admin.v2.DeleteSnapshotRequest\x1a\x16.google.protobuf.Empty\"G\x82\xd3\xe4\x93\x02:*8/v2/{name=projects/*/instances/*/clusters/*/snapshots/*}\xda\x41\x04name\x12\xe0\x01\n\x0c\x43reateBackup\x12-.google.bigtable.admin.v2.CreateBackupRequest\x1a\x1d.google.longrunning.Operation\"\x81\x01\x82\xd3\xe4\x93\x02@\"6/v2/{parent=projects/*/instances/*/clusters/*}/backups:\x06\x62\x61\x63kup\xda\x41\x17parent,backup_id,backup\xca\x41\x1e\n\x06\x42\x61\x63kup\x12\x14\x43reateBackupMetadata\x12\xa0\x01\n\tGetBackup\x12*.google.bigtable.admin.v2.GetBackupRequest\x1a .google.bigtable.admin.v2.Backup\"E\x82\xd3\xe4\x93\x02\x38\x12\x36/v2/{name=projects/*/instances/*/clusters/*/backups/*}\xda\x41\x04name\x12\xc3\x01\n\x0cUpdateBackup\x12-.google.bigtable.admin.v2.UpdateBackupRequest\x1a .google.bigtable.admin.v2.Backup\"b\x82\xd3\xe4\x93\x02G2=/v2/{backup.name=projects/*/instances/*/clusters/*/backups/*}:\x06\x62\x61\x63kup\xda\x41\x12\x62\x61\x63kup,update_mask\x12\x9c\x01\n\x0c\x44\x65leteBackup\x12-.google.bigtable.admin.v2.DeleteBackupRequest\x1a\x16.google.protobuf.Empty\"E\x82\xd3\xe4\x93\x02\x38*6/v2/{name=projects/*/instances/*/clusters/*/backups/*}\xda\x41\x04name\x12\xb3\x01\n\x0bListBackups\x12,.google.bigtable.admin.v2.ListBackupsRequest\x1a-.google.bigtable.admin.v2.ListBackupsResponse\"G\x82\xd3\xe4\x93\x02\x38\x12\x36/v2/{parent=projects/*/instances/*/clusters/*}/backups\xda\x41\x06parent\x12\xbb\x01\n\x0cRestoreTable\x12-.google.bigtable.admin.v2.RestoreTableRequest\x1a\x1d.google.longrunning.Operation\"]\x82\xd3\xe4\x93\x02\x37\"2/v2/{parent=projects/*/instances/*}/tables:restore:\x01*\xca\x41\x1d\n\x05Table\x12\x14RestoreTableMetadata\x12\xec\x01\n\x0cGetIamPolicy\x12\".google.iam.v1.GetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"\xa0\x01\x82\xd3\xe4\x93\x02\x8e\x01\";/v2/{resource=projects/*/instances/*/tables/*}:getIamPolicy:\x01*ZL\"G/v2/{resource=projects/*/instances/*/clusters/*/backups/*}:getIamPolicy:\x01*\xda\x41\x08resource\x12\xf3\x01\n\x0cSetIamPolicy\x12\".google.iam.v1.SetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"\xa7\x01\x82\xd3\xe4\x93\x02\x8e\x01\";/v2/{resource=projects/*/instances/*/tables/*}:setIamPolicy:\x01*ZL\"G/v2/{resource=projects/*/instances/*/clusters/*/backups/*}:setIamPolicy:\x01*\xda\x41\x0fresource,policy\x12\xa4\x02\n\x12TestIamPermissions\x12(.google.iam.v1.TestIamPermissionsRequest\x1a).google.iam.v1.TestIamPermissionsResponse\"\xb8\x01\x82\xd3\xe4\x93\x02\x9a\x01\"A/v2/{resource=projects/*/instances/*/tables/*}:testIamPermissions:\x01*ZR\"M/v2/{resource=projects/*/instances/*/clusters/*/backups/*}:testIamPermissions:\x01*\xda\x41\x14resource,permissions\x1a\xde\x02\xca\x41\x1c\x62igtableadmin.googleapis.com\xd2\x41\xbb\x02https://www.googleapis.com/auth/bigtable.admin,https://www.googleapis.com/auth/bigtable.admin.table,https://www.googleapis.com/auth/cloud-bigtable.admin,https://www.googleapis.com/auth/cloud-bigtable.admin.table,https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/cloud-platform.read-onlyB\xdf\x01\n\x1c\x63om.google.bigtable.admin.v2B\x17\x42igtableTableAdminProtoP\x01Z=google.golang.org/genproto/googleapis/bigtable/admin/v2;admin\xaa\x02\x1eGoogle.Cloud.Bigtable.Admin.V2\xca\x02\x1eGoogle\\Cloud\\Bigtable\\Admin\\V2\xea\x02\"Google::Cloud::Bigtable::Admin::V2b\x06proto3"
23
+
24
+ pool = Google::Protobuf::DescriptorPool.generated_pool
25
+
26
+ begin
27
+ pool.add_serialized_file(descriptor_data)
28
+ rescue TypeError => e
29
+ # Compatibility code: will be removed in the next major version.
30
+ require 'google/protobuf/descriptor_pb'
31
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
32
+ parsed.clear_dependency
33
+ serialized = parsed.class.encode(parsed)
34
+ file = pool.add_serialized_file(serialized)
35
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
36
+ imports = [
37
+ ["google.bigtable.admin.v2.BackupInfo", "google/bigtable/admin/v2/table.proto"],
38
+ ["google.bigtable.admin.v2.OperationProgress", "google/bigtable/admin/v2/common.proto"],
39
+ ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
40
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
41
+ ["google.protobuf.Duration", "google/protobuf/duration.proto"],
42
+ ]
43
+ imports.each do |type_name, expected_filename|
44
+ import_file = pool.lookup(type_name).file_descriptor
45
+ if import_file.name != expected_filename
46
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
185
47
  end
186
48
  end
49
+ warn "Each proto file must use a consistent fully-qualified name."
50
+ warn "This will become an error in the next major version."
187
51
  end
188
52
 
189
53
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/bigtable/admin/v2/common.proto
3
4
 
@@ -5,19 +6,32 @@ require 'google/protobuf'
5
6
 
6
7
  require 'google/protobuf/timestamp_pb'
7
8
 
8
- Google::Protobuf::DescriptorPool.generated_pool.build do
9
- add_file("google/bigtable/admin/v2/common.proto", :syntax => :proto3) do
10
- add_message "google.bigtable.admin.v2.OperationProgress" do
11
- optional :progress_percent, :int32, 1
12
- optional :start_time, :message, 2, "google.protobuf.Timestamp"
13
- optional :end_time, :message, 3, "google.protobuf.Timestamp"
14
- end
15
- add_enum "google.bigtable.admin.v2.StorageType" do
16
- value :STORAGE_TYPE_UNSPECIFIED, 0
17
- value :SSD, 1
18
- value :HDD, 2
9
+
10
+ descriptor_data = "\n%google/bigtable/admin/v2/common.proto\x12\x18google.bigtable.admin.v2\x1a\x1fgoogle/protobuf/timestamp.proto\"\x8b\x01\n\x11OperationProgress\x12\x18\n\x10progress_percent\x18\x01 \x01(\x05\x12.\n\nstart_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp*=\n\x0bStorageType\x12\x1c\n\x18STORAGE_TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03SSD\x10\x01\x12\x07\n\x03HDD\x10\x02\x42\xd3\x01\n\x1c\x63om.google.bigtable.admin.v2B\x0b\x43ommonProtoP\x01Z=google.golang.org/genproto/googleapis/bigtable/admin/v2;admin\xaa\x02\x1eGoogle.Cloud.Bigtable.Admin.V2\xca\x02\x1eGoogle\\Cloud\\Bigtable\\Admin\\V2\xea\x02\"Google::Cloud::Bigtable::Admin::V2b\x06proto3"
11
+
12
+ pool = Google::Protobuf::DescriptorPool.generated_pool
13
+
14
+ begin
15
+ pool.add_serialized_file(descriptor_data)
16
+ rescue TypeError => e
17
+ # Compatibility code: will be removed in the next major version.
18
+ require 'google/protobuf/descriptor_pb'
19
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
20
+ parsed.clear_dependency
21
+ serialized = parsed.class.encode(parsed)
22
+ file = pool.add_serialized_file(serialized)
23
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
24
+ imports = [
25
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
26
+ ]
27
+ imports.each do |type_name, expected_filename|
28
+ import_file = pool.lookup(type_name).file_descriptor
29
+ if import_file.name != expected_filename
30
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
19
31
  end
20
32
  end
33
+ warn "Each proto file must use a consistent fully-qualified name."
34
+ warn "This will become an error in the next major version."
21
35
  end
22
36
 
23
37
  module Google