Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ClientConnectionConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/representations.rb

Overview

Configurations (e.g. inference timeout) that are applied on your endpoints.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1ClientConnectionConfig

Returns a new instance of GoogleCloudAiplatformV1ClientConnectionConfig.



2742
2743
2744
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 2742

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

Instance Attribute Details

#inference_timeoutString

Customizable online prediction request timeout. Corresponds to the JSON property inferenceTimeout

Returns:

  • (String)


2740
2741
2742
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 2740

def inference_timeout
  @inference_timeout
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2747
2748
2749
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 2747

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