Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1NotebookExecutionJobGcsNotebookSource

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb

Overview

The Cloud Storage uri for the input notebook.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1NotebookExecutionJobGcsNotebookSource

Returns a new instance of GoogleCloudAiplatformV1beta1NotebookExecutionJobGcsNotebookSource.



19352
19353
19354
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 19352

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#generationString

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

Returns:

  • (String)


19344
19345
19346
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 19344

def generation
  @generation
end

#uriString

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

Returns:

  • (String)


19350
19351
19352
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 19350

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



19357
19358
19359
19360
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 19357

def update!(**args)
  @generation = args[:generation] if args.key?(:generation)
  @uri = args[:uri] if args.key?(:uri)
end