Google Cloud Data Catalog V1 Client - Class Schema (2.4.1)

Reference documentation and code samples for the Google Cloud Data Catalog V1 Client class Schema.

Represents a schema, for example, a BigQuery, GoogleSQL, or Avro schema.

Generated from protobuf message google.cloud.datacatalog.v1.Schema

Namespace

Google \ Cloud \ DataCatalog \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ columns array<ColumnSchema>

The unified GoogleSQL-like schema of columns. The overall maximum number of columns and nested columns is 10,000. The maximum nested depth is 15 levels.

getColumns

The unified GoogleSQL-like schema of columns.

The overall maximum number of columns and nested columns is 10,000. The maximum nested depth is 15 levels.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setColumns

The unified GoogleSQL-like schema of columns.

The overall maximum number of columns and nested columns is 10,000. The maximum nested depth is 15 levels.

Parameter
Name Description
var array<ColumnSchema>
Returns
Type Description
$this

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年10月30日 UTC.