Google Cloud Ai Platform V1 Client - Class GcsNotebookSource (1.2.0)

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

The Cloud Storage uri for the input notebook.

Generated from protobuf message google.cloud.aiplatform.v1.NotebookExecutionJob.GcsNotebookSource

Namespace

Google \ Cloud \ AIPlatform \ V1 \ NotebookExecutionJob

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ uri string

The Cloud Storage uri pointing to the ipynb file. Format: gs://bucket/notebook_file.ipynb

↳ generation string

The version of the Cloud Storage object to read. If unset, the current version of the object is read. See https://cloud.google.com/storage/docs/metadata#generation-number.

getUri

The Cloud Storage uri pointing to the ipynb file. Format: gs://bucket/notebook_file.ipynb

Returns
Type Description
string

setUri

The Cloud Storage uri pointing to the ipynb file. Format: gs://bucket/notebook_file.ipynb

Parameter
Name Description
var string
Returns
Type Description
$this

getGeneration

The version of the Cloud Storage object to read. If unset, the current version of the object is read. See https://cloud.google.com/storage/docs/metadata#generation-number.

Returns
Type Description
string

setGeneration

The version of the Cloud Storage object to read. If unset, the current version of the object is read. See https://cloud.google.com/storage/docs/metadata#generation-number.

Parameter
Name Description
var string
Returns
Type Description
$this