Google Cloud Data Catalog V1 Client - Class FieldType (1.5.1)

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

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

Namespace

Google \ Cloud \ DataCatalog \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ primitive_type int

Primitive types, such as string, boolean, etc.

↳ enum_type Google\Cloud\DataCatalog\V1\FieldType\EnumType

An enum type.

getPrimitiveType

Primitive types, such as string, boolean, etc.

Returns
TypeDescription
int

hasPrimitiveType

setPrimitiveType

Primitive types, such as string, boolean, etc.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getEnumType

An enum type.

Returns
TypeDescription
Google\Cloud\DataCatalog\V1\FieldType\EnumType|null

hasEnumType

setEnumType

An enum type.

Parameter
NameDescription
var Google\Cloud\DataCatalog\V1\FieldType\EnumType
Returns
TypeDescription
$this

getTypeDecl

Returns
TypeDescription
string