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.



22709
22710
22711
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 22709

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)


22707
22708
22709
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 22707

def max_runtime_duration
  @max_runtime_duration
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



22714
22715
22716
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 22714

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