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.



44738
44739
44740
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 44738

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)


44731
44732
44733
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 44731

def name
  @name
end

#user_specified_metadataGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1UserSpecifiedMetadata

Metadata provided by users. Corresponds to the JSON property userSpecifiedMetadata



44736
44737
44738
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 44736

def 
  @user_specified_metadata
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



44743
44744
44745
44746
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 44743

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