Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1UpsertDatapointsRequest
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1UpsertDatapointsRequest
- 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
Request message for IndexService.UpsertDatapoints
Instance Attribute Summary collapse
-
#datapoints ⇒ Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1IndexDatapoint>
A list of datapoints to be created/updated.
-
#update_mask ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1UpsertDatapointsRequest
constructor
A new instance of GoogleCloudAiplatformV1beta1UpsertDatapointsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1UpsertDatapointsRequest
Returns a new instance of GoogleCloudAiplatformV1beta1UpsertDatapointsRequest.
35955 35956 35957 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 35955 def initialize(**args) update!(**args) end |
Instance Attribute Details
#datapoints ⇒ Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1IndexDatapoint>
A list of datapoints to be created/updated.
Corresponds to the JSON property datapoints
35945 35946 35947 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 35945 def datapoints @datapoints end |
#update_mask ⇒ String
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.
Corresponds to the JSON property updateMask
35953 35954 35955 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 35953 def update_mask @update_mask end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
35960 35961 35962 35963 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 35960 def update!(**args) @datapoints = args[:datapoints] if args.key?(:datapoints) @update_mask = args[:update_mask] if args.key?(:update_mask) end |