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.
37676 37677 37678 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 37676 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`
37669 37670 37671 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 37669 def name @name end |
#user_specified_metadata ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1UserSpecifiedMetadata
Metadata provided by users.
Corresponds to the JSON property userSpecifiedMetadata
37674 37675 37676 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 37674 def @user_specified_metadata end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
37681 37682 37683 37684 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 37681 def update!(**args) @name = args[:name] if args.key?(:name) @user_specified_metadata = args[:user_specified_metadata] if args.key?(:user_specified_metadata) end |