Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MemoryProfile

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

A memory profile.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1MemoryProfile

Returns a new instance of GoogleCloudAiplatformV1beta1MemoryProfile.



32830
32831
32832
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 32830

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

Instance Attribute Details

#profileHash<String,Object>

Represents the profile data. Corresponds to the JSON property profile

Returns:

  • (Hash<String,Object>)


32822
32823
32824
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 32822

def profile
  @profile
end

#schema_idString

Represents the ID of the schema. This ID corresponds to the schema_id defined inside the SchemaConfig, under StructuredMemoryCustomizationConfig. Corresponds to the JSON property schemaId

Returns:

  • (String)


32828
32829
32830
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 32828

def schema_id
  @schema_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



32835
32836
32837
32838
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 32835

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