Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NotebookExecutionJobGcsNotebookSource
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NotebookExecutionJobGcsNotebookSource
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/representations.rb
Overview
The Cloud Storage uri for the input notebook.
Instance Attribute Summary collapse
-
#generation ⇒ String
The version of the Cloud Storage object to read.
-
#uri ⇒ String
The Cloud Storage uri pointing to the ipynb file.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1NotebookExecutionJobGcsNotebookSource
constructor
A new instance of GoogleCloudAiplatformV1NotebookExecutionJobGcsNotebookSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1NotebookExecutionJobGcsNotebookSource
Returns a new instance of GoogleCloudAiplatformV1NotebookExecutionJobGcsNotebookSource.
17607 17608 17609 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 17607 def initialize(**args) update!(**args) end |
Instance Attribute Details
#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.
Corresponds to the JSON property generation
17599 17600 17601 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 17599 def generation @generation end |
#uri ⇒ String
The Cloud Storage uri pointing to the ipynb file. Format: gs://bucket/
notebook_file.ipynb
Corresponds to the JSON property uri
17605 17606 17607 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 17605 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
17612 17613 17614 17615 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 17612 def update!(**args) @generation = args[:generation] if args.key?(:generation) @uri = args[:uri] if args.key?(:uri) end |