Google Cloud Ai Platform V1 Client - Class AnnotationSpec (0.11.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

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
string

setName

Output only. Resource name of the AnnotationSpec.

Parameter
NameDescription
var string
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this

getCreateTime

Output only. Timestamp when this AnnotationSpec was created.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. Timestamp when this AnnotationSpec was created.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getUpdateTime

Output only. Timestamp when AnnotationSpec was last updated.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. Timestamp when AnnotationSpec was last updated.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getEtag

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

Returns
TypeDescription
string

setEtag

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this