Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NotebookExecutionJobDirectNotebookSource

Inherits:
Object
  • Object
show all
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 content of the input notebook in ipynb format.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1NotebookExecutionJobDirectNotebookSource

Returns a new instance of GoogleCloudAiplatformV1NotebookExecutionJobDirectNotebookSource.



17366
17367
17368
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 17366

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

Instance Attribute Details

#contentString

The base64-encoded contents of the input notebook file. Corresponds to the JSON property content NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


17364
17365
17366
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 17364

def content
  @content
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



17371
17372
17373
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 17371

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