Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::UpsertDatapointsRequest (v0.58.0)

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>
Returns

#datapoints=

def datapoints=(value) -> ::Array<::Google::Cloud::AIPlatform::V1::IndexDatapoint>
Parameter
Returns

#index

def index() -> ::String
Returns
  • (::String) — Required. The name of the Index resource to be updated. Format: projects/{project}/locations/{location}/indexes/{index}

#index=

def index=(value) -> ::String
Parameter
  • value (::String) — Required. The name of the Index resource to be updated. Format: projects/{project}/locations/{location}/indexes/{index}
Returns
  • (::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
Returns
  • (::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.

#update_mask=

def update_mask=(value) -> ::Google::Protobuf::FieldMask
Parameter
  • 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.
Returns
  • (::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.