Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpecImageSpec

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 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) ⇒ GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpecImageSpec

Returns a new instance of GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpecImageSpec.



39487
39488
39489
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 39487

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>)


39485
39486
39487
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 39485

def build_args
  @build_args
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



39492
39493
39494
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 39492

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