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.



31341
31342
31343
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 31341

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



31339
31340
31341
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 31339

def generation_rule
  @generation_rule
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



31346
31347
31348
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 31346

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