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.



17857
17858
17859
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17857

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)


17855
17856
17857
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17855

def max_runtime_duration
  @max_runtime_duration
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



17862
17863
17864
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17862

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