Google Cloud Ai Platform V1 Client - Class AnnotationSpec (0.37.1)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class AnnotationSpec.

Identifies a concept with which DataItems may be annotated with.

Generated from protobuf message google.cloud.aiplatform.v1.AnnotationSpec

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Output only. Resource name of the AnnotationSpec.

↳ display_name string

Required. The user-defined name of the AnnotationSpec. The name can be up to 128 characters long and can consist of any UTF-8 characters.

↳ create_time Google\Protobuf\Timestamp

Output only. Timestamp when this AnnotationSpec was created.

↳ update_time Google\Protobuf\Timestamp

Output only. Timestamp when AnnotationSpec was last updated.

↳ etag string

Optional. Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.

getName

Output only. Resource name of the AnnotationSpec.

Returns
Type Description
string

setName

Output only. Resource name of the AnnotationSpec.

Parameter
Name Description
var string
Returns
Type Description
$this

getDisplayName

Required. The user-defined name of the AnnotationSpec.

The name can be up to 128 characters long and can consist of any UTF-8 characters.

Returns
Type Description
string

setDisplayName

Required. The user-defined name of the AnnotationSpec.

The name can be up to 128 characters long and can consist of any UTF-8 characters.

Parameter
Name Description
var string
Returns
Type Description
$this

getCreateTime

Output only. Timestamp when this AnnotationSpec was created.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. Timestamp when this AnnotationSpec was created.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getUpdateTime

Output only. Timestamp when AnnotationSpec was last updated.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. Timestamp when AnnotationSpec was last updated.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getEtag

Optional. Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.

Returns
Type Description
string

setEtag

Optional. Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.

Parameter
Name Description
var string
Returns
Type Description
$this