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 \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ primitive_type |
int
Primitive types, such as string, boolean, etc. |
↳ enum_type |
FieldType\EnumType
An enum type. |
getPrimitiveType
Primitive types, such as string, boolean, etc.
Returns | |
---|---|
Type | Description |
int |
hasPrimitiveType
setPrimitiveType
Primitive types, such as string, boolean, etc.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getEnumType
An enum type.
Returns | |
---|---|
Type | Description |
FieldType\EnumType|null |
hasEnumType
setEnumType
An enum type.
Parameter | |
---|---|
Name | Description |
var |
FieldType\EnumType
|
Returns | |
---|---|
Type | Description |
$this |
getTypeDecl
Returns | |
---|---|
Type | Description |
string |