Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagMetadata
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagMetadata
- 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
-
#name ⇒ String
Identifier.
-
#user_specified_metadata ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1UserSpecifiedMetadata
Metadata provided by users.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1RagMetadata
constructor
A new instance of GoogleCloudAiplatformV1beta1RagMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#name ⇒ String
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`
42608 42609 42610 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 42608 def name @name end |
#user_specified_metadata ⇒ Google::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 |