Reference documentation and code samples for the Google Cloud Dataplex V1 Client class Aspect.
An aspect is a single piece of metadata describing an entry.
Generated from protobuf message google.cloud.dataplex.v1.Aspect
Namespace
Google \ Cloud \ Dataplex \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ aspect_type |
string
Output only. The resource name of the type used to create this Aspect. |
↳ path |
string
Output only. The path in the entry under which the aspect is attached. |
↳ create_time |
Google\Protobuf\Timestamp
Output only. The time when the Aspect was created. |
↳ update_time |
Google\Protobuf\Timestamp
Output only. The time when the Aspect was last updated. |
↳ data |
Google\Protobuf\Struct
Required. The content of the aspect, according to its aspect type schema. The maximum size of the field is 120KB (encoded as UTF-8). |
↳ aspect_source |
AspectSource
Optional. Information related to the source system of the aspect. |
getAspectType
Output only. The resource name of the type used to create this Aspect.
| Returns | |
|---|---|
| Type | Description |
string |
|
setAspectType
Output only. The resource name of the type used to create this Aspect.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPath
Output only. The path in the entry under which the aspect is attached.
| Returns | |
|---|---|
| Type | Description |
string |
|
setPath
Output only. The path in the entry under which the aspect is attached.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCreateTime
Output only. The time when the Aspect was created.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasCreateTime
clearCreateTime
setCreateTime
Output only. The time when the Aspect was created.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getUpdateTime
Output only. The time when the Aspect was last updated.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. The time when the Aspect was last updated.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getData
Required. The content of the aspect, according to its aspect type schema.
The maximum size of the field is 120KB (encoded as UTF-8).
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Struct|null |
|
hasData
clearData
setData
Required. The content of the aspect, according to its aspect type schema.
The maximum size of the field is 120KB (encoded as UTF-8).
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Struct
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getAspectSource
Optional. Information related to the source system of the aspect.
| Returns | |
|---|---|
| Type | Description |
AspectSource|null |
|
hasAspectSource
clearAspectSource
setAspectSource
Optional. Information related to the source system of the aspect.
| Parameter | |
|---|---|
| Name | Description |
var |
AspectSource
|
| Returns | |
|---|---|
| Type | Description |
$this |
|