Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagMetadata

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

Metadata for RagFile provided by users.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1RagMetadata

Returns a new instance of GoogleCloudAiplatformV1beta1RagMetadata.



42615
42616
42617
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 42615

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

Instance Attribute Details

#nameString

Identifier. Resource name of the RagMetadata. Format: projects/project/ locations/location/ragCorpora/rag_corpus/ragFiles/rag_file/ragMetadata/ rag_metadata` Corresponds to the JSON propertyname`

Returns:

  • (String)


42608
42609
42610
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 42608

def name
  @name
end

#user_specified_metadataGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1UserSpecifiedMetadata

Metadata provided by users. Corresponds to the JSON property userSpecifiedMetadata



42613
42614
42615
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 42613

def 
  @user_specified_metadata
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



42620
42621
42622
42623
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 42620

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