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.



39554
39555
39556
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 39554

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


39552
39553
39554
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 39552

def build_args
  @build_args
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



39559
39560
39561
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 39559

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