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 | arrayOptional. Data for populating the Message object. | 
| ↳ primitive_type | intPrimitive types, such as string, boolean, etc. | 
| ↳ enum_type | FieldType\EnumTypeAn enum type. | 
getPrimitiveType
Primitive types, such as string, boolean, etc.
| Returns | |
|---|---|
| Type | Description | 
| int | Enum of type PrimitiveType. | 
hasPrimitiveType
setPrimitiveType
Primitive types, such as string, boolean, etc.
| Parameter | |
|---|---|
| Name | Description | 
| var | intEnum of type PrimitiveType. | 
| 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 | |