REST Resource: projects.instances.tables.schemaBundles

Resource: SchemaBundle

A named collection of related schemas.

JSON representation
{
 "name": string,
 "etag": string,
 // Union field type can be only one of the following:
 "protoSchema": {
 object (ProtoSchema )
 }
 // End of list of possible types for union field type.
}
Fields
name

string

Identifier. The unique name identifying this schema bundle. Values are of the form projects/{project}/instances/{instance}/tables/{table}/schemaBundles/{schemaBundle}

etag

string

Optional. The etag for this schema bundle. This may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. The server returns an ABORTED error on a mismatched etag.

Union field type. The type of this schema bundle. The oneof case cannot change after creation. type can be only one of the following:
protoSchema

object (ProtoSchema )

Schema for Protobufs.

ProtoSchema

Represents a protobuf schema.

JSON representation
{
 "protoDescriptors": string
}
Fields
protoDescriptors

string (bytes format)

Required. Contains a protobuf-serialized google.protobuf.FileDescriptorSet, which could include multiple proto files. To generate it, install and run protoc with --include_imports and --descriptor_set_out. For example, to generate for moon/shot/app.proto, run

$protoc --proto_path=/app_path --proto_path=/lib_path \
 --include_imports \
 --descriptor_set_out=descriptors.pb \
 moon/shot/app.proto

For more details, see protobuffer self description.

A base64-encoded string.

Methods

create

Creates a new schema bundle in the specified table.

delete

Deletes a schema bundle in the specified table.

get

Gets metadata information about the specified schema bundle.

getIamPolicy

Gets the access control policy for a Bigtable resource.

list

Lists all schema bundles associated with the specified table.

patch

Updates a schema bundle in the specified table.

setIamPolicy

Sets the access control policy on a Bigtable resource.

testIamPermissions

Returns permissions that the caller has on the specified Bigtable resource.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月04日 UTC.