Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SchemaTrainingjobDefinitionCustomTask

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

A TrainingJob that trains a custom code Model.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1SchemaTrainingjobDefinitionCustomTask

Returns a new instance of GoogleCloudAiplatformV1SchemaTrainingjobDefinitionCustomTask.



28023
28024
28025
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28023

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

Instance Attribute Details

#inputsGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1CustomJobSpec

Represents the spec of a CustomJob. Corresponds to the JSON property inputs



28016
28017
28018
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28016

def inputs
  @inputs
end

#metadataGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1SchemaTrainingjobDefinitionCustomJobMetadata

The metadata information. Corresponds to the JSON property metadata



28021
28022
28023
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28021

def 
  @metadata
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



28028
28029
28030
28031
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28028

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