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.



28509
28510
28511
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28509

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)


28507
28508
28509
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28507

def content
  @content
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



28514
28515
28516
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28514

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