google-cloud-bigtable 1.2.1 → 2.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (87) hide show
  1. checksums.yaml +4 -4
  2. data/AUTHENTICATION.md +1 -1
  3. data/CHANGELOG.md +57 -0
  4. data/TROUBLESHOOTING.md +2 -8
  5. data/lib/google-cloud-bigtable.rb +30 -27
  6. data/lib/google/cloud/bigtable.rb +18 -26
  7. data/lib/google/cloud/bigtable/app_profile.rb +3 -3
  8. data/lib/google/cloud/bigtable/app_profile/list.rb +6 -4
  9. data/lib/google/cloud/bigtable/backup.rb +445 -0
  10. data/lib/google/cloud/bigtable/backup/job.rb +87 -0
  11. data/lib/google/cloud/bigtable/backup/list.rb +167 -0
  12. data/lib/google/cloud/bigtable/chunk_processor.rb +1 -1
  13. data/lib/google/cloud/bigtable/cluster.rb +101 -2
  14. data/lib/google/cloud/bigtable/cluster/list.rb +2 -2
  15. data/lib/google/cloud/bigtable/column_family.rb +2 -2
  16. data/lib/google/cloud/bigtable/column_family_map.rb +11 -11
  17. data/lib/google/cloud/bigtable/column_range.rb +2 -2
  18. data/lib/google/cloud/bigtable/credentials.rb +36 -2
  19. data/lib/google/cloud/bigtable/gc_rule.rb +7 -7
  20. data/lib/google/cloud/bigtable/instance.rb +6 -6
  21. data/lib/google/cloud/bigtable/instance/cluster_map.rb +1 -1
  22. data/lib/google/cloud/bigtable/instance/list.rb +2 -2
  23. data/lib/google/cloud/bigtable/longrunning_job.rb +13 -2
  24. data/lib/google/cloud/bigtable/mutation_entry.rb +10 -9
  25. data/lib/google/cloud/bigtable/mutation_operations.rb +2 -2
  26. data/lib/google/cloud/bigtable/project.rb +1 -1
  27. data/lib/google/cloud/bigtable/read_modify_write_rule.rb +2 -2
  28. data/lib/google/cloud/bigtable/read_operations.rb +2 -2
  29. data/lib/google/cloud/bigtable/routing_policy.rb +2 -2
  30. data/lib/google/cloud/bigtable/row_filter/chain_filter.rb +3 -3
  31. data/lib/google/cloud/bigtable/row_filter/condition_filter.rb +3 -3
  32. data/lib/google/cloud/bigtable/row_filter/interleave_filter.rb +3 -3
  33. data/lib/google/cloud/bigtable/row_filter/simple_filter.rb +3 -3
  34. data/lib/google/cloud/bigtable/row_range.rb +2 -2
  35. data/lib/google/cloud/bigtable/rows_mutator.rb +3 -3
  36. data/lib/google/cloud/bigtable/rows_reader.rb +10 -10
  37. data/lib/google/cloud/bigtable/sample_row_key.rb +2 -2
  38. data/lib/google/cloud/bigtable/service.rb +282 -245
  39. data/lib/google/cloud/bigtable/table.rb +5 -4
  40. data/lib/google/cloud/bigtable/table/cluster_state.rb +27 -6
  41. data/lib/google/cloud/bigtable/table/list.rb +2 -2
  42. data/lib/google/cloud/bigtable/table/restore_job.rb +117 -0
  43. data/lib/google/cloud/bigtable/value_range.rb +2 -2
  44. data/lib/google/cloud/bigtable/version.rb +1 -1
  45. metadata +16 -94
  46. data/lib/google/bigtable/admin/v2/bigtable_instance_admin_pb.rb +0 -145
  47. data/lib/google/bigtable/admin/v2/bigtable_instance_admin_services_pb.rb +0 -90
  48. data/lib/google/bigtable/admin/v2/bigtable_table_admin_pb.rb +0 -208
  49. data/lib/google/bigtable/admin/v2/bigtable_table_admin_services_pb.rb +0 -154
  50. data/lib/google/bigtable/admin/v2/common_pb.rb +0 -30
  51. data/lib/google/bigtable/admin/v2/instance_pb.rb +0 -74
  52. data/lib/google/bigtable/admin/v2/table_pb.rb +0 -127
  53. data/lib/google/bigtable/v2/bigtable_pb.rb +0 -113
  54. data/lib/google/bigtable/v2/bigtable_services_pb.rb +0 -68
  55. data/lib/google/bigtable/v2/data_pb.rb +0 -156
  56. data/lib/google/cloud/bigtable/admin.rb +0 -202
  57. data/lib/google/cloud/bigtable/admin/credentials.rb +0 -27
  58. data/lib/google/cloud/bigtable/admin/v2.rb +0 -223
  59. data/lib/google/cloud/bigtable/admin/v2/bigtable_instance_admin_client.rb +0 -1451
  60. data/lib/google/cloud/bigtable/admin/v2/bigtable_instance_admin_client_config.json +0 -139
  61. data/lib/google/cloud/bigtable/admin/v2/bigtable_table_admin_client.rb +0 -1734
  62. data/lib/google/cloud/bigtable/admin/v2/bigtable_table_admin_client_config.json +0 -163
  63. data/lib/google/cloud/bigtable/admin/v2/credentials.rb +0 -51
  64. data/lib/google/cloud/bigtable/admin/v2/doc/google/bigtable/admin/v2/bigtable_instance_admin.rb +0 -297
  65. data/lib/google/cloud/bigtable/admin/v2/doc/google/bigtable/admin/v2/bigtable_table_admin.rb +0 -587
  66. data/lib/google/cloud/bigtable/admin/v2/doc/google/bigtable/admin/v2/instance.rb +0 -193
  67. data/lib/google/cloud/bigtable/admin/v2/doc/google/bigtable/admin/v2/table.rb +0 -303
  68. data/lib/google/cloud/bigtable/admin/v2/doc/google/iam/v1/iam_policy.rb +0 -64
  69. data/lib/google/cloud/bigtable/admin/v2/doc/google/iam/v1/options.rb +0 -33
  70. data/lib/google/cloud/bigtable/admin/v2/doc/google/iam/v1/policy.rb +0 -151
  71. data/lib/google/cloud/bigtable/admin/v2/doc/google/longrunning/operations.rb +0 -51
  72. data/lib/google/cloud/bigtable/admin/v2/doc/google/protobuf/any.rb +0 -131
  73. data/lib/google/cloud/bigtable/admin/v2/doc/google/protobuf/duration.rb +0 -91
  74. data/lib/google/cloud/bigtable/admin/v2/doc/google/protobuf/empty.rb +0 -29
  75. data/lib/google/cloud/bigtable/admin/v2/doc/google/protobuf/field_mask.rb +0 -222
  76. data/lib/google/cloud/bigtable/admin/v2/doc/google/protobuf/timestamp.rb +0 -113
  77. data/lib/google/cloud/bigtable/admin/v2/doc/google/rpc/status.rb +0 -39
  78. data/lib/google/cloud/bigtable/admin/v2/doc/google/type/expr.rb +0 -45
  79. data/lib/google/cloud/bigtable/v2.rb +0 -146
  80. data/lib/google/cloud/bigtable/v2/bigtable_client.rb +0 -591
  81. data/lib/google/cloud/bigtable/v2/bigtable_client_config.json +0 -83
  82. data/lib/google/cloud/bigtable/v2/credentials.rb +0 -46
  83. data/lib/google/cloud/bigtable/v2/doc/google/bigtable/v2/bigtable.rb +0 -290
  84. data/lib/google/cloud/bigtable/v2/doc/google/bigtable/v2/data.rb +0 -493
  85. data/lib/google/cloud/bigtable/v2/doc/google/protobuf/any.rb +0 -131
  86. data/lib/google/cloud/bigtable/v2/doc/google/protobuf/wrappers.rb +0 -34
  87. data/lib/google/cloud/bigtable/v2/doc/google/rpc/status.rb +0 -39
@@ -1,163 +0,0 @@
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
- }
@@ -1,51 +0,0 @@
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
@@ -1,297 +0,0 @@
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