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.



25915
25916
25917
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 25915

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


25907
25908
25909
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 25907

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)


25913
25914
25915
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 25913

def schema_id
  @schema_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



25920
25921
25922
25923
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 25920

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