google-cloud-bigtable 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.yardopts +19 -0
- data/AUTHENTICATION.md +177 -0
- data/CHANGELOG.md +223 -0
- data/CODE_OF_CONDUCT.md +40 -0
- data/CONTRIBUTING.md +188 -0
- data/EMULATOR.md +30 -0
- data/LICENSE +201 -0
- data/LOGGING.md +32 -0
- data/OVERVIEW.md +400 -0
- data/TROUBLESHOOTING.md +31 -0
- data/lib/google-cloud-bigtable.rb +171 -0
- data/lib/google/bigtable/admin/v2/bigtable_instance_admin_pb.rb +145 -0
- data/lib/google/bigtable/admin/v2/bigtable_instance_admin_services_pb.rb +90 -0
- data/lib/google/bigtable/admin/v2/bigtable_table_admin_pb.rb +208 -0
- data/lib/google/bigtable/admin/v2/bigtable_table_admin_services_pb.rb +154 -0
- data/lib/google/bigtable/admin/v2/common_pb.rb +30 -0
- data/lib/google/bigtable/admin/v2/instance_pb.rb +74 -0
- data/lib/google/bigtable/admin/v2/table_pb.rb +127 -0
- data/lib/google/bigtable/v2/bigtable_pb.rb +113 -0
- data/lib/google/bigtable/v2/bigtable_services_pb.rb +68 -0
- data/lib/google/bigtable/v2/data_pb.rb +156 -0
- data/lib/google/cloud/bigtable.rb +184 -0
- data/lib/google/cloud/bigtable/admin.rb +202 -0
- data/lib/google/cloud/bigtable/admin/credentials.rb +27 -0
- data/lib/google/cloud/bigtable/admin/v2.rb +223 -0
- data/lib/google/cloud/bigtable/admin/v2/bigtable_instance_admin_client.rb +1451 -0
- data/lib/google/cloud/bigtable/admin/v2/bigtable_instance_admin_client_config.json +139 -0
- data/lib/google/cloud/bigtable/admin/v2/bigtable_table_admin_client.rb +1734 -0
- data/lib/google/cloud/bigtable/admin/v2/bigtable_table_admin_client_config.json +163 -0
- data/lib/google/cloud/bigtable/admin/v2/credentials.rb +51 -0
- data/lib/google/cloud/bigtable/admin/v2/doc/google/bigtable/admin/v2/bigtable_instance_admin.rb +297 -0
- data/lib/google/cloud/bigtable/admin/v2/doc/google/bigtable/admin/v2/bigtable_table_admin.rb +587 -0
- data/lib/google/cloud/bigtable/admin/v2/doc/google/bigtable/admin/v2/instance.rb +193 -0
- data/lib/google/cloud/bigtable/admin/v2/doc/google/bigtable/admin/v2/table.rb +303 -0
- data/lib/google/cloud/bigtable/admin/v2/doc/google/iam/v1/iam_policy.rb +64 -0
- data/lib/google/cloud/bigtable/admin/v2/doc/google/iam/v1/options.rb +33 -0
- data/lib/google/cloud/bigtable/admin/v2/doc/google/iam/v1/policy.rb +151 -0
- data/lib/google/cloud/bigtable/admin/v2/doc/google/longrunning/operations.rb +51 -0
- data/lib/google/cloud/bigtable/admin/v2/doc/google/protobuf/any.rb +131 -0
- data/lib/google/cloud/bigtable/admin/v2/doc/google/protobuf/duration.rb +91 -0
- data/lib/google/cloud/bigtable/admin/v2/doc/google/protobuf/empty.rb +29 -0
- data/lib/google/cloud/bigtable/admin/v2/doc/google/protobuf/field_mask.rb +222 -0
- data/lib/google/cloud/bigtable/admin/v2/doc/google/protobuf/timestamp.rb +113 -0
- data/lib/google/cloud/bigtable/admin/v2/doc/google/rpc/status.rb +39 -0
- data/lib/google/cloud/bigtable/admin/v2/doc/google/type/expr.rb +45 -0
- data/lib/google/cloud/bigtable/app_profile.rb +439 -0
- data/lib/google/cloud/bigtable/app_profile/job.rb +99 -0
- data/lib/google/cloud/bigtable/app_profile/list.rb +165 -0
- data/lib/google/cloud/bigtable/backup.rb +324 -0
- data/lib/google/cloud/bigtable/backup/job.rb +87 -0
- data/lib/google/cloud/bigtable/backup/list.rb +167 -0
- data/lib/google/cloud/bigtable/chunk_processor.rb +241 -0
- data/lib/google/cloud/bigtable/cluster.rb +390 -0
- data/lib/google/cloud/bigtable/cluster/job.rb +88 -0
- data/lib/google/cloud/bigtable/cluster/list.rb +171 -0
- data/lib/google/cloud/bigtable/column_family.rb +73 -0
- data/lib/google/cloud/bigtable/column_family_map.rb +426 -0
- data/lib/google/cloud/bigtable/column_range.rb +194 -0
- data/lib/google/cloud/bigtable/convert.rb +83 -0
- data/lib/google/cloud/bigtable/credentials.rb +25 -0
- data/lib/google/cloud/bigtable/errors.rb +38 -0
- data/lib/google/cloud/bigtable/gc_rule.rb +334 -0
- data/lib/google/cloud/bigtable/instance.rb +935 -0
- data/lib/google/cloud/bigtable/instance/cluster_map.rb +74 -0
- data/lib/google/cloud/bigtable/instance/job.rb +98 -0
- data/lib/google/cloud/bigtable/instance/list.rb +164 -0
- data/lib/google/cloud/bigtable/longrunning_job.rb +122 -0
- data/lib/google/cloud/bigtable/mutation_entry.rb +256 -0
- data/lib/google/cloud/bigtable/mutation_operations.rb +357 -0
- data/lib/google/cloud/bigtable/policy.rb +167 -0
- data/lib/google/cloud/bigtable/project.rb +471 -0
- data/lib/google/cloud/bigtable/read_modify_write_rule.rb +134 -0
- data/lib/google/cloud/bigtable/read_operations.rb +328 -0
- data/lib/google/cloud/bigtable/routing_policy.rb +172 -0
- data/lib/google/cloud/bigtable/row.rb +136 -0
- data/lib/google/cloud/bigtable/row_filter.rb +639 -0
- data/lib/google/cloud/bigtable/row_filter/chain_filter.rb +590 -0
- data/lib/google/cloud/bigtable/row_filter/condition_filter.rb +114 -0
- data/lib/google/cloud/bigtable/row_filter/interleave_filter.rb +621 -0
- data/lib/google/cloud/bigtable/row_filter/simple_filter.rb +287 -0
- data/lib/google/cloud/bigtable/row_range.rb +179 -0
- data/lib/google/cloud/bigtable/rows_mutator.rb +113 -0
- data/lib/google/cloud/bigtable/rows_reader.rb +200 -0
- data/lib/google/cloud/bigtable/sample_row_key.rb +85 -0
- data/lib/google/cloud/bigtable/service.rb +913 -0
- data/lib/google/cloud/bigtable/status.rb +76 -0
- data/lib/google/cloud/bigtable/table.rb +686 -0
- data/lib/google/cloud/bigtable/table/cluster_state.rb +125 -0
- data/lib/google/cloud/bigtable/table/list.rb +154 -0
- data/lib/google/cloud/bigtable/table/restore_job.rb +117 -0
- data/lib/google/cloud/bigtable/v2.rb +146 -0
- data/lib/google/cloud/bigtable/v2/bigtable_client.rb +591 -0
- data/lib/google/cloud/bigtable/v2/bigtable_client_config.json +83 -0
- data/lib/google/cloud/bigtable/v2/credentials.rb +46 -0
- data/lib/google/cloud/bigtable/v2/doc/google/bigtable/v2/bigtable.rb +290 -0
- data/lib/google/cloud/bigtable/v2/doc/google/bigtable/v2/data.rb +493 -0
- data/lib/google/cloud/bigtable/v2/doc/google/protobuf/any.rb +131 -0
- data/lib/google/cloud/bigtable/v2/doc/google/protobuf/wrappers.rb +34 -0
- data/lib/google/cloud/bigtable/v2/doc/google/rpc/status.rb +39 -0
- data/lib/google/cloud/bigtable/value_range.rb +181 -0
- data/lib/google/cloud/bigtable/version.rb +22 -0
- metadata +337 -0
@@ -0,0 +1,163 @@
|
|
1
|
+
{
|
2
|
+
"interfaces": {
|
3
|
+
"google.bigtable.admin.v2.BigtableTableAdmin": {
|
4
|
+
"retry_codes": {
|
5
|
+
"idempotent": [
|
6
|
+
"DEADLINE_EXCEEDED",
|
7
|
+
"UNAVAILABLE"
|
8
|
+
],
|
9
|
+
"non_idempotent": []
|
10
|
+
},
|
11
|
+
"retry_params": {
|
12
|
+
"idempotent_params": {
|
13
|
+
"initial_retry_delay_millis": 1000,
|
14
|
+
"retry_delay_multiplier": 2.0,
|
15
|
+
"max_retry_delay_millis": 60000,
|
16
|
+
"initial_rpc_timeout_millis": 60000,
|
17
|
+
"rpc_timeout_multiplier": 1.0,
|
18
|
+
"max_rpc_timeout_millis": 60000,
|
19
|
+
"total_timeout_millis": 600000
|
20
|
+
},
|
21
|
+
"non_idempotent_params": {
|
22
|
+
"initial_retry_delay_millis": 0,
|
23
|
+
"retry_delay_multiplier": 1.0,
|
24
|
+
"max_retry_delay_millis": 0,
|
25
|
+
"initial_rpc_timeout_millis": 60000,
|
26
|
+
"rpc_timeout_multiplier": 1.0,
|
27
|
+
"max_rpc_timeout_millis": 60000,
|
28
|
+
"total_timeout_millis": 60000
|
29
|
+
},
|
30
|
+
"non_idempotent_heavy_params": {
|
31
|
+
"initial_retry_delay_millis": 0,
|
32
|
+
"retry_delay_multiplier": 1.0,
|
33
|
+
"max_retry_delay_millis": 0,
|
34
|
+
"initial_rpc_timeout_millis": 300000,
|
35
|
+
"rpc_timeout_multiplier": 1.0,
|
36
|
+
"max_rpc_timeout_millis": 300000,
|
37
|
+
"total_timeout_millis": 300000
|
38
|
+
},
|
39
|
+
"drop_row_range_params": {
|
40
|
+
"initial_retry_delay_millis": 0,
|
41
|
+
"retry_delay_multiplier": 1.0,
|
42
|
+
"max_retry_delay_millis": 0,
|
43
|
+
"initial_rpc_timeout_millis": 3600000,
|
44
|
+
"rpc_timeout_multiplier": 1.0,
|
45
|
+
"max_rpc_timeout_millis": 3600000,
|
46
|
+
"total_timeout_millis": 3600000
|
47
|
+
}
|
48
|
+
},
|
49
|
+
"methods": {
|
50
|
+
"CreateTable": {
|
51
|
+
"timeout_millis": 130000,
|
52
|
+
"retry_codes_name": "non_idempotent",
|
53
|
+
"retry_params_name": "non_idempotent_heavy_params"
|
54
|
+
},
|
55
|
+
"CreateTableFromSnapshot": {
|
56
|
+
"timeout_millis": 60000,
|
57
|
+
"retry_codes_name": "non_idempotent",
|
58
|
+
"retry_params_name": "non_idempotent_params"
|
59
|
+
},
|
60
|
+
"ListTables": {
|
61
|
+
"timeout_millis": 60000,
|
62
|
+
"retry_codes_name": "idempotent",
|
63
|
+
"retry_params_name": "idempotent_params"
|
64
|
+
},
|
65
|
+
"GetTable": {
|
66
|
+
"timeout_millis": 60000,
|
67
|
+
"retry_codes_name": "idempotent",
|
68
|
+
"retry_params_name": "idempotent_params"
|
69
|
+
},
|
70
|
+
"DeleteTable": {
|
71
|
+
"timeout_millis": 60000,
|
72
|
+
"retry_codes_name": "non_idempotent",
|
73
|
+
"retry_params_name": "non_idempotent_params"
|
74
|
+
},
|
75
|
+
"ModifyColumnFamilies": {
|
76
|
+
"timeout_millis": 300000,
|
77
|
+
"retry_codes_name": "non_idempotent",
|
78
|
+
"retry_params_name": "non_idempotent_heavy_params"
|
79
|
+
},
|
80
|
+
"DropRowRange": {
|
81
|
+
"timeout_millis": 900000,
|
82
|
+
"retry_codes_name": "non_idempotent",
|
83
|
+
"retry_params_name": "drop_row_range_params"
|
84
|
+
},
|
85
|
+
"GenerateConsistencyToken": {
|
86
|
+
"timeout_millis": 60000,
|
87
|
+
"retry_codes_name": "idempotent",
|
88
|
+
"retry_params_name": "idempotent_params"
|
89
|
+
},
|
90
|
+
"CheckConsistency": {
|
91
|
+
"timeout_millis": 60000,
|
92
|
+
"retry_codes_name": "idempotent",
|
93
|
+
"retry_params_name": "idempotent_params"
|
94
|
+
},
|
95
|
+
"GetIamPolicy": {
|
96
|
+
"timeout_millis": 60000,
|
97
|
+
"retry_codes_name": "idempotent",
|
98
|
+
"retry_params_name": "idempotent_params"
|
99
|
+
},
|
100
|
+
"SetIamPolicy": {
|
101
|
+
"timeout_millis": 60000,
|
102
|
+
"retry_codes_name": "non_idempotent",
|
103
|
+
"retry_params_name": "non_idempotent_params"
|
104
|
+
},
|
105
|
+
"TestIamPermissions": {
|
106
|
+
"timeout_millis": 60000,
|
107
|
+
"retry_codes_name": "idempotent",
|
108
|
+
"retry_params_name": "idempotent_params"
|
109
|
+
},
|
110
|
+
"SnapshotTable": {
|
111
|
+
"timeout_millis": 60000,
|
112
|
+
"retry_codes_name": "non_idempotent",
|
113
|
+
"retry_params_name": "non_idempotent_params"
|
114
|
+
},
|
115
|
+
"GetSnapshot": {
|
116
|
+
"timeout_millis": 60000,
|
117
|
+
"retry_codes_name": "idempotent",
|
118
|
+
"retry_params_name": "idempotent_params"
|
119
|
+
},
|
120
|
+
"ListSnapshots": {
|
121
|
+
"timeout_millis": 60000,
|
122
|
+
"retry_codes_name": "idempotent",
|
123
|
+
"retry_params_name": "idempotent_params"
|
124
|
+
},
|
125
|
+
"DeleteSnapshot": {
|
126
|
+
"timeout_millis": 60000,
|
127
|
+
"retry_codes_name": "non_idempotent",
|
128
|
+
"retry_params_name": "non_idempotent_params"
|
129
|
+
},
|
130
|
+
"CreateBackup": {
|
131
|
+
"timeout_millis": 60000,
|
132
|
+
"retry_codes_name": "non_idempotent",
|
133
|
+
"retry_params_name": "non_idempotent_params"
|
134
|
+
},
|
135
|
+
"GetBackup": {
|
136
|
+
"timeout_millis": 60000,
|
137
|
+
"retry_codes_name": "idempotent",
|
138
|
+
"retry_params_name": "idempotent_params"
|
139
|
+
},
|
140
|
+
"ListBackups": {
|
141
|
+
"timeout_millis": 60000,
|
142
|
+
"retry_codes_name": "idempotent",
|
143
|
+
"retry_params_name": "idempotent_params"
|
144
|
+
},
|
145
|
+
"UpdateBackup": {
|
146
|
+
"timeout_millis": 60000,
|
147
|
+
"retry_codes_name": "non_idempotent",
|
148
|
+
"retry_params_name": "non_idempotent_params"
|
149
|
+
},
|
150
|
+
"DeleteBackup": {
|
151
|
+
"timeout_millis": 60000,
|
152
|
+
"retry_codes_name": "non_idempotent",
|
153
|
+
"retry_params_name": "non_idempotent_params"
|
154
|
+
},
|
155
|
+
"RestoreTable": {
|
156
|
+
"timeout_millis": 60000,
|
157
|
+
"retry_codes_name": "non_idempotent",
|
158
|
+
"retry_params_name": "non_idempotent_params"
|
159
|
+
}
|
160
|
+
}
|
161
|
+
}
|
162
|
+
}
|
163
|
+
}
|
@@ -0,0 +1,51 @@
|
|
1
|
+
# Copyright 2020 Google LLC
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
|
16
|
+
require "googleauth"
|
17
|
+
|
18
|
+
module Google
|
19
|
+
module Cloud
|
20
|
+
module Bigtable
|
21
|
+
module Admin
|
22
|
+
module V2
|
23
|
+
class Credentials < Google::Auth::Credentials
|
24
|
+
SCOPE = [
|
25
|
+
"https://www.googleapis.com/auth/bigtable.admin",
|
26
|
+
"https://www.googleapis.com/auth/bigtable.admin.cluster",
|
27
|
+
"https://www.googleapis.com/auth/bigtable.admin.instance",
|
28
|
+
"https://www.googleapis.com/auth/bigtable.admin.table",
|
29
|
+
"https://www.googleapis.com/auth/cloud-bigtable.admin",
|
30
|
+
"https://www.googleapis.com/auth/cloud-bigtable.admin.cluster",
|
31
|
+
"https://www.googleapis.com/auth/cloud-bigtable.admin.table",
|
32
|
+
"https://www.googleapis.com/auth/cloud-platform",
|
33
|
+
"https://www.googleapis.com/auth/cloud-platform.read-only"
|
34
|
+
].freeze
|
35
|
+
PATH_ENV_VARS = %w(BIGTABLE_ADMIN_CREDENTIALS
|
36
|
+
BIGTABLE_ADMIN_KEYFILE
|
37
|
+
GOOGLE_CLOUD_CREDENTIALS
|
38
|
+
GOOGLE_CLOUD_KEYFILE
|
39
|
+
GCLOUD_KEYFILE)
|
40
|
+
JSON_ENV_VARS = %w(BIGTABLE_ADMIN_CREDENTIALS_JSON
|
41
|
+
BIGTABLE_ADMIN_KEYFILE_JSON
|
42
|
+
GOOGLE_CLOUD_CREDENTIALS_JSON
|
43
|
+
GOOGLE_CLOUD_KEYFILE_JSON
|
44
|
+
GCLOUD_KEYFILE_JSON)
|
45
|
+
DEFAULT_PATHS = ["~/.config/gcloud/application_default_credentials.json"]
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
data/lib/google/cloud/bigtable/admin/v2/doc/google/bigtable/admin/v2/bigtable_instance_admin.rb
ADDED
@@ -0,0 +1,297 @@
|
|
1
|
+
# Copyright 2020 Google LLC
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
|
16
|
+
module Google
|
17
|
+
module Bigtable
|
18
|
+
module Admin
|
19
|
+
module V2
|
20
|
+
# Request message for BigtableInstanceAdmin.CreateInstance.
|
21
|
+
# @!attribute [rw] parent
|
22
|
+
# @return [String]
|
23
|
+
# Required. The unique name of the project in which to create the new instance.
|
24
|
+
# Values are of the form `projects/{project}`.
|
25
|
+
# @!attribute [rw] instance_id
|
26
|
+
# @return [String]
|
27
|
+
# Required. The ID to be used when referring to the new instance within its project,
|
28
|
+
# e.g., just `myinstance` rather than
|
29
|
+
# `projects/myproject/instances/myinstance`.
|
30
|
+
# @!attribute [rw] instance
|
31
|
+
# @return [Google::Bigtable::Admin::V2::Instance]
|
32
|
+
# Required. The instance to create.
|
33
|
+
# Fields marked `OutputOnly` must be left blank.
|
34
|
+
# @!attribute [rw] clusters
|
35
|
+
# @return [Hash{String => Google::Bigtable::Admin::V2::Cluster}]
|
36
|
+
# Required. The clusters to be created within the instance, mapped by desired
|
37
|
+
# cluster ID, e.g., just `mycluster` rather than
|
38
|
+
# `projects/myproject/instances/myinstance/clusters/mycluster`.
|
39
|
+
# Fields marked `OutputOnly` must be left blank.
|
40
|
+
# Currently, at most four clusters can be specified.
|
41
|
+
class CreateInstanceRequest; end
|
42
|
+
|
43
|
+
# Request message for BigtableInstanceAdmin.GetInstance.
|
44
|
+
# @!attribute [rw] name
|
45
|
+
# @return [String]
|
46
|
+
# Required. The unique name of the requested instance. Values are of the form
|
47
|
+
# `projects/{project}/instances/{instance}`.
|
48
|
+
class GetInstanceRequest; end
|
49
|
+
|
50
|
+
# Request message for BigtableInstanceAdmin.ListInstances.
|
51
|
+
# @!attribute [rw] parent
|
52
|
+
# @return [String]
|
53
|
+
# Required. The unique name of the project for which a list of instances is requested.
|
54
|
+
# Values are of the form `projects/{project}`.
|
55
|
+
# @!attribute [rw] page_token
|
56
|
+
# @return [String]
|
57
|
+
# DEPRECATED: This field is unused and ignored.
|
58
|
+
class ListInstancesRequest; end
|
59
|
+
|
60
|
+
# Response message for BigtableInstanceAdmin.ListInstances.
|
61
|
+
# @!attribute [rw] instances
|
62
|
+
# @return [Array<Google::Bigtable::Admin::V2::Instance>]
|
63
|
+
# The list of requested instances.
|
64
|
+
# @!attribute [rw] failed_locations
|
65
|
+
# @return [Array<String>]
|
66
|
+
# Locations from which Instance information could not be retrieved,
|
67
|
+
# due to an outage or some other transient condition.
|
68
|
+
# Instances whose Clusters are all in one of the failed locations
|
69
|
+
# may be missing from `instances`, and Instances with at least one
|
70
|
+
# Cluster in a failed location may only have partial information returned.
|
71
|
+
# Values are of the form `projects/<project>/locations/<zone_id>`
|
72
|
+
# @!attribute [rw] next_page_token
|
73
|
+
# @return [String]
|
74
|
+
# DEPRECATED: This field is unused and ignored.
|
75
|
+
class ListInstancesResponse; end
|
76
|
+
|
77
|
+
# Request message for BigtableInstanceAdmin.PartialUpdateInstance.
|
78
|
+
# @!attribute [rw] instance
|
79
|
+
# @return [Google::Bigtable::Admin::V2::Instance]
|
80
|
+
# Required. The Instance which will (partially) replace the current value.
|
81
|
+
# @!attribute [rw] update_mask
|
82
|
+
# @return [Google::Protobuf::FieldMask]
|
83
|
+
# Required. The subset of Instance fields which should be replaced.
|
84
|
+
# Must be explicitly set.
|
85
|
+
class PartialUpdateInstanceRequest; end
|
86
|
+
|
87
|
+
# Request message for BigtableInstanceAdmin.DeleteInstance.
|
88
|
+
# @!attribute [rw] name
|
89
|
+
# @return [String]
|
90
|
+
# Required. The unique name of the instance to be deleted.
|
91
|
+
# Values are of the form `projects/{project}/instances/{instance}`.
|
92
|
+
class DeleteInstanceRequest; end
|
93
|
+
|
94
|
+
# Request message for BigtableInstanceAdmin.CreateCluster.
|
95
|
+
# @!attribute [rw] parent
|
96
|
+
# @return [String]
|
97
|
+
# Required. The unique name of the instance in which to create the new cluster.
|
98
|
+
# Values are of the form
|
99
|
+
# `projects/{project}/instances/{instance}`.
|
100
|
+
# @!attribute [rw] cluster_id
|
101
|
+
# @return [String]
|
102
|
+
# Required. The ID to be used when referring to the new cluster within its instance,
|
103
|
+
# e.g., just `mycluster` rather than
|
104
|
+
# `projects/myproject/instances/myinstance/clusters/mycluster`.
|
105
|
+
# @!attribute [rw] cluster
|
106
|
+
# @return [Google::Bigtable::Admin::V2::Cluster]
|
107
|
+
# Required. The cluster to be created.
|
108
|
+
# Fields marked `OutputOnly` must be left blank.
|
109
|
+
class CreateClusterRequest; end
|
110
|
+
|
111
|
+
# Request message for BigtableInstanceAdmin.GetCluster.
|
112
|
+
# @!attribute [rw] name
|
113
|
+
# @return [String]
|
114
|
+
# Required. The unique name of the requested cluster. Values are of the form
|
115
|
+
# `projects/{project}/instances/{instance}/clusters/{cluster}`.
|
116
|
+
class GetClusterRequest; end
|
117
|
+
|
118
|
+
# Request message for BigtableInstanceAdmin.ListClusters.
|
119
|
+
# @!attribute [rw] parent
|
120
|
+
# @return [String]
|
121
|
+
# Required. The unique name of the instance for which a list of clusters is requested.
|
122
|
+
# Values are of the form `projects/{project}/instances/{instance}`.
|
123
|
+
# Use `{instance} = '-'` to list Clusters for all Instances in a project,
|
124
|
+
# e.g., `projects/myproject/instances/-`.
|
125
|
+
# @!attribute [rw] page_token
|
126
|
+
# @return [String]
|
127
|
+
# DEPRECATED: This field is unused and ignored.
|
128
|
+
class ListClustersRequest; end
|
129
|
+
|
130
|
+
# Response message for BigtableInstanceAdmin.ListClusters.
|
131
|
+
# @!attribute [rw] clusters
|
132
|
+
# @return [Array<Google::Bigtable::Admin::V2::Cluster>]
|
133
|
+
# The list of requested clusters.
|
134
|
+
# @!attribute [rw] failed_locations
|
135
|
+
# @return [Array<String>]
|
136
|
+
# Locations from which Cluster information could not be retrieved,
|
137
|
+
# due to an outage or some other transient condition.
|
138
|
+
# Clusters from these locations may be missing from `clusters`,
|
139
|
+
# or may only have partial information returned.
|
140
|
+
# Values are of the form `projects/<project>/locations/<zone_id>`
|
141
|
+
# @!attribute [rw] next_page_token
|
142
|
+
# @return [String]
|
143
|
+
# DEPRECATED: This field is unused and ignored.
|
144
|
+
class ListClustersResponse; end
|
145
|
+
|
146
|
+
# Request message for BigtableInstanceAdmin.DeleteCluster.
|
147
|
+
# @!attribute [rw] name
|
148
|
+
# @return [String]
|
149
|
+
# Required. The unique name of the cluster to be deleted. Values are of the form
|
150
|
+
# `projects/{project}/instances/{instance}/clusters/{cluster}`.
|
151
|
+
class DeleteClusterRequest; end
|
152
|
+
|
153
|
+
# The metadata for the Operation returned by CreateInstance.
|
154
|
+
# @!attribute [rw] original_request
|
155
|
+
# @return [Google::Bigtable::Admin::V2::CreateInstanceRequest]
|
156
|
+
# The request that prompted the initiation of this CreateInstance operation.
|
157
|
+
# @!attribute [rw] request_time
|
158
|
+
# @return [Google::Protobuf::Timestamp]
|
159
|
+
# The time at which the original request was received.
|
160
|
+
# @!attribute [rw] finish_time
|
161
|
+
# @return [Google::Protobuf::Timestamp]
|
162
|
+
# The time at which the operation failed or was completed successfully.
|
163
|
+
class CreateInstanceMetadata; end
|
164
|
+
|
165
|
+
# The metadata for the Operation returned by UpdateInstance.
|
166
|
+
# @!attribute [rw] original_request
|
167
|
+
# @return [Google::Bigtable::Admin::V2::PartialUpdateInstanceRequest]
|
168
|
+
# The request that prompted the initiation of this UpdateInstance operation.
|
169
|
+
# @!attribute [rw] request_time
|
170
|
+
# @return [Google::Protobuf::Timestamp]
|
171
|
+
# The time at which the original request was received.
|
172
|
+
# @!attribute [rw] finish_time
|
173
|
+
# @return [Google::Protobuf::Timestamp]
|
174
|
+
# The time at which the operation failed or was completed successfully.
|
175
|
+
class UpdateInstanceMetadata; end
|
176
|
+
|
177
|
+
# The metadata for the Operation returned by CreateCluster.
|
178
|
+
# @!attribute [rw] original_request
|
179
|
+
# @return [Google::Bigtable::Admin::V2::CreateClusterRequest]
|
180
|
+
# The request that prompted the initiation of this CreateCluster operation.
|
181
|
+
# @!attribute [rw] request_time
|
182
|
+
# @return [Google::Protobuf::Timestamp]
|
183
|
+
# The time at which the original request was received.
|
184
|
+
# @!attribute [rw] finish_time
|
185
|
+
# @return [Google::Protobuf::Timestamp]
|
186
|
+
# The time at which the operation failed or was completed successfully.
|
187
|
+
class CreateClusterMetadata; end
|
188
|
+
|
189
|
+
# The metadata for the Operation returned by UpdateCluster.
|
190
|
+
# @!attribute [rw] original_request
|
191
|
+
# @return [Google::Bigtable::Admin::V2::Cluster]
|
192
|
+
# The request that prompted the initiation of this UpdateCluster operation.
|
193
|
+
# @!attribute [rw] request_time
|
194
|
+
# @return [Google::Protobuf::Timestamp]
|
195
|
+
# The time at which the original request was received.
|
196
|
+
# @!attribute [rw] finish_time
|
197
|
+
# @return [Google::Protobuf::Timestamp]
|
198
|
+
# The time at which the operation failed or was completed successfully.
|
199
|
+
class UpdateClusterMetadata; end
|
200
|
+
|
201
|
+
# Request message for BigtableInstanceAdmin.CreateAppProfile.
|
202
|
+
# @!attribute [rw] parent
|
203
|
+
# @return [String]
|
204
|
+
# Required. The unique name of the instance in which to create the new app profile.
|
205
|
+
# Values are of the form
|
206
|
+
# `projects/{project}/instances/{instance}`.
|
207
|
+
# @!attribute [rw] app_profile_id
|
208
|
+
# @return [String]
|
209
|
+
# Required. The ID to be used when referring to the new app profile within its
|
210
|
+
# instance, e.g., just `myprofile` rather than
|
211
|
+
# `projects/myproject/instances/myinstance/appProfiles/myprofile`.
|
212
|
+
# @!attribute [rw] app_profile
|
213
|
+
# @return [Google::Bigtable::Admin::V2::AppProfile]
|
214
|
+
# Required. The app profile to be created.
|
215
|
+
# Fields marked `OutputOnly` will be ignored.
|
216
|
+
# @!attribute [rw] ignore_warnings
|
217
|
+
# @return [true, false]
|
218
|
+
# If true, ignore safety checks when creating the app profile.
|
219
|
+
class CreateAppProfileRequest; end
|
220
|
+
|
221
|
+
# Request message for BigtableInstanceAdmin.GetAppProfile.
|
222
|
+
# @!attribute [rw] name
|
223
|
+
# @return [String]
|
224
|
+
# Required. The unique name of the requested app profile. Values are of the form
|
225
|
+
# `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
|
226
|
+
class GetAppProfileRequest; end
|
227
|
+
|
228
|
+
# Request message for BigtableInstanceAdmin.ListAppProfiles.
|
229
|
+
# @!attribute [rw] parent
|
230
|
+
# @return [String]
|
231
|
+
# Required. The unique name of the instance for which a list of app profiles is
|
232
|
+
# requested. Values are of the form
|
233
|
+
# `projects/{project}/instances/{instance}`.
|
234
|
+
# Use `{instance} = '-'` to list AppProfiles for all Instances in a project,
|
235
|
+
# e.g., `projects/myproject/instances/-`.
|
236
|
+
# @!attribute [rw] page_size
|
237
|
+
# @return [Integer]
|
238
|
+
# Maximum number of results per page.
|
239
|
+
#
|
240
|
+
# A page_size of zero lets the server choose the number of items to return.
|
241
|
+
# A page_size which is strictly positive will return at most that many items.
|
242
|
+
# A negative page_size will cause an error.
|
243
|
+
#
|
244
|
+
# Following the first request, subsequent paginated calls are not required
|
245
|
+
# to pass a page_size. If a page_size is set in subsequent calls, it must
|
246
|
+
# match the page_size given in the first request.
|
247
|
+
# @!attribute [rw] page_token
|
248
|
+
# @return [String]
|
249
|
+
# The value of `next_page_token` returned by a previous call.
|
250
|
+
class ListAppProfilesRequest; end
|
251
|
+
|
252
|
+
# Response message for BigtableInstanceAdmin.ListAppProfiles.
|
253
|
+
# @!attribute [rw] app_profiles
|
254
|
+
# @return [Array<Google::Bigtable::Admin::V2::AppProfile>]
|
255
|
+
# The list of requested app profiles.
|
256
|
+
# @!attribute [rw] next_page_token
|
257
|
+
# @return [String]
|
258
|
+
# Set if not all app profiles could be returned in a single response.
|
259
|
+
# Pass this value to `page_token` in another request to get the next
|
260
|
+
# page of results.
|
261
|
+
# @!attribute [rw] failed_locations
|
262
|
+
# @return [Array<String>]
|
263
|
+
# Locations from which AppProfile information could not be retrieved,
|
264
|
+
# due to an outage or some other transient condition.
|
265
|
+
# AppProfiles from these locations may be missing from `app_profiles`.
|
266
|
+
# Values are of the form `projects/<project>/locations/<zone_id>`
|
267
|
+
class ListAppProfilesResponse; end
|
268
|
+
|
269
|
+
# Request message for BigtableInstanceAdmin.UpdateAppProfile.
|
270
|
+
# @!attribute [rw] app_profile
|
271
|
+
# @return [Google::Bigtable::Admin::V2::AppProfile]
|
272
|
+
# Required. The app profile which will (partially) replace the current value.
|
273
|
+
# @!attribute [rw] update_mask
|
274
|
+
# @return [Google::Protobuf::FieldMask]
|
275
|
+
# Required. The subset of app profile fields which should be replaced.
|
276
|
+
# If unset, all fields will be replaced.
|
277
|
+
# @!attribute [rw] ignore_warnings
|
278
|
+
# @return [true, false]
|
279
|
+
# If true, ignore safety checks when updating the app profile.
|
280
|
+
class UpdateAppProfileRequest; end
|
281
|
+
|
282
|
+
# Request message for BigtableInstanceAdmin.DeleteAppProfile.
|
283
|
+
# @!attribute [rw] name
|
284
|
+
# @return [String]
|
285
|
+
# Required. The unique name of the app profile to be deleted. Values are of the form
|
286
|
+
# `projects/{project}/instances/{instance}/appProfiles/{app_profile}`.
|
287
|
+
# @!attribute [rw] ignore_warnings
|
288
|
+
# @return [true, false]
|
289
|
+
# If true, ignore safety checks when deleting the app profile.
|
290
|
+
class DeleteAppProfileRequest; end
|
291
|
+
|
292
|
+
# The metadata for the Operation returned by UpdateAppProfile.
|
293
|
+
class UpdateAppProfileMetadata; end
|
294
|
+
end
|
295
|
+
end
|
296
|
+
end
|
297
|
+
end
|