@@ -34,7 +34,6 @@ option (google.api.resource_definition) = {
34
34
pattern : "projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}"
35
35
};
36
36
37
-
38
37
// Information about a table restore.
39
38
message RestoreInfo {
40
39
// The type of the restore source.
@@ -88,14 +87,16 @@ message Table {
88
87
}
89
88
90
89
// Output only. The state of replication for the table in this cluster.
91
- ReplicationState replication_state = 1 [(google.api.field_behavior ) = OUTPUT_ONLY ];
90
+ ReplicationState replication_state = 1
91
+ [(google.api.field_behavior ) = OUTPUT_ONLY ];
92
92
93
93
// Output only. The encryption information for the table in this cluster.
94
94
// If the encryption key protecting this resource is customer managed, then
95
95
// its version can be rotated in Cloud Key Management Service (Cloud KMS).
96
96
// The primary version of the key and its status will be reflected here when
97
97
// changes propagate from Cloud KMS.
98
- repeated EncryptionInfo encryption_info = 2 [(google.api.field_behavior ) = OUTPUT_ONLY ];
98
+ repeated EncryptionInfo encryption_info = 2
99
+ [(google.api.field_behavior ) = OUTPUT_ONLY ];
99
100
}
100
101
101
102
// Possible timestamp granularities to use when keeping multiple versions
@@ -141,20 +142,22 @@ message Table {
141
142
// particular cluster (for example, if its zone is unavailable), then
142
143
// there will be an entry for the cluster with UNKNOWN `replication_status`.
143
144
// Views: `REPLICATION_VIEW`, `ENCRYPTION_VIEW`, `FULL`
144
- map <string , ClusterState > cluster_states = 2 [(google.api.field_behavior ) = OUTPUT_ONLY ];
145
+ map <string , ClusterState > cluster_states = 2
146
+ [(google.api.field_behavior ) = OUTPUT_ONLY ];
145
147
146
148
// The column families configured for this table, mapped by column family ID.
147
149
// Views: `SCHEMA_VIEW`, `FULL`
148
150
map <string , ColumnFamily > column_families = 3 ;
149
151
150
- // Immutable. The granularity (i.e. `MILLIS`) at which timestamps are stored in this
151
- // table. Timestamps not matching the granularity will be rejected.
152
- // If unspecified at creation time, the value will be set to `MILLIS`.
153
- // Views: `SCHEMA_VIEW`, `FULL`.
154
- TimestampGranularity granularity = 4 [(google.api.field_behavior ) = IMMUTABLE ];
152
+ // Immutable. The granularity (i.e. `MILLIS`) at which timestamps are stored
153
+ // in this table. Timestamps not matching the granularity will be rejected. If
154
+ // unspecified at creation time, the value will be set to `MILLIS`. Views:
155
+ // `SCHEMA_VIEW`, `FULL`.
156
+ TimestampGranularity granularity = 4
157
+ [(google.api.field_behavior ) = IMMUTABLE ];
155
158
156
- // Output only. If this table was restored from another data source (e.g. a backup), this
157
- // field will be populated with information about the restore.
159
+ // Output only. If this table was restored from another data source (e.g. a
160
+ // backup), this field will be populated with information about the restore.
158
161
RestoreInfo restore_info = 6 [(google.api.field_behavior ) = OUTPUT_ONLY ];
159
162
}
160
163
@@ -227,14 +230,17 @@ message EncryptionInfo {
227
230
}
228
231
229
232
// Output only. The type of encryption used to protect this resource.
230
- EncryptionType encryption_type = 3 [(google.api.field_behavior ) = OUTPUT_ONLY ];
233
+ EncryptionType encryption_type = 3
234
+ [(google.api.field_behavior ) = OUTPUT_ONLY ];
231
235
232
- // Output only. The status of encrypt/decrypt calls on underlying data for this resource.
233
- // Regardless of status, the existing data is always encrypted at rest.
234
- google.rpc.Status encryption_status = 4 [(google.api.field_behavior ) = OUTPUT_ONLY ];
236
+ // Output only. The status of encrypt/decrypt calls on underlying data for
237
+ // this resource. Regardless of status, the existing data is always encrypted
238
+ // at rest.
239
+ google.rpc.Status encryption_status = 4
240
+ [(google.api.field_behavior ) = OUTPUT_ONLY ];
235
241
236
- // Output only. The version of the Cloud KMS key specified in the parent cluster that is
237
- // in use for the data underlying this table.
242
+ // Output only. The version of the Cloud KMS key specified in the parent
243
+ // cluster that is in use for the data underlying this table.
238
244
string kms_key_version = 2 [
239
245
(google.api.field_behavior ) = OUTPUT_ONLY ,
240
246
(google.api.resource_reference ) = {
@@ -270,32 +276,33 @@ message Snapshot {
270
276
CREATING = 2 ;
271
277
}
272
278
273
- // Output only. The unique name of the snapshot.
279
+ // The unique name of the snapshot.
274
280
// Values are of the form
275
281
// `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`.
276
282
string name = 1 ;
277
283
278
284
// Output only. The source table at the time the snapshot was taken.
279
- Table source_table = 2 ;
285
+ Table source_table = 2 [ (google.api .field_behavior ) = OUTPUT_ONLY ] ;
280
286
281
287
// Output only. The size of the data in the source table at the time the
282
288
// snapshot was taken. In some cases, this value may be computed
283
289
// asynchronously via a background process and a placeholder of 0 will be used
284
290
// in the meantime.
285
- int64 data_size_bytes = 3 ;
291
+ int64 data_size_bytes = 3 [ (google.api .field_behavior ) = OUTPUT_ONLY ] ;
286
292
287
293
// Output only. The time when the snapshot is created.
288
- google.protobuf.Timestamp create_time = 4 ;
294
+ google.protobuf.Timestamp create_time = 4
295
+ [(google.api.field_behavior ) = OUTPUT_ONLY ];
289
296
290
- // Output only. The time when the snapshot will be deleted. The maximum amount
291
- // of time a snapshot can stay active is 365 days. If 'ttl' is not specified,
297
+ // The time when the snapshot will be deleted. The maximum amount of time a
298
+ // snapshot can stay active is 365 days. If 'ttl' is not specified,
292
299
// the default maximum of 365 days will be used.
293
300
google.protobuf.Timestamp delete_time = 5 ;
294
301
295
302
// Output only. The current state of the snapshot.
296
- State state = 6 ;
303
+ State state = 6 [ (google.api .field_behavior ) = OUTPUT_ONLY ] ;
297
304
298
- // Output only. Description of the snapshot.
305
+ // Description of the snapshot.
299
306
string description = 7 ;
300
307
}
301
308
@@ -331,8 +338,8 @@ message Backup {
331
338
// `projects/{project}/instances/{instance}/clusters/{cluster}`.
332
339
string name = 1 ;
333
340
334
- // Required. Immutable. Name of the table from which this backup was created. This needs
335
- // to be in the same instance as the backup. Values are of the form
341
+ // Required. Immutable. Name of the table from which this backup was created.
342
+ // This needs to be in the same instance as the backup. Values are of the form
336
343
// `projects/{project}/instances/{instance}/tables/{source_table}`.
337
344
string source_table = 2 [
338
345
(google.api.field_behavior ) = IMMUTABLE ,
@@ -344,17 +351,21 @@ message Backup {
344
351
// from the time the request is received. Once the `expire_time`
345
352
// has passed, Cloud Bigtable will delete the backup and free the
346
353
// resources used by the backup.
347
- google.protobuf.Timestamp expire_time = 3 [(google.api.field_behavior ) = REQUIRED ];
354
+ google.protobuf.Timestamp expire_time = 3
355
+ [(google.api.field_behavior ) = REQUIRED ];
348
356
349
357
// Output only. `start_time` is the time that the backup was started
350
358
// (i.e. approximately the time the
351
- // [CreateBackup][google.bigtable.admin.v2.BigtableTableAdmin.CreateBackup] request is received). The
352
- // row data in this backup will be no older than this timestamp.
353
- google.protobuf.Timestamp start_time = 4 [(google.api.field_behavior ) = OUTPUT_ONLY ];
359
+ // [CreateBackup][google.bigtable.admin.v2.BigtableTableAdmin.CreateBackup]
360
+ // request is received). The row data in this backup will be no older than
361
+ // this timestamp.
362
+ google.protobuf.Timestamp start_time = 4
363
+ [(google.api.field_behavior ) = OUTPUT_ONLY ];
354
364
355
365
// Output only. `end_time` is the time that the backup was finished. The row
356
366
// data in the backup will be no newer than this timestamp.
357
- google.protobuf.Timestamp end_time = 5 [(google.api.field_behavior ) = OUTPUT_ONLY ];
367
+ google.protobuf.Timestamp end_time = 5
368
+ [(google.api.field_behavior ) = OUTPUT_ONLY ];
358
369
359
370
// Output only. Size of the backup in bytes.
360
371
int64 size_bytes = 6 [(google.api.field_behavior ) = OUTPUT_ONLY ];
@@ -363,7 +374,8 @@ message Backup {
363
374
State state = 7 [(google.api.field_behavior ) = OUTPUT_ONLY ];
364
375
365
376
// Output only. The encryption information for the backup.
366
- EncryptionInfo encryption_info = 9 [(google.api.field_behavior ) = OUTPUT_ONLY ];
377
+ EncryptionInfo encryption_info = 9
378
+ [(google.api.field_behavior ) = OUTPUT_ONLY ];
367
379
}
368
380
369
381
// Information about a backup.
@@ -373,11 +385,13 @@ message BackupInfo {
373
385
374
386
// Output only. The time that the backup was started. Row data in the backup
375
387
// will be no older than this timestamp.
376
- google.protobuf.Timestamp start_time = 2 [(google.api.field_behavior ) = OUTPUT_ONLY ];
388
+ google.protobuf.Timestamp start_time = 2
389
+ [(google.api.field_behavior ) = OUTPUT_ONLY ];
377
390
378
391
// Output only. This time that the backup was finished. Row data in the
379
392
// backup will be no newer than this timestamp.
380
- google.protobuf.Timestamp end_time = 3 [(google.api.field_behavior ) = OUTPUT_ONLY ];
393
+ google.protobuf.Timestamp end_time = 3
394
+ [(google.api.field_behavior ) = OUTPUT_ONLY ];
381
395
382
396
// Output only. Name of the table the backup was created from.
383
397
string source_table = 4 [(google.api.field_behavior ) = OUTPUT_ONLY ];
0 commit comments