Types for Google Cloud Aiplatform V1 Schema Predict Params v1 API

class google.cloud.aiplatform.v1.schema.predict.params_v1.types.ImageClassificationPredictionParams(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Bases:proto.message.Message

Prediction model parameters for Image Classification.

confidence_threshold()

The Model only returns predictions with atleast this confidence score. Default value is0.0

max_predictions()

The Model only returns up to that many top,by confidence score, predictions per instance.If this number is very high, the Model mayreturn fewer predictions. Default value is 10.

confidence_threshold(: [float](https://python.readthedocs.io/en/latest/library/functions.html#float )

max_predictions(: [int](https://python.readthedocs.io/en/latest/library/functions.html#int )

class google.cloud.aiplatform.v1.schema.predict.params_v1.types.ImageObjectDetectionPredictionParams(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Bases:proto.message.Message

Prediction model parameters for Image Object Detection.

confidence_threshold()

The Model only returns predictions with atleast this confidence score. Default value is0.0

max_predictions()

The Model only returns up to that many top,by confidence score, predictions per instance.Note that number of returned predictions is alsolimited by metadata’s predictionsLimit. Defaultvalue is 10.

confidence_threshold(: [float](https://python.readthedocs.io/en/latest/library/functions.html#float )

max_predictions(: [int](https://python.readthedocs.io/en/latest/library/functions.html#int )

class google.cloud.aiplatform.v1.schema.predict.params_v1.types.ImageSegmentationPredictionParams(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Bases:proto.message.Message

Prediction model parameters for Image Segmentation.

confidence_threshold()

When the model predicts category of pixels ofthe image, it will only provide predictions forpixels that it is at least this much confidentabout. All other pixels will be classified asbackground. Default value is 0.5.

confidence_threshold(: [float](https://python.readthedocs.io/en/latest/library/functions.html#float )

class google.cloud.aiplatform.v1.schema.predict.params_v1.types.VideoActionRecognitionPredictionParams(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Bases:proto.message.Message

Prediction model parameters for Video Action Recognition.

confidence_threshold()

The Model only returns predictions with atleast this confidence score. Default value is0.0

max_predictions()

The model only returns up to that many top,by confidence score, predictions per frame ofthe video. If this number is very high, theModel may return fewer predictions per frame.Default value is 50.

confidence_threshold(: [float](https://python.readthedocs.io/en/latest/library/functions.html#float )

max_predictions(: [int](https://python.readthedocs.io/en/latest/library/functions.html#int )

class google.cloud.aiplatform.v1.schema.predict.params_v1.types.VideoClassificationPredictionParams(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Bases:proto.message.Message

Prediction model parameters for Video Classification.

confidence_threshold()

The Model only returns predictions with atleast this confidence score. Default value is0.0

max_predictions()

The Model only returns up to that many top,by confidence score, predictions per instance.If this number is very high, the Model mayreturn fewer predictions. Default value is10,000.

segment_classification()

Set to true to request segment-levelclassification. Vertex AI returns labels andtheir confidence scores for the entire timesegment of the video that user specified in theinput instance. Default value is true

shot_classification()

Set to true to request shot-levelclassification. Vertex AI determines theboundaries for each camera shot in the entiretime segment of the video that user specified inthe input instance. Vertex AI then returnslabels and their confidence scores for eachdetected shot, along with the start and end timeof the shot.WARNING: Model evaluation is not done for thisclassification type, the quality of it dependson the training data, but there are no metricsprovided to describe that quality.Default value is false

one_sec_interval_classification()

Set to true to request classification for avideo at one-second intervals. Vertex AI returnslabels and their confidence scores for eachsecond of the entire time segment of the videothat user specified in the input WARNING: Modelevaluation is not done for this classificationtype, the quality of it depends on the trainingdata, but there are no metrics provided todescribe that quality. Default value is false

confidence_threshold(: [float](https://python.readthedocs.io/en/latest/library/functions.html#float )

max_predictions(: [int](https://python.readthedocs.io/en/latest/library/functions.html#int )

one_sec_interval_classification(: [bool](https://python.readthedocs.io/en/latest/library/functions.html#bool )

segment_classification(: [bool](https://python.readthedocs.io/en/latest/library/functions.html#bool )

shot_classification(: [bool](https://python.readthedocs.io/en/latest/library/functions.html#bool )

class google.cloud.aiplatform.v1.schema.predict.params_v1.types.VideoObjectTrackingPredictionParams(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Bases:proto.message.Message

Prediction model parameters for Video Object Tracking.

confidence_threshold()

The Model only returns predictions with atleast this confidence score. Default value is0.0

max_predictions()

The model only returns up to that many top,by confidence score, predictions per frame ofthe video. If this number is very high, theModel may return fewer predictions per frame.Default value is 50.

min_bounding_box_size()

Only bounding boxes with shortest edge atleast that long as a relative value of videoframe size are returned. Default value is 0.0.

confidence_threshold(: [float](https://python.readthedocs.io/en/latest/library/functions.html#float )

max_predictions(: [int](https://python.readthedocs.io/en/latest/library/functions.html#int )

min_bounding_box_size(: [float](https://python.readthedocs.io/en/latest/library/functions.html#float )

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-10-30 UTC.