Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MemoryGenerationTriggerConfig

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

Represents configuration for triggering generation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1MemoryGenerationTriggerConfig

Returns a new instance of GoogleCloudAiplatformV1beta1MemoryGenerationTriggerConfig.



25882
25883
25884
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 25882

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

Instance Attribute Details

#generation_ruleGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MemoryGenerationTriggerConfigGenerationTriggerRule

Represents the active rule that determines when to flush the buffer. Corresponds to the JSON property generationRule



25880
25881
25882
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 25880

def generation_rule
  @generation_rule
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



25887
25888
25889
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 25887

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