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. This will replace |
↳ aspect_source |
Google\Cloud\Dataplex\V1\AspectSource
|
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.
This will replace content
.
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.
This will replace content
.
The maximum size of the field is 120KB (encoded as UTF-8).
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Struct
|
Returns | |
---|---|
Type | Description |
$this |
getAspectSource
Generated from protobuf field .google.cloud.dataplex.v1.AspectSource aspect_source = 9 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Google\Cloud\Dataplex\V1\AspectSource|null |
hasAspectSource
clearAspectSource
setAspectSource
Generated from protobuf field .google.cloud.dataplex.v1.AspectSource aspect_source = 9 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Dataplex\V1\AspectSource
|
Returns | |
---|---|
Type | Description |
$this |