Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::UpsertDatapointsRequest.
Request message for IndexService.UpsertDatapoints
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#datapoints
def datapoints() -> ::Array<::Google::Cloud::AIPlatform::V1::IndexDatapoint>
- (::Array<::Google::Cloud::AIPlatform::V1::IndexDatapoint>) — A list of datapoints to be created/updated.
#datapoints=
def datapoints=(value) -> ::Array<::Google::Cloud::AIPlatform::V1::IndexDatapoint>
- value (::Array<::Google::Cloud::AIPlatform::V1::IndexDatapoint>) — A list of datapoints to be created/updated.
- (::Array<::Google::Cloud::AIPlatform::V1::IndexDatapoint>) — A list of datapoints to be created/updated.
#index
def index() -> ::String
-
(::String) — Required. The name of the Index resource to be updated.
Format:
projects/{project}/locations/{location}/indexes/{index}
#index=
def index=(value) -> ::String
-
value (::String) — Required. The name of the Index resource to be updated.
Format:
projects/{project}/locations/{location}/indexes/{index}
-
(::String) — Required. The name of the Index resource to be updated.
Format:
projects/{project}/locations/{location}/indexes/{index}
#update_mask
def update_mask() -> ::Google::Protobuf::FieldMask
-
(::Google::Protobuf::FieldMask) —
Optional. Update mask is used to specify the fields to be overwritten in the datapoints by the update. The fields specified in the update_mask are relative to each IndexDatapoint inside datapoints, not the full request.
Updatable fields:
- Use
all_restricts
to update both restricts and numeric_restricts.
- Use
#update_mask=
def update_mask=(value) -> ::Google::Protobuf::FieldMask
-
value (::Google::Protobuf::FieldMask) —
Optional. Update mask is used to specify the fields to be overwritten in the datapoints by the update. The fields specified in the update_mask are relative to each IndexDatapoint inside datapoints, not the full request.
Updatable fields:
- Use
all_restricts
to update both restricts and numeric_restricts.
- Use
-
(::Google::Protobuf::FieldMask) —
Optional. Update mask is used to specify the fields to be overwritten in the datapoints by the update. The fields specified in the update_mask are relative to each IndexDatapoint inside datapoints, not the full request.
Updatable fields:
- Use
all_restricts
to update both restricts and numeric_restricts.
- Use