Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Example
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Example
- 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
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#display_name ⇒ String
Optional.
-
#example_id ⇒ String
Optional.
-
#stored_contents_example ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1StoredContentsExample
A ContentsExample to be used with GenerateContent alongside information required for storage and retrieval with Example Store.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1Example
constructor
A new instance of GoogleCloudAiplatformV1beta1Example.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1Example
Returns a new instance of GoogleCloudAiplatformV1beta1Example.
18959 18960 18961 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 18959 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. Timestamp when this Example was created.
Corresponds to the JSON property createTime
18940 18941 18942 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 18940 def create_time @create_time end |
#display_name ⇒ String
Optional. The display name for Example.
Corresponds to the JSON property displayName
18945 18946 18947 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 18945 def display_name @display_name end |
#example_id ⇒ String
Optional. Immutable. Unique identifier of an example. If not specified when
upserting new examples, the example_id will be generated.
Corresponds to the JSON property exampleId
18951 18952 18953 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 18951 def example_id @example_id end |
#stored_contents_example ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1StoredContentsExample
A ContentsExample to be used with GenerateContent alongside information
required for storage and retrieval with Example Store.
Corresponds to the JSON property storedContentsExample
18957 18958 18959 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 18957 def stored_contents_example @stored_contents_example end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
18964 18965 18966 18967 18968 18969 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 18964 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @display_name = args[:display_name] if args.key?(:display_name) @example_id = args[:example_id] if args.key?(:example_id) @stored_contents_example = args[:stored_contents_example] if args.key?(:stored_contents_example) end |