@@ -1319,6 +1319,39 @@ def update!(**args)
1319
1319
end
1320
1320
end
1321
1321
1322
+ # The metadata for the Operation returned by CreateSchemaBundle.
1323
+ class CreateSchemaBundleMetadata
1324
+ include Google ::Apis ::Core ::Hashable
1325
+
1326
+ # If set, the time at which this operation finished or was canceled.
1327
+ # Corresponds to the JSON property `endTime`
1328
+ # @return [String]
1329
+ attr_accessor :end_time
1330
+
1331
+ # The unique name identifying this schema bundle. Values are of the form `
1332
+ # projects/`project`/instances/`instance`/tables/`table`/schemaBundles/`
1333
+ # schema_bundle``
1334
+ # Corresponds to the JSON property `name`
1335
+ # @return [String]
1336
+ attr_accessor :name
1337
+
1338
+ # The time at which this operation started.
1339
+ # Corresponds to the JSON property `startTime`
1340
+ # @return [String]
1341
+ attr_accessor :start_time
1342
+
1343
+ def initialize ( **args )
1344
+ update! ( **args )
1345
+ end
1346
+
1347
+ # Update properties of this object
1348
+ def update! ( **args )
1349
+ @end_time = args [ :end_time ] if args . key? ( :end_time )
1350
+ @name = args [ :name ] if args . key? ( :name )
1351
+ @start_time = args [ :start_time ] if args . key? ( :start_time )
1352
+ end
1353
+ end
1354
+
1322
1355
# Request message for google.bigtable.admin.v2.BigtableTableAdmin.CreateTable
1323
1356
class CreateTableRequest
1324
1357
include Google ::Apis ::Core ::Hashable
@@ -2936,6 +2969,32 @@ def update!(**args)
2936
2969
end
2937
2970
end
2938
2971
2972
+ # The response for ListSchemaBundles.
2973
+ class ListSchemaBundlesResponse
2974
+ include Google ::Apis ::Core ::Hashable
2975
+
2976
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
2977
+ # field is omitted, there are no subsequent pages.
2978
+ # Corresponds to the JSON property `nextPageToken`
2979
+ # @return [String]
2980
+ attr_accessor :next_page_token
2981
+
2982
+ # The schema bundles from the specified table.
2983
+ # Corresponds to the JSON property `schemaBundles`
2984
+ # @return [Array<Google::Apis::BigtableadminV2::SchemaBundle>]
2985
+ attr_accessor :schema_bundles
2986
+
2987
+ def initialize ( **args )
2988
+ update! ( **args )
2989
+ end
2990
+
2991
+ # Update properties of this object
2992
+ def update! ( **args )
2993
+ @next_page_token = args [ :next_page_token ] if args . key? ( :next_page_token )
2994
+ @schema_bundles = args [ :schema_bundles ] if args . key? ( :schema_bundles )
2995
+ end
2996
+ end
2997
+
2939
2998
# Response message for google.bigtable.admin.v2.BigtableTableAdmin.ListTables
2940
2999
class ListTablesResponse
2941
3000
include Google ::Apis ::Core ::Hashable
@@ -3508,6 +3567,34 @@ def update!(**args)
3508
3567
end
3509
3568
end
3510
3569
3570
+ # Represents a protobuf schema.
3571
+ class ProtoSchema
3572
+ include Google ::Apis ::Core ::Hashable
3573
+
3574
+ # Required. Contains a protobuf-serialized [google.protobuf.FileDescriptorSet](
3575
+ # https://github.com/protocolbuffers/protobuf/blob/main/src/google/protobuf/
3576
+ # descriptor.proto), which could include multiple proto files. To generate it, [
3577
+ # install](https://grpc.io/docs/protoc-installation/) and run `protoc` with `--
3578
+ # include_imports` and `--descriptor_set_out`. For example, to generate for moon/
3579
+ # shot/app.proto, run ``` $protoc --proto_path=/app_path --proto_path=/lib_path \
3580
+ # --include_imports \ --descriptor_set_out=descriptors.pb \ moon/shot/app.proto
3581
+ # ``` For more details, see protobuffer [self description](https://developers.
3582
+ # google.com/protocol-buffers/docs/techniques#self-description).
3583
+ # Corresponds to the JSON property `protoDescriptors`
3584
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
3585
+ # @return [String]
3586
+ attr_accessor :proto_descriptors
3587
+
3588
+ def initialize ( **args )
3589
+ update! ( **args )
3590
+ end
3591
+
3592
+ # Update properties of this object
3593
+ def update! ( **args )
3594
+ @proto_descriptors = args [ :proto_descriptors ] if args . key? ( :proto_descriptors )
3595
+ end
3596
+ end
3597
+
3511
3598
# Information about a table restore.
3512
3599
class RestoreInfo
3513
3600
include Google ::Apis ::Core ::Hashable
@@ -3633,6 +3720,41 @@ def update!(**args)
3633
3720
end
3634
3721
end
3635
3722
3723
+ # A named collection of related schemas.
3724
+ class SchemaBundle
3725
+ include Google ::Apis ::Core ::Hashable
3726
+
3727
+ # Optional. The etag for this schema bundle. This may be sent on update and
3728
+ # delete requests to ensure the client has an up-to-date value before proceeding.
3729
+ # The server returns an ABORTED error on a mismatched etag.
3730
+ # Corresponds to the JSON property `etag`
3731
+ # @return [String]
3732
+ attr_accessor :etag
3733
+
3734
+ # Identifier. The unique name identifying this schema bundle. Values are of the
3735
+ # form `projects/`project`/instances/`instance`/tables/`table`/schemaBundles/`
3736
+ # schema_bundle``
3737
+ # Corresponds to the JSON property `name`
3738
+ # @return [String]
3739
+ attr_accessor :name
3740
+
3741
+ # Represents a protobuf schema.
3742
+ # Corresponds to the JSON property `protoSchema`
3743
+ # @return [Google::Apis::BigtableadminV2::ProtoSchema]
3744
+ attr_accessor :proto_schema
3745
+
3746
+ def initialize ( **args )
3747
+ update! ( **args )
3748
+ end
3749
+
3750
+ # Update properties of this object
3751
+ def update! ( **args )
3752
+ @etag = args [ :etag ] if args . key? ( :etag )
3753
+ @name = args [ :name ] if args . key? ( :name )
3754
+ @proto_schema = args [ :proto_schema ] if args . key? ( :proto_schema )
3755
+ end
3756
+ end
3757
+
3636
3758
# Request message for `SetIamPolicy` method.
3637
3759
class SetIamPolicyRequest
3638
3760
include Google ::Apis ::Core ::Hashable
@@ -4450,6 +4572,39 @@ def update!(**args)
4450
4572
end
4451
4573
end
4452
4574
4575
+ # The metadata for the Operation returned by UpdateSchemaBundle.
4576
+ class UpdateSchemaBundleMetadata
4577
+ include Google ::Apis ::Core ::Hashable
4578
+
4579
+ # If set, the time at which this operation finished or was canceled.
4580
+ # Corresponds to the JSON property `endTime`
4581
+ # @return [String]
4582
+ attr_accessor :end_time
4583
+
4584
+ # The unique name identifying this schema bundle. Values are of the form `
4585
+ # projects/`project`/instances/`instance`/tables/`table`/schemaBundles/`
4586
+ # schema_bundle``
4587
+ # Corresponds to the JSON property `name`
4588
+ # @return [String]
4589
+ attr_accessor :name
4590
+
4591
+ # The time at which this operation started.
4592
+ # Corresponds to the JSON property `startTime`
4593
+ # @return [String]
4594
+ attr_accessor :start_time
4595
+
4596
+ def initialize ( **args )
4597
+ update! ( **args )
4598
+ end
4599
+
4600
+ # Update properties of this object
4601
+ def update! ( **args )
4602
+ @end_time = args [ :end_time ] if args . key? ( :end_time )
4603
+ @name = args [ :name ] if args . key? ( :name )
4604
+ @start_time = args [ :start_time ] if args . key? ( :start_time )
4605
+ end
4606
+ end
4607
+
4453
4608
# Metadata type for the operation returned by UpdateTable.
4454
4609
class UpdateTableMetadata
4455
4610
include Google ::Apis ::Core ::Hashable
0 commit comments