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.



17923
17924
17925
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17923

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)


17921
17922
17923
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17921

def max_runtime_duration
  @max_runtime_duration
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



17928
17929
17930
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17928

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