Reference documentation and code samples for the Google Cloud Gemini Data Analytics V1beta Client class Field.
A field in a schema.
Generated from protobuf message google.cloud.geminidataanalytics.v1beta.Field
Namespace
Google \ Cloud \ GeminiDataAnalytics \ V1betaMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Optional. The name of the field. |
↳ type |
string
Optional. The type of the field. |
↳ description |
string
Optional. A brief description of the field. |
↳ mode |
string
Optional. The mode of the field (e.g., NULLABLE, REPEATED). |
↳ synonyms |
array
Optional. A list of alternative names or synonyms that can be used to refer to this field. For example: ["id", "customerid", "cust_id"] |
↳ tags |
array
Optional. A list of tags or keywords associated with the field, used for categorization. For example: ["identifier", "customer", "pii"] |
↳ display_name |
string
Optional. Field display_name (same as label in |
↳ subfields |
array<Field>
Optional. Recursive property for nested schema structures. |
↳ category |
string
Optional. Field category, not required, currently only useful for Looker. We are using a string to avoid depending on an external package and keep this package self-contained. |
↳ value_format |
string
Optional. Looker only. Value format of the field. Ref: https://cloud.google.com/looker/docs/reference/param-field-value-format |
getName
Optional. The name of the field.
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
Optional. The name of the field.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getType
Optional. The type of the field.
| Returns | |
|---|---|
| Type | Description |
string |
|
setType
Optional. The type of the field.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDescription
Optional. A brief description of the field.
| Returns | |
|---|---|
| Type | Description |
string |
|
setDescription
Optional. A brief description of the field.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getMode
Optional. The mode of the field (e.g., NULLABLE, REPEATED).
| Returns | |
|---|---|
| Type | Description |
string |
|
setMode
Optional. The mode of the field (e.g., NULLABLE, REPEATED).
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSynonyms
Optional. A list of alternative names or synonyms that can be used to refer to this field. For example: ["id", "customerid", "cust_id"]
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setSynonyms
Optional. A list of alternative names or synonyms that can be used to refer to this field. For example: ["id", "customerid", "cust_id"]
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getTags
Optional. A list of tags or keywords associated with the field, used for categorization. For example: ["identifier", "customer", "pii"]
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setTags
Optional. A list of tags or keywords associated with the field, used for categorization. For example: ["identifier", "customer", "pii"]
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDisplayName
Optional. Field display_name (same as label in
| Returns | |
|---|---|
| Type | Description |
string |
|
setDisplayName
Optional. Field display_name (same as label in
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSubfields
Optional. Recursive property for nested schema structures.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setSubfields
Optional. Recursive property for nested schema structures.
| Parameter | |
|---|---|
| Name | Description |
var |
array<Field>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCategory
Optional. Field category, not required, currently only useful for Looker.
We are using a string to avoid depending on an external package and keep this package self-contained.
| Returns | |
|---|---|
| Type | Description |
string |
|
setCategory
Optional. Field category, not required, currently only useful for Looker.
We are using a string to avoid depending on an external package and keep this package self-contained.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getValueFormat
Optional. Looker only. Value format of the field.
Ref: https://cloud.google.com/looker/docs/reference/param-field-value-format
| Returns | |
|---|---|
| Type | Description |
string |
|
setValueFormat
Optional. Looker only. Value format of the field.
Ref: https://cloud.google.com/looker/docs/reference/param-field-value-format
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|