Google Cloud Ai Platform V1 Client - Class Tensorboard (0.13.0)

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

Tensorboard is a physical database that stores users' training metrics.

A default Tensorboard is provided in each region of a Google Cloud project. If needed users can also create extra Tensorboards in their projects.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Output only. Name of the Tensorboard. Format: projects/{project}/locations/{location}/tensorboards/{tensorboard}

↳ display_name string

Required. User provided name of this Tensorboard.

↳ description string

Description of this Tensorboard.

↳ encryption_spec Google\Cloud\AIPlatform\V1\EncryptionSpec

Customer-managed encryption key spec for a Tensorboard. If set, this Tensorboard and all sub-resources of this Tensorboard will be secured by this key.

↳ blob_storage_path_prefix string

Output only. Consumer project Cloud Storage path prefix used to store blob data, which can either be a bucket or directory. Does not end with a '/'.

↳ run_count int

Output only. The number of Runs stored in this Tensorboard.

↳ create_time Google\Protobuf\Timestamp

Output only. Timestamp when this Tensorboard was created.

↳ update_time Google\Protobuf\Timestamp

Output only. Timestamp when this Tensorboard was last updated.

↳ labels array|Google\Protobuf\Internal\MapField

The labels with user-defined metadata to organize your Tensorboards. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Tensorboard (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable.

↳ etag string

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

getName

Output only. Name of the Tensorboard.

Format: projects/{project}/locations/{location}/tensorboards/{tensorboard}

Returns
TypeDescription
string

setName

Output only. Name of the Tensorboard.

Format: projects/{project}/locations/{location}/tensorboards/{tensorboard}

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDisplayName

Required. User provided name of this Tensorboard.

Returns
TypeDescription
string

setDisplayName

Required. User provided name of this Tensorboard.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDescription

Description of this Tensorboard.

Returns
TypeDescription
string

setDescription

Description of this Tensorboard.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getEncryptionSpec

Customer-managed encryption key spec for a Tensorboard. If set, this Tensorboard and all sub-resources of this Tensorboard will be secured by this key.

Returns
TypeDescription
Google\Cloud\AIPlatform\V1\EncryptionSpec|null

hasEncryptionSpec

clearEncryptionSpec

setEncryptionSpec

Customer-managed encryption key spec for a Tensorboard. If set, this Tensorboard and all sub-resources of this Tensorboard will be secured by this key.

Parameter
NameDescription
var Google\Cloud\AIPlatform\V1\EncryptionSpec
Returns
TypeDescription
$this

getBlobStoragePathPrefix

Output only. Consumer project Cloud Storage path prefix used to store blob data, which can either be a bucket or directory. Does not end with a '/'.

Returns
TypeDescription
string

setBlobStoragePathPrefix

Output only. Consumer project Cloud Storage path prefix used to store blob data, which can either be a bucket or directory. Does not end with a '/'.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getRunCount

Output only. The number of Runs stored in this Tensorboard.

Returns
TypeDescription
int

setRunCount

Output only. The number of Runs stored in this Tensorboard.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getCreateTime

Output only. Timestamp when this Tensorboard was created.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. Timestamp when this Tensorboard was created.

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

getUpdateTime

Output only. Timestamp when this Tensorboard was last updated.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. Timestamp when this Tensorboard was last updated.

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

getLabels

The labels with user-defined metadata to organize your Tensorboards.

Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Tensorboard (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable.

Returns
TypeDescription
Google\Protobuf\Internal\MapField

setLabels

The labels with user-defined metadata to organize your Tensorboards.

Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Tensorboard (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable.

Parameter
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this

getEtag

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

Returns
TypeDescription
string

setEtag

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this