Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FlexStart

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

FlexStart is used to schedule the deployment workload on DWS resource. It contains the max duration of the deployment.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1FlexStart

Returns a new instance of GoogleCloudAiplatformV1beta1FlexStart.



26066
26067
26068
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 26066

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

Instance Attribute Details

#max_runtime_durationString

The max duration of the deployment is max_runtime_duration. The deployment will be terminated after the duration. The max_runtime_duration can be set up to 7 days. Corresponds to the JSON property maxRuntimeDuration

Returns:

  • (String)


26064
26065
26066
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 26064

def max_runtime_duration
  @max_runtime_duration
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



26071
26072
26073
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 26071

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