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.



32652
32653
32654
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 32652

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>)


32644
32645
32646
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 32644

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)


32650
32651
32652
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 32650

def schema_id
  @schema_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



32657
32658
32659
32660
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 32657

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