Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpecImageSpec

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 image spec for building an image (within a single build step), based on the config file (i.e. Dockerfile) in the source directory.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpecImageSpec

Returns a new instance of GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpecImageSpec.



32674
32675
32676
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 32674

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

Instance Attribute Details

#build_argsHash<String,String>

Optional. Build arguments to be used. They will be passed through --build-arg flags. Corresponds to the JSON property buildArgs

Returns:

  • (Hash<String,String>)


32672
32673
32674
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 32672

def build_args
  @build_args
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



32679
32680
32681
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 32679

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