Index
AppPlatform
(interface)EventDiscoveryService
(interface)LiveVideoAnalytics
(interface)RetailService
(interface)SmartDeviceService
(interface)StreamingService
(interface)StreamsService
(interface)Warehouse
(interface)AIEnabledDevicesInputConfig
(message)AcceleratorType
(enum)AddApplicationStreamInputRequest
(message)AddApplicationStreamInputResponse
(message)AddCollectionItemRequest
(message)AddCollectionItemResponse
(message)AddRetailProductsToRetailProductSetResponse
(message)Analysis
(message)AnalysisDefinition
(message)AnalyzeAssetMetadata
(message)AnalyzeAssetMetadata.AnalysisStatus
(message)AnalyzeAssetMetadata.AnalysisStatus.State
(enum)AnalyzeAssetRequest
(message)AnalyzeAssetResponse
(message)AnalyzeCorpusMetadata
(message)AnalyzeCorpusRequest
(message)AnalyzeCorpusResponse
(message)AnalyzerDefinition
(message)AnalyzerDefinition.DebugOptions
(message)AnalyzerDefinition.StreamInput
(message)Annotation
(message)AnnotationCustomizedStruct
(message)AnnotationList
(message)AnnotationMatchingResult
(message)AnnotationValue
(message)AppPlatformCloudFunctionRequest
(message)AppPlatformCloudFunctionRequest.StructedInputAnnotation
(message)AppPlatformCloudFunctionResponse
(message)AppPlatformCloudFunctionResponse.StructedOutputAnnotation
(message)AppPlatformEventBody
(message)AppPlatformMetadata
(message)Application
(message)Application.ApplicationRuntimeInfo
(message)Application.ApplicationRuntimeInfo.GlobalOutputResource
(message)Application.ApplicationRuntimeInfo.MonitoringConfig
(message)Application.BillingMode
(enum)Application.State
(enum)ApplicationConfigs
(message)ApplicationInstance
(message)ApplicationNodeAnnotation
(message)ApplicationStreamInput
(message)Asset
(message)AssetSource
(message)AssetSource.AssetContentData
(message)AssetSource.AssetGcsSource
(message)AttributeValue
(message)AutoscalingMetricSpec
(message)BigQueryConfig
(message)BoolValue
(message)CircleArea
(message)ClassificationPredictionResult
(message)ClipAssetRequest
(message)ClipAssetResponse
(message)ClipAssetResponse.TimeIndexedUri
(message)Collection
(message)CollectionItem
(message)CollectionItem.Type
(enum)Corpus
(message)Corpus.Type
(enum)CreateAnalysisRequest
(message)CreateAnnotationRequest
(message)CreateApplicationInstancesRequest
(message)CreateApplicationInstancesResponse
(message)CreateApplicationRequest
(message)CreateAssetRequest
(message)CreateCollectionMetadata
(message)CreateCollectionRequest
(message)CreateCorpusMetadata
(message)CreateCorpusRequest
(message)CreateDataSchemaRequest
(message)CreateDraftRequest
(message)CreateIndexEndpointMetadata
(message)CreateIndexEndpointRequest
(message)CreateIndexMetadata
(message)CreateIndexRequest
(message)CreateProcessRequest
(message)CreateProcessorRequest
(message)CreateSearchConfigRequest
(message)CreateSearchHypernymRequest
(message)Criteria
(message)CustomProcessorSourceInfo
(message)CustomProcessorSourceInfo.ModelSchema
(message)CustomProcessorSourceInfo.SourceType
(enum)DataSchema
(message)DataSchemaDetails
(message)DataSchemaDetails.CustomizedStructConfig
(message)DataSchemaDetails.DataType
(enum)DataSchemaDetails.Granularity
(enum)DataSchemaDetails.ListConfig
(message)DataSchemaDetails.ProtoAnyConfig
(message)DataSchemaDetails.SearchStrategy
(message)DataSchemaDetails.SearchStrategy.SearchStrategyType
(enum)DataType
(enum)DateTimeRange
(message)DateTimeRangeArray
(message)DedicatedResources
(message)DeleteAnalysisRequest
(message)DeleteAnnotationRequest
(message)DeleteApplicationInstancesRequest
(message)DeleteApplicationInstancesResponse
(message)DeleteApplicationRequest
(message)DeleteAssetMetadata
(message)DeleteAssetRequest
(message)DeleteCollectionMetadata
(message)DeleteCollectionRequest
(message)DeleteCorpusRequest
(message)DeleteDataSchemaRequest
(message)DeleteDraftRequest
(message)DeleteIndexEndpointMetadata
(message)DeleteIndexEndpointRequest
(message)DeleteIndexMetadata
(message)DeleteIndexRequest
(message)DeleteProcessRequest
(message)DeleteProcessorRequest
(message)DeleteSearchConfigRequest
(message)DeleteSearchHypernymRequest
(message)DeployApplicationRequest
(message)DeployApplicationResponse
(message)DeployIndexMetadata
(message)DeployIndexRequest
(message)DeployIndexResponse
(message)DeployRetailProductRecognitionIndexResponse
(message)DeployedIndex
(message)DeployedIndexReference
(message)Draft
(message)EventUpdateFilter
(message)EventUpdateFilter.SpecialMode
(enum)EventUpdateType
(enum)ExportRetailProductRecognitionIndexCoverageResponse
(message)FacetBucket
(message)FacetBucket.Range
(message)FacetBucketType
(enum)FacetGroup
(message)FacetProperty
(message)FacetProperty.CustomRangeBucketSpec
(message)FacetProperty.DateTimeBucketSpec
(message)FacetProperty.DateTimeBucketSpec.Granularity
(enum)FacetProperty.FixedRangeBucketSpec
(message)FacetValue
(message)FloatRange
(message)FloatRangeArray
(message)GcsSource
(message)GeneralObjectDetectionConfig
(message)GenerateHlsUriRequest
(message)GenerateHlsUriResponse
(message)GenerateRetrievalUrlRequest
(message)GenerateRetrievalUrlResponse
(message)GeoCoordinate
(message)GeoLocationArray
(message)GetAnalysisRequest
(message)GetAnnotationRequest
(message)GetApplicationRequest
(message)GetAssetRequest
(message)GetCollectionRequest
(message)GetCorpusRequest
(message)GetDataSchemaRequest
(message)GetDraftRequest
(message)GetIndexEndpointRequest
(message)GetIndexRequest
(message)GetInstanceRequest
(message)GetProcessRequest
(message)GetProcessorRequest
(message)GetSearchConfigRequest
(message)GetSearchHypernymRequest
(message)GetStreamThumbnailResponse
(message)ImageObjectDetectionPredictionResult
(message)ImageQuery
(message)ImageSegmentationPredictionResult
(message)ImportAssetsMetadata
(message)ImportAssetsRequest
(message)ImportAssetsResponse
(message)ImportRetailProductsResponse
(message)Index
(message)Index.State
(enum)IndexAssetMetadata
(message)IndexAssetMetadata.IndexingStatus
(message)IndexAssetMetadata.IndexingStatus.State
(enum)IndexAssetRequest
(message)IndexAssetResponse
(message)IndexEndpoint
(message)IndexEndpoint.State
(enum)IndexedAsset
(message)IndexingStatus
(message)IndexingStatus.State
(enum)IngestAssetRequest
(message)IngestAssetRequest.Config
(message)IngestAssetRequest.Config.VideoType
(message)IngestAssetRequest.Config.VideoType.ContainerFormat
(enum)IngestAssetRequest.TimeIndexedData
(message)IngestAssetResponse
(message)Instance
(message)Instance.InputResource
(message)Instance.OutputResource
(message)Instance.State
(enum)IntRange
(message)IntRangeArray
(message)ListAnalysesRequest
(message)ListAnalysesResponse
(message)ListAnnotationsRequest
(message)ListAnnotationsResponse
(message)ListApplicationsRequest
(message)ListApplicationsResponse
(message)ListAssetsRequest
(message)ListAssetsResponse
(message)ListCollectionsRequest
(message)ListCollectionsResponse
(message)ListCorporaRequest
(message)ListCorporaResponse
(message)ListDataSchemasRequest
(message)ListDataSchemasResponse
(message)ListDraftsRequest
(message)ListDraftsResponse
(message)ListIndexEndpointsRequest
(message)ListIndexEndpointsResponse
(message)ListIndexesRequest
(message)ListIndexesResponse
(message)ListInstancesRequest
(message)ListInstancesResponse
(message)ListPrebuiltProcessorsRequest
(message)ListPrebuiltProcessorsResponse
(message)ListProcessesRequest
(message)ListProcessesResponse
(message)ListProcessorsRequest
(message)ListProcessorsResponse
(message)ListSearchConfigsRequest
(message)ListSearchConfigsResponse
(message)ListSearchHypernymsRequest
(message)ListSearchHypernymsResponse
(message)MachineSpec
(message)MediaWarehouseConfig
(message)ModelType
(enum)Node
(message)Node.InputEdge
(message)NormalizedPolygon
(message)NormalizedPolyline
(message)NormalizedVertex
(message)ObjectDetectionPredictionResult
(message)ObjectDetectionPredictionResult.Entity
(message)ObjectDetectionPredictionResult.IdentifiedBox
(message)ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox
(message)OccupancyCountConfig
(message)OccupancyCountingPredictionResult
(message)OccupancyCountingPredictionResult.DwellTimeInfo
(message)OccupancyCountingPredictionResult.Entity
(message)OccupancyCountingPredictionResult.IdentifiedBox
(message)OccupancyCountingPredictionResult.IdentifiedBox.NormalizedBoundingBox
(message)OccupancyCountingPredictionResult.Stats
(message)OccupancyCountingPredictionResult.Stats.AccumulatedObjectCount
(message)OccupancyCountingPredictionResult.Stats.ActiveZoneCount
(message)OccupancyCountingPredictionResult.Stats.CrossingLineCount
(message)OccupancyCountingPredictionResult.Stats.ObjectCount
(message)OccupancyCountingPredictionResult.TrackInfo
(message)OperationMetadata
(message)Partition
(message)Partition.RelativeTemporalPartition
(message)Partition.SpatialPartition
(message)Partition.TemporalPartition
(message)PersonBlurConfig
(message)PersonBlurConfig.PersonBlurType
(enum)PersonVehicleDetectionConfig
(message)PersonalProtectiveEquipmentDetectionConfig
(message)PersonalProtectiveEquipmentDetectionOutput
(message)PersonalProtectiveEquipmentDetectionOutput.DetectedPerson
(message)PersonalProtectiveEquipmentDetectionOutput.NormalizedBoundingBox
(message)PersonalProtectiveEquipmentDetectionOutput.PPEEntity
(message)PersonalProtectiveEquipmentDetectionOutput.PPEIdentifiedBox
(message)PersonalProtectiveEquipmentDetectionOutput.PersonEntity
(message)PersonalProtectiveEquipmentDetectionOutput.PersonIdentifiedBox
(message)Process
(message)Processor
(message)Processor.ProcessorState
(enum)Processor.ProcessorType
(enum)ProcessorConfig
(message)ProcessorIOSpec
(message)ProcessorIOSpec.GraphInputChannelSpec
(message)ProcessorIOSpec.GraphOutputChannelSpec
(message)ProcessorIOSpec.InstanceResourceInputBindingSpec
(message)ProcessorIOSpec.InstanceResourceOutputBindingSpec
(message)RemoveApplicationStreamInputRequest
(message)RemoveApplicationStreamInputRequest.TargetStreamInput
(message)RemoveApplicationStreamInputResponse
(message)RemoveCollectionItemRequest
(message)RemoveCollectionItemResponse
(message)RemoveIndexAssetMetadata
(message)RemoveIndexAssetRequest
(message)RemoveIndexAssetResponse
(message)RemoveRetailProductsFromRetailProductSetResponse
(message)ResourceAnnotations
(message)RetailBatchAnalyzeResponse
(message)RetailEntity
(message)RetailNormalizedBoundingBox
(message)RetailObjectDetectionAnnotation
(message)RetailOperationMetadata
(message)RetailOperationMetadata.OperationMetrics
(message)RetailPredictResults
(message)RetailProduct
(message)RetailProductImageSimilarity
(message)RetailProductRecognitionAnnotation
(message)RetailProductRecognitionResult
(message)RetailResourceState
(enum)RetailTagRecognitionAnnotation
(message)RetailThirdPartyId
(message)RunMode
(enum)RunStatus
(message)RunStatus.State
(enum)SchemaKeySortingStrategy
(message)SchemaKeySortingStrategy.Option
(message)SchemaKeySortingStrategy.Option.AggregateMethod
(enum)SearchAssetsRequest
(message)SearchAssetsResponse
(message)SearchCapability
(message)SearchCapability.Type
(enum)SearchCapabilitySetting
(message)SearchConfig
(message)SearchCriteriaProperty
(message)SearchHypernym
(message)SearchIndexEndpointRequest
(message)SearchIndexEndpointResponse
(message)SearchResultItem
(message)StreamAnnotation
(message)StreamAnnotationType
(enum)StreamAnnotations
(message)StreamWithAnnotation
(message)StreamWithAnnotation.NodeAnnotation
(message)StringArray
(message)UndeployApplicationRequest
(message)UndeployApplicationResponse
(message)UndeployIndexMetadata
(message)UndeployIndexRequest
(message)UndeployIndexResponse
(message)UndeployRetailProductRecognitionIndexResponse
(message)UpdateAnalysisRequest
(message)UpdateAnnotationRequest
(message)UpdateApplicationInstancesRequest
(message)UpdateApplicationInstancesRequest.UpdateApplicationInstance
(message)UpdateApplicationInstancesResponse
(message)UpdateApplicationRequest
(message)UpdateApplicationStreamInputRequest
(message)UpdateApplicationStreamInputResponse
(message)UpdateAssetRequest
(message)UpdateCollectionRequest
(message)UpdateCorpusRequest
(message)UpdateDataSchemaRequest
(message)UpdateDraftRequest
(message)UpdateIndexEndpointMetadata
(message)UpdateIndexEndpointRequest
(message)UpdateIndexMetadata
(message)UpdateIndexRequest
(message)UpdateProcessRequest
(message)UpdateProcessorRequest
(message)UpdateSearchConfigRequest
(message)UpdateSearchHypernymRequest
(message)UploadAssetMetadata
(message)UploadAssetRequest
(message)UploadAssetResponse
(message)UserSpecifiedAnnotation
(message)VertexAutoMLVideoConfig
(message)VertexAutoMLVisionConfig
(message)VertexCustomConfig
(message)VideoActionRecognitionPredictionResult
(message)VideoActionRecognitionPredictionResult.IdentifiedAction
(message)VideoClassificationPredictionResult
(message)VideoClassificationPredictionResult.IdentifiedClassification
(message)VideoObjectTrackingPredictionResult
(message)VideoObjectTrackingPredictionResult.BoundingBox
(message)VideoObjectTrackingPredictionResult.DetectedObject
(message)VideoStreamInputConfig
(message)ViewCollectionItemsRequest
(message)ViewCollectionItemsResponse
(message)ViewIndexedAssetsRequest
(message)ViewIndexedAssetsResponse
(message)WatchEventsRequest
(message)WatchEventsResponse
(message)
AppPlatform
Service describing handlers for resources
AddApplicationStreamInput |
---|
Adds target stream input to the Application. If the Application is deployed, the corresponding new Application instance will be created. If the stream has already been in the Application, the RPC will fail.
|
CreateApplication |
---|
Creates a new Application in a given project and location.
|
CreateApplicationInstances |
---|
Adds target stream input to the Application. If the Application is deployed, the corresponding new Application instance will be created. If the stream has already been in the Application, the RPC will fail.
|
CreateDraft |
---|
Creates a new Draft in a given project and location.
|
CreateProcessor |
---|
Creates a new Processor in a given project and location.
|
DeleteApplication |
---|
Deletes a single Application.
|
DeleteApplicationInstances |
---|
Remove target stream input to the Application, if the Application is deployed, the corresponding instance based will be deleted. If the stream is not in the Application, the RPC will fail.
|
DeleteDraft |
---|
Deletes a single Draft.
|
DeleteProcessor |
---|
Deletes a single Processor.
|
DeployApplication |
---|
Deploys a single Application.
|
GetApplication |
---|
Gets details of a single Application.
|
GetDraft |
---|
Gets details of a single Draft.
|
GetInstance |
---|
Gets details of a single Instance.
|
GetProcessor |
---|
Gets details of a single Processor.
|
ListApplications |
---|
Lists Applications in a given project and location.
|
ListDrafts |
---|
Lists Drafts in a given project and location.
|
ListInstances |
---|
Lists Instances in a given project and location.
|
ListPrebuiltProcessors |
---|
ListPrebuiltProcessors is a custom pass-through verb that Lists Prebuilt Processors.
|
ListProcessors |
---|
Lists Processors in a given project and location.
|
RemoveApplicationStreamInput |
---|
Remove target stream input to the Application, if the Application is deployed, the corresponding instance based will be deleted. If the stream is not in the Application, the RPC will fail.
|
UndeployApplication |
---|
Undeploys a single Application.
|
UpdateApplication |
---|
Updates the parameters of a single Application.
|
UpdateApplicationInstances |
---|
Adds target stream input to the Application. If the Application is deployed, the corresponding new Application instance will be created. If the stream has already been in the Application, the RPC will fail.
|
UpdateApplicationStreamInput |
---|
Update target stream input to the Application, if the Application is deployed, the corresponding instance based will be deployed. For CreateOrUpdate behavior, set allow_missing to true.
|
UpdateDraft |
---|
Updates the parameters of a single Draft.
|
UpdateProcessor |
---|
Updates the parameters of a single Processor.
|
EventDiscoveryService
Below is the new version of Event Discovery Service. Will deprecate the EventWatcher once we migrate all the usage to the new EventDiscoveryService. This is the event discovery APIs for clients to discover event updates happening on streams.
WatchEvents |
---|
Watch for event updates happening on the given streams.
|
LiveVideoAnalytics
Service describing handlers for resources. The service enables clients to run Live Video Analytics (LVA) on the streaming inputs.
CreateAnalysis |
---|
Creates a new Analysis in a given project and location.
|
CreateProcess |
---|
Creates a new Process in a given project and location.
|
DeleteAnalysis |
---|
Deletes a single Analysis.
|
DeleteProcess |
---|
Deletes a single Process.
|
GetAnalysis |
---|
Gets details of a single Analysis.
|
GetProcess |
---|
Gets details of a single Process.
|
ListAnalyses |
---|
Lists Analyses in a given project and location.
|
ListProcesses |
---|
Lists Processes in a given project and location.
|
UpdateAnalysis |
---|
Updates the parameters of a single Analysis.
|
UpdateProcess |
---|
Updates the parameters of a single Process.
|
RetailService
Service enables clients to manage Store Vision retail resources.
SmartDeviceService
Service describing handlers for resources
StreamingService
Streaming service for receiving and sending packets.
StreamsService
Service describing handlers for resources. Vision API and Vision AI API are two independent APIs developed by the same team. Vision API is for people to annotate their image while Vision AI is an e2e solution for customer to build their own computer vision application.
Warehouse
Service that manages media content + metadata for streaming.
AddCollectionItem |
---|
Adds an item into a Collection.
|
AnalyzeAsset |
---|
Analyze asset to power search capability.
|
AnalyzeCorpus |
---|
Analyzes a corpus.
|
ClipAsset |
---|
Generates clips for downloading. The api takes in a time range, and generates a clip of the first content available after start_time and before end_time, which may overflow beyond these bounds. Returned clips are truncated if the total size of the clips are larger than 100MB.
|
CreateAnnotation |
---|
Creates annotation inside asset.
|
CreateAsset |
---|
Creates an asset inside corpus.
|
CreateCollection |
---|
Creates a collection.
|
CreateCorpus |
---|
Creates a corpus inside a project.
|
CreateDataSchema |
---|
Creates data schema inside corpus.
|
CreateIndex |
---|
Creates an Index under the corpus.
|
CreateIndexEndpoint |
---|
Creates an IndexEndpoint.
|
CreateSearchConfig |
---|
Creates a search configuration inside a corpus. Please follow the rules below to create a valid CreateSearchConfigRequest. --- General Rules --- 1. Request.search_config_id must not be associated with an existing SearchConfig. 2. Request must contain at least one non-empty search_criteria_property or facet_property. 3. mapped_fields must not be empty, and must map to existing UGA keys. 4. All mapped_fields must be of the same type. 5. All mapped_fields must share the same granularity. 6. All mapped_fields must share the same semantic SearchConfig match options. For property-specific rules, please reference the comments for FacetProperty and SearchCriteriaProperty.
|
CreateSearchHypernym |
---|
Creates a SearchHypernym inside a corpus.
|
DeleteAnnotation |
---|
Deletes annotation inside asset.
|
DeleteAsset |
---|
Deletes asset inside corpus.
|
DeleteCollection |
---|
Deletes a collection.
|
DeleteCorpus |
---|
Deletes a corpus only if its empty. Returns empty response.
|
DeleteDataSchema |
---|
Deletes data schema inside corpus.
|
DeleteIndex |
---|
Delete a single Index. In order to delete an index, the caller must make sure that it is not deployed to any index endpoint.
|
DeleteIndexEndpoint |
---|
Deletes an IndexEndpoint.
|
DeleteSearchConfig |
---|
Deletes a search configuration inside a corpus. For a DeleteSearchConfigRequest to be valid, Request.search_configuration.name must already exist.
|
DeleteSearchHypernym |
---|
Deletes a SearchHypernym inside a corpus.
|
DeployIndex |
---|
Deploys an Index to IndexEndpoint.
|
GenerateHlsUri |
---|
Generates a uri for an HLS manifest. The api takes in a collection of time ranges, and generates a URI for an HLS manifest that covers all the requested time ranges.
|
GenerateRetrievalUrl |
---|
Generates a signed url for downloading the asset. For video warehouse, please see comment of UploadAsset about how to allow retrieval of cloud storage files in a different project.
|
GetAnnotation |
---|
Reads annotation inside asset.
|
GetAsset |
---|
Reads an asset inside corpus.
|
GetCollection |
---|
Gets a collection.
|
GetCorpus |
---|
Gets corpus details inside a project.
|
GetDataSchema |
---|
Gets data schema inside corpus.
|
GetIndex |
---|
Gets the details of a single Index under a Corpus.
|
GetIndexEndpoint |
---|
Gets an IndexEndpoint.
|
GetSearchConfig |
---|
Gets a search configuration inside a corpus.
|
GetSearchHypernym |
---|
Gets a SearchHypernym inside a corpus.
|
ImportAssets |
---|
Imports assets (images plus annotations) from a meta file on cloud storage. Each row in the meta file is corresponding to an image (specified by a cloud storage uri) and its annotations.
|
IndexAsset |
---|
Index one asset for search. Supported corpus type: Corpus.Type.VIDEO_ON_DEMAND
|
IngestAsset |
---|
Ingests data for the asset. It is not allowed to ingest a data chunk which is already expired according to TTL. This method is only available via the gRPC API (not HTTP since bi-directional streaming is not supported via HTTP).
|
ListAnnotations |
---|
Lists a list of annotations inside asset.
|
ListAssets |
---|
Lists an list of assets inside corpus.
|
ListCollections |
---|
Lists collections inside a corpus.
|
ListCorpora |
---|
Lists all corpora in a project.
|
ListDataSchemas |
---|
Lists a list of data schemas inside corpus.
|
ListIndexEndpoints |
---|
Lists all IndexEndpoints in a project.
|
ListIndexes |
---|
List all Indexes in a given Corpus.
|
ListSearchConfigs |
---|
Lists all search configurations inside a corpus.
|
ListSearchHypernyms |
---|
Lists SearchHypernyms inside a corpus.
|
RemoveCollectionItem |
---|
Removes an item from a collection.
|
RemoveIndexAsset |
---|
Remove one asset's index data for search. Supported corpus type: Corpus.Type.VIDEO_ON_DEMAND
|
SearchAssets |
---|
Search media asset.
|
SearchIndexEndpoint |
---|
Search a deployed index endpoint (IMAGE corpus type only).
|
UndeployIndex |
---|
Undeploys an Index from IndexEndpoint.
|
UpdateAnnotation |
---|
Updates annotation inside asset.
|
UpdateAsset |
---|
Updates an asset inside corpus.
|
UpdateCollection |
---|
Updates a collection.
|
UpdateCorpus |
---|
Updates a corpus in a project.
|
UpdateDataSchema |
---|
Updates data schema inside corpus.
|
UpdateIndex |
---|
Updates an Index under the corpus.
|
UpdateIndexEndpoint |
---|
Updates an IndexEndpoint.
|
UpdateSearchConfig |
---|
Updates a search configuration inside a corpus. Please follow the rules below to create a valid UpdateSearchConfigRequest. --- General Rules --- 1. Request.search_configuration.name must already exist. 2. Request must contain at least one non-empty search_criteria_property or facet_property. 3. mapped_fields must not be empty, and must map to existing UGA keys. 4. All mapped_fields must be of the same type. 5. All mapped_fields must share the same granularity. 6. All mapped_fields must share the same semantic SearchConfig match options. For property-specific rules, please reference the comments for FacetProperty and SearchCriteriaProperty.
|
UpdateSearchHypernym |
---|
Updates a SearchHypernym inside a corpus.
|
UploadAsset |
---|
Upload asset by specifing the asset Cloud Storage uri. For video warehouse, it requires users who call this API have read access to the cloud storage file. Once it is uploaded, it can be retrieved by GenerateRetrievalUrl API which by default, only can retrieve cloud storage files from the same project of the warehouse. To allow retrieval cloud storage files that are in a separate project, it requires to find the vision ai service account (Go to IAM, check checkbox to show "Include Google-provided role grants", search for "Cloud Vision AI Service Agent") and grant the read access of the cloud storage files to that service account.
|
ViewCollectionItems |
---|
View items inside a collection.
|
ViewIndexedAssets |
---|
Lists a list of assets inside an index.
|
AIEnabledDevicesInputConfig
Message describing AI-enabled Devices Input Config.
AcceleratorType
Represents a hardware accelerator type.
Enums | |
---|---|
ACCELERATOR_TYPE_UNSPECIFIED |
Unspecified accelerator type, which means no accelerator. |
NVIDIA_TESLA_K80 |
Nvidia Tesla K80 GPU. |
NVIDIA_TESLA_P100 |
Nvidia Tesla P100 GPU. |
NVIDIA_TESLA_V100 |
Nvidia Tesla V100 GPU. |
NVIDIA_TESLA_P4 |
Nvidia Tesla P4 GPU. |
NVIDIA_TESLA_T4 |
Nvidia Tesla T4 GPU. |
NVIDIA_TESLA_A100 |
Nvidia Tesla A100 GPU. |
TPU_V2 |
TPU v2. |
TPU_V3 |
TPU v3. |
AddApplicationStreamInputRequest
Message for adding stream input to an Application.
Fields | |
---|---|
name |
Required. the name of the application to retrieve. Format: "projects/{project}/locations/{location}/applications/{application}" |
application_stream_inputs[] |
The stream inputs to add, the stream resource name is the key of each StreamInput, and it must be unique within each application. |
request_id |
Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). |
AddApplicationStreamInputResponse
Message for AddApplicationStreamInput Response.
AddCollectionItemRequest
Request message for AddCollectionItem.
Fields | |
---|---|
item |
Required. The item to be added. |
AddCollectionItemResponse
Response message for AddCollectionItem.
Fields | |
---|---|
item |
The item that has already been added. |
AddRetailProductsToRetailProductSetResponse
AddRetailProductsToRetailProductSet response once the operation is done.
Analysis
Message describing the Analysis object.
Fields | |
---|---|
name |
The name of resource. |
create_time |
Output only. The create timestamp. |
update_time |
Output only. The update timestamp. |
labels |
Labels as key value pairs. |
analysis_definition |
The definition of the analysis. |
input_streams_mapping |
Map from the input parameter in the definition to the real stream. E.g., suppose you had a stream source operator named "input-0" and you try to receive from the real stream "stream-0". You can add the following mapping: [input-0: stream-0]. |
output_streams_mapping |
Map from the output parameter in the definition to the real stream. E.g., suppose you had a stream sink operator named "output-0" and you try to send to the real stream "stream-0". You can add the following mapping: [output-0: stream-0]. |
disable_event_watch |
Boolean flag to indicate whether you would like to disable the ability to automatically start a Process when new event happening in the input Stream. If you would like to start a Process manually, the field needs to be set to true. |
AnalysisDefinition
Defines a full analysis.
This is a description of the overall live analytics pipeline. You may think of this as an edge list representation of a multigraph.
This may be directly authored by a human in protobuf textformat, or it may be generated by a programming API (perhaps Python or JavaScript depending on context).
Fields | |
---|---|
analyzers[] |
Analyzer definitions. |
AnalyzeAssetMetadata
Metadata for AnalyzeAsset.
Fields | |
---|---|
analysis_status[] |
The status of analysis on all search capabilities. |
start_time |
The start time of the operation. |
update_time |
The update time of the operation. |
AnalysisStatus
The status of analysis on each search capability.
Fields | |
---|---|
state |
|
status_message |
|
search_capability |
The search capability requested. |
State
The state of the search capability.
Enums | |
---|---|
STATE_UNSPECIFIED |
The default process state should never happen. |
IN_PROGRESS |
The feature is in progress. |
SUCCEEDED |
The process is successfully done. |
FAILED |
The process failed. |
AnalyzeAssetRequest
Request message for AnalyzeAsset.
Fields | |
---|---|
name |
Required. The resource name of the asset to analyze. Format: |
AnalyzeAssetResponse
This type has no fields.
Response message for AnalyzeAsset.
AnalyzeCorpusMetadata
The metadata message for AnalyzeCorpus LRO.
Fields | |
---|---|
metadata |
The metadata of the operation. |
AnalyzeCorpusRequest
Request message for AnalyzeCorpus.
Fields | |
---|---|
name |
Required. The parent corpus resource where the assets will be analyzed. Format: |
AnalyzeCorpusResponse
This type has no fields.
The response message for AnalyzeCorpus LRO.
AnalyzerDefinition
Defines an Analyzer.
An analyzer processes data from its input streams using the logic defined in the Operator that it represents. Of course, it produces data for the output streams declared in the Operator.
Fields | |
---|---|
analyzer |
The name of this analyzer. Tentatively [a-z][a-z0-9]*(_[a-z0-9]+)*. |
operator |
The name of the operator that this analyzer runs. Must match the name of a supported operator. |
inputs[] |
Input streams. |
attrs |
The attribute values that this analyzer applies to the operator. Supply a mapping between the attribute names and the actual value you wish to apply. If an attribute name is omitted, then it will take a preconfigured default value. |
debug_options |
Debug options. |
operator_option |
Operator option. |
DebugOptions
Options available for debugging purposes only.
Fields | |
---|---|
environment_variables |
Environment variables. |
StreamInput
The inputs to this analyzer.
We accept input name references of the following form:
Example:
Suppose you had an operator named "SomeOp" that has 2 output arguments, the first of which is named "foo" and the second of which is named "bar", and an operator named "MyOp" that accepts 2 inputs.
Also suppose that there is an analyzer named "some-analyzer" that is running "SomeOp" and another analyzer named "my-analyzer" running "MyOp".
To indicate that "my-analyzer" is to consume "some-analyzer"'s "foo" output as its first input and "some-analyzer"'s "bar" output as its second input, you can set this field to the following: input = ["some-analyzer:foo", "some-analyzer:bar"]
Fields | |
---|---|
input |
The name of the stream input (as discussed above). |
Annotation
An annotation is a resource in asset. It represents a key-value mapping of content in asset.
Fields | |
---|---|
name |
Resource name of the annotation. Format: |
user_specified_annotation |
User provided annotation. |
AnnotationCustomizedStruct
Customized struct represnation in annotation.
Fields | |
---|---|
elements |
A map from elements' keys to element's annotation value. |
AnnotationList
List representation in annotation.
Fields | |
---|---|
values[] |
The values of |
AnnotationMatchingResult
Stores the criteria-annotation matching results for each search result item.
Fields | |
---|---|
criteria |
The criteria used for matching. It can be an input search criteria or a criteria converted from a facet selection. |
matched_annotations[] |
Matched annotations for the criteria. |
status |
Status of the match result. Possible values: FAILED_PRECONDITION - the criteria is not eligible for match. OK - matching is performed. |
AnnotationValue
Value of annotation, including all types available in data schema.
Fields | |
---|---|
Union field
|
|
int_value |
Value of int type annotation. |
float_value |
Value of float type annotation. |
str_value |
Value of string type annotation. |
datetime_value |
Value of date time type annotation. |
geo_coordinate |
Value of geo coordinate type annotation. |
proto_any_value |
Value of any proto value. |
bool_value |
Value of boolean type annotation. |
list_value |
Value of list type annotation. |
customized_struct_value |
Value of custom struct type annotation. |
AppPlatformCloudFunctionRequest
For any cloud function based customer processing logic, customer's cloud function is expected to receive AppPlatformCloudFunctionRequest as request and send back AppPlatformCloudFunctionResponse as response. Message of request from AppPlatform to Cloud Function.
Fields | |
---|---|
app_platform_metadata |
The metadata of the AppPlatform for customer to identify the source of the payload. |
annotations[] |
The actual annotations to be processed by the customized Cloud Function. |
StructedInputAnnotation
A general annotation message that uses struct format to represent different concrete annotation protobufs.
Fields | |
---|---|
ingestion_time_micros |
The ingestion time of the current annotation. |
annotation |
The struct format of the actual annotation. |
AppPlatformCloudFunctionResponse
Message of the response from customer's Cloud Function to AppPlatform.
Fields | |
---|---|
annotations[] |
The modified annotations that is returned back to AppPlatform. If the annotations fields are empty, then those annotations will be dropped by AppPlatform. |
annotation_passthrough |
If set to true, AppPlatform will use original annotations instead of dropping them, even if it is empty in the annotations filed. |
events[] |
The event notifications that is returned back to AppPlatform. Typically it will then be configured to be consumed/forwared to a operator that handles events, such as Pub/Sub operator. |
StructedOutputAnnotation
A general annotation message that uses struct format to represent different concrete annotation protobufs.
Fields | |
---|---|
annotation |
The struct format of the actual annotation. |
AppPlatformEventBody
Message of content of appPlatform event
Fields | |
---|---|
event_message |
Human readable string of the event like "There are more than 6 people in the scene". or "Shelf is empty!". |
payload |
For the case of Pub/Sub, it will be stored in the message attributes. pubsub.proto |
event_id |
User defined Event Id, used to classify event, within a delivery interval, events from the same application instance with the same id will be de-duplicated & only first one will be sent out. Empty event_id will be treated as "". |
AppPlatformMetadata
Message of essential metadata of App Platform. This message is usually attached to a certain processor output annotation for customer to identify the source of the data.
Fields | |
---|---|
application |
The application resource name. |
instance_id |
The instance resource id. Instance is the nested resource of application under collection 'instances'. |
node |
The node name of the application graph. |
processor |
The referred processor resource name of the application node. |
Application
Message describing Application object
Fields | |
---|---|
name |
name of resource |
create_time |
Output only. [Output only] Create timestamp |
update_time |
Output only. [Output only] Update timestamp |
labels |
Labels as key value pairs |
display_name |
Required. A user friendly display name for the solution. |
description |
A description for this application. |
application_configs |
Application graph configuration. |
runtime_info |
Output only. Application graph runtime info. Only exists when application state equals to DEPLOYED. |
state |
Output only. State of the application. |
billing_mode |
Billing mode of the application. |
ApplicationRuntimeInfo
Message storing the runtime information of the application.
Fields | |
---|---|
deploy_time |
Timestamp when the engine be deployed |
global_output_resources[] |
Globally created resources like warehouse dataschemas. |
monitoring_config |
Monitoring-related configuration for this application. |
GlobalOutputResource
Message about output resources from application.
Fields | |
---|---|
output_resource |
The full resource name of the outputted resources. |
producer_node |
The name of graph node who produces the output resource name. For example: output_resource: /projects/123/locations/us-central1/corpora/my-corpus/dataSchemas/my-schema producer_node: occupancy-count |
key |
The key of the output resource, it has to be unique within the same producer node. One producer node can output several output resources, the key can be used to match corresponding output resources. |
MonitoringConfig
Monitoring-related configuration for an application.
Fields | |
---|---|
enabled |
Whether this application has monitoring enabled. |
BillingMode
Billing mode of the Application
Enums | |
---|---|
BILLING_MODE_UNSPECIFIED |
The default value. |
PAYG |
Pay as you go billing mode. |
MONTHLY |
Monthly billing mode. |
State
State of the Application
Enums | |
---|---|
STATE_UNSPECIFIED |
The default value. This value is used if the state is omitted. |
CREATED |
State CREATED. |
DEPLOYING |
State DEPLOYING. |
DEPLOYED |
State DEPLOYED. |
UNDEPLOYING |
State UNDEPLOYING. |
DELETED |
State DELETED. |
ERROR |
State ERROR. |
CREATING |
State CREATING. |
UPDATING |
State Updating. |
DELETING |
State Deleting. |
FIXING |
State Fixing. |
ApplicationConfigs
Message storing the graph of the application.
Fields | |
---|---|
nodes[] |
A list of nodes in the application graph. |
ApplicationInstance
Message for creating a Instance.
Fields | |
---|---|
instance_id |
Required. Id of the requesting object. |
instance |
Required. The resource being created. |
ApplicationNodeAnnotation
Message describing annotations specific to application node. This message is a duplication of StreamWithAnnotation.NodeAnnotation.
Fields | |
---|---|
node |
The node name of the application graph. |
annotations[] |
The node specific stream annotations. |
ApplicationStreamInput
Message about a single stream input config.
Fields | |
---|---|
stream_with_annotation |
Asset
An asset is a resource in corpus. It represents a media object inside corpus, contains metadata and another resource annotation. Different feature could be applied to the asset to generate annotations. User could specified annotation related to the target asset.
Fields | |
---|---|
name |
Resource name of the asset. Format: |
ttl |
The duration for which all media assets, associated metadata, and search documents can exist. If not set, then it will using the default ttl in the parent corpus resource. |
asset_gcs_source |
Output only. The original cloud storage source uri that is associated with this asset. |
AssetSource
The source of the asset.
Fields | |
---|---|
Union field
|
|
asset_gcs_source |
The source of the asset is from Cloud Storage. |
asset_content_data |
The source of the asset is from content bytes. |
AssetContentData
The content of the asset.
Fields | |
---|---|
asset_content_data |
|
AssetGcsSource
The asset source is from Cloud Storage.
Fields | |
---|---|
gcs_uri |
Cloud storage uri. |
AttributeValue
Represents an actual value of an operator attribute.
Fields | |
---|---|
Union field value . Attribute value. value can be only one of the following: |
|
i |
int. |
f |
float. |
b |
bool. |
s |
string. |
AutoscalingMetricSpec
The metric specification that defines the target resource utilization (CPU utilization, accelerator's duty cycle, and so on) for calculating the desired replica count.
Fields | |
---|---|
metric_name |
Required. The resource metric name. Supported metrics:
|
target |
The target resource utilization in percentage (1% - 100%) for the given metric; once the real usage deviates from the target by a certain percentage, the machine replicas change. The default value is 60 (representing 60%) if not provided. |
BigQueryConfig
Message of configurations for BigQuery processor.
Fields | |
---|---|
table |
BigQuery table resource for Vision AI Platform to ingest annotations to. |
cloud_function_mapping |
Data Schema By default, Vision AI Application will try to write annotations to the target BigQuery table using the following schema: ingestion_time: TIMESTAMP, the ingestion time of the original data. application: STRING, name of the application which produces the annotation. instance: STRING, Id of the instance which produces the annotation. node: STRING, name of the application graph node which produces the annotation. annotation: STRING or JSON, the actual annotation protobuf will be converted to json string with bytes field as 64 encoded string. It can be written to both String or Json type column. To forward annotation data to an existing BigQuery table, customer needs to make sure the compatibility of the schema. The map maps application node name to its corresponding cloud function endpoint to transform the annotations directly to the google.cloud.bigquery.storage.v1.AppendRowsRequest (only avro_rows or proto_rows should be set). If configured, annotations produced by corresponding application node will sent to the Cloud Function at first before be forwarded to BigQuery. If the default table schema doesn't fit, customer is able to transform the annotation output from Vision AI Application to arbitrary BigQuery table schema with CloudFunction. * The cloud function will receive AppPlatformCloudFunctionRequest where the annotations field will be the json format of Vision AI annotation. * The cloud function should return AppPlatformCloudFunctionResponse with AppendRowsRequest stored in the annotations field. * To drop the annotation, simply clear the annotations field in the returned AppPlatformCloudFunctionResponse. |
create_default_table_if_not_exists |
If true, App Platform will create the BigQuery DataSet and the BigQuery Table with default schema if the specified table doesn't exist. This doesn't work if any cloud function customized schema is specified since the system doesn't know your desired schema. JSON column will be used in the default table created by App Platform. |
BoolValue
Fields | |
---|---|
value |
|
CircleArea
Representation of a circle area.
Fields | |
---|---|
latitude |
Latitude of circle area's center. Degrees [-90 .. 90] |
longitude |
Longitude of circle area's center. Degrees [-180 .. 180] |
radius_meter |
Radius of the circle area in meters. |
ClassificationPredictionResult
Prediction output format for Image and Text Classification.
Fields | |
---|---|
ids[] |
The resource IDs of the AnnotationSpecs that had been identified. |
display_names[] |
The display names of the AnnotationSpecs that had been identified, order matches the IDs. |
confidences[] |
The Model's confidences in correctness of the predicted IDs, higher value means higher confidence. Order matches the Ids. |
ClipAssetRequest
Request message for ClipAsset API.
Fields | |
---|---|
name |
Required. The resource name of the asset to request clips for. Format: |
temporal_partition |
Required. The time range to request clips for. |
ClipAssetResponse
Response message for ClipAsset API.
Fields | |
---|---|
time_indexed_uris[] |
A list of signed uris to download the video clips that cover the requested time range ordered by time. |
TimeIndexedUri
Signed uri with corresponding time range.
Fields | |
---|---|
temporal_partition |
Time range of the video that the uri is for. |
uri |
Signed uri to download the video clip. |
Collection
A collection is a resource in a corpus. It serves as a container of references to original resources.
Fields | |
---|---|
name |
Output only. Resource name of the collection. Format: |
display_name |
Optional. The collection name for displaying. The name can be up to 256 characters long. |
description |
Optional. Description of the collection. Can be up to 25000 characters long. |
CollectionItem
A CollectionItem is an item in a collection. Each item is a reference to the original resource in a collection.
Fields | |
---|---|
collection |
Required. The collection name that this item belongs to. Format: |
type |
Required. The type of item. |
item_resource |
Required. The name of the CollectionItem. Its format depends on the |
Type
CollectionItem types.
Enums | |
---|---|
TYPE_UNSPECIFIED |
The default type of item should never happen. |
ASSET |
Asset type item. |
Corpus
Corpus is a set of media contents for management. Within a corpus, media shares the same data schema. Search is also restricted within a single corpus.
Fields | |
---|---|
name |
Resource name of the corpus. Format: |
display_name |
Required. The corpus name to shown in the UI. The name can be up to 32 characters long. |
description |
Optional. Description of the corpus. Can be up to 25000 characters long. |
default_ttl |
Optional. The default TTL value for all assets under the corpus without a asset level user-defined TTL. For STREAM_VIDEO type corpora, this is required and the maximum allowed default_ttl is 10 years. |
type |
Optional. Type of the asset inside corpus. |
search_capability_setting |
Default search capability setting on corpus level. |
Type
Type of the asset inside the corpus.
Enums | |
---|---|
TYPE_UNSPECIFIED |
The default type, not supposed to be used. If this default type is used, the corpus will be created as STREAM_VIDEO corpus. |
STREAM_VIDEO |
Asset is a live streaming video asset. |
IMAGE |
Asset is an image. |
VIDEO_ON_DEMAND |
Asset is a video asset. |
CreateAnalysisRequest
Message for creating an Analysis.
Fields | |
---|---|
parent |
Required. Value for parent. |
analysis_id |
Required. Id of the requesting object. |
analysis |
Required. The resource being created. |
request_id |
Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). |
CreateAnnotationRequest
Request message for CreateAnnotation.
Fields | |
---|---|
parent |
Required. The parent resource where this annotation will be created. Format: |
annotation |
Required. The annotation to create. |
annotation_id |
Optional. The ID to use for the annotation, which will become the final component of the annotation's resource name if user choose to specify. Otherwise, annotation id will be generated by system. This value should be up to 63 characters, and valid characters are /[a-z][0-9]-/. The first character must be a letter, the last could be a letter or a number. |
CreateApplicationInstancesRequest
Message for adding stream input to an Application.
Fields | |
---|---|
name |
Required. the name of the application to retrieve. Format: "projects/{project}/locations/{location}/applications/{application}" |
application_instances[] |
Required. The resources being created. |
request_id |
Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). |
CreateApplicationInstancesResponse
Message for CreateApplicationInstance Response.
CreateApplicationRequest
Message for creating a Application.
Fields | |
---|---|
parent |
Required. Value for parent. |
application_id |
Required. Id of the requesting object. |
application |
Required. The resource being created. |
request_id |
Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). |
CreateAssetRequest
Request message for CreateAssetRequest.
Fields | |
---|---|
parent |
Required. The parent resource where this asset will be created. Format: |
asset |
Required. The asset to create. |
asset_id |
Optional. The ID to use for the asset, which will become the final component of the asset's resource name if user choose to specify. Otherwise, asset id will be generated by system. This value should be up to 63 characters, and valid characters are /[a-z][0-9]-/. The first character must be a letter, the last could be a letter or a number. |
CreateCollectionMetadata
Metadata message for CreateCollectionRequest
Fields | |
---|---|
operation_metadata |
Common metadata of the long-running operation. |
CreateCollectionRequest
Request message for CreateCollection.
Fields | |
---|---|
parent |
Required. The parent resource where this collection will be created. Format: |
collection |
Required. The collection resource to be created. |
collection_id |
Optional. The ID to use for the collection, which will become the final component of the resource name if user choose to specify. Otherwise, collection id will be generated by system. This value should be up to 55 characters, and valid characters are /[a-z][0-9]-/. The first character must be a letter, the last could be a letter or a number. |
CreateCorpusMetadata
Metadata for CreateCorpus API.
Fields | |
---|---|
create_time |
The create time of the create corpus operation. |
update_time |
The update time of the create corpus operation. |
CreateCorpusRequest
Request message of CreateCorpus API.
Fields | |
---|---|
parent |
Required. Form: |
corpus |
Required. The corpus to be created. |
CreateDataSchemaRequest
Request message for CreateDataSchema.
Fields | |
---|---|
parent |
Required. The parent resource where this data schema will be created. Format: |
data_schema |
Required. The data schema to create. |
CreateDraftRequest
Message for creating a Draft.
Fields | |
---|---|
parent |
Required. Value for parent. |
draft_id |
Required. Id of the requesting object. |
draft |
Required. The resource being created. |
request_id |
Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). |
CreateIndexEndpointMetadata
Metadata message for CreateIndexEndpoint.
Fields | |
---|---|
operation_metadata |
Common metadata of the long-running operation. |
CreateIndexEndpointRequest
Request message for CreateIndexEndpoint.
Fields | |
---|---|
parent |
Required. Format: |
index_endpoint_id |
Optional. The ID to use for the IndexEndpoint, which will become the final component of the IndexEndpoint's resource name if the user specifies it. Otherwise, IndexEndpoint id will be autogenerated. This value should be up to 63 characters, and valid characters are a-z, 0-9 and dash (-). The first character must be a letter, the last must be a letter or a number. |
index_endpoint |
Required. The resource being created. |
CreateIndexMetadata
Metadata message for CreateIndexRequest
Fields | |
---|---|
operation_metadata |
Common metadata of the long-running operation. |
CreateIndexRequest
Message for creating an Index.
Fields | |
---|---|
parent |
Required. Value for the parent. The resource name of the Corpus under which this index is created. Format: |
index_id |
Optional. The ID for the index. This will become the final resource name for the index. If the user does not specify this value, it will be generated by system. This value should be up to 63 characters, and valid characters are /[a-z][0-9]-/. The first character must be a letter, the last could be a letter or a number. |
index |
Required. The index being created. |
CreateProcessRequest
Message for creating a Process.
Fields | |
---|---|
parent |
Required. Value for parent. |
process_id |
Required. Id of the requesting object. |
process |
Required. The resource being created. |
request_id |
Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). |
CreateProcessorRequest
Message for creating a Processor.
Fields | |
---|---|
parent |
Required. Value for parent. |
processor_id |
Required. Id of the requesting object. |
processor |
Required. The resource being created. |
request_id |
Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). |
CreateSearchConfigRequest
Request message for CreateSearchConfig.
Fields | |
---|---|
parent |
Required. The parent resource where this search configuration will be created. Format: |
search_config |
Required. The search config to create. |
search_config_id |
Required. ID to use for the new search config. Will become the final component of the SearchConfig's resource name. This value should be up to 63 characters, and valid characters are /[a-z][0-9]-_/. The first character must be a letter, the last could be a letter or a number. |
CreateSearchHypernymRequest
Request message for creating SearchHypernym.
Fields | |
---|---|
parent |
Required. The parent resource where this SearchHypernym will be created. Format: |
search_hypernym |
Required. The SearchHypernym to create. |
search_hypernym_id |
Optional. The search hypernym id. If omitted, a random UUID will be generated. |
Criteria
Filter criteria applied to current search results.
Fields | |
---|---|
field |
The UGA field or ML field to apply filtering criteria. |
fetch_matched_annotations |
If true, return query matched annotations for this criteria. This option is only applicable for inclusion criteria, i.e., not exclusion criteria, with partition level annotations. It supports the following data types: - INTEGER - FLOAT - STRING (DataSchema.SearchStrategy.EXACT_SEARCH only) - BOOLEAN |
Union field
|
|
text_array |
The text values associated with the field. |
int_range_array |
The integer ranges associated with the field. |
float_range_array |
The float ranges associated with the field. |
date_time_range_array |
The datetime ranges associated with the field. |
geo_location_array |
Geo Location array. |
bool_value |
A Boolean value. |
CustomProcessorSourceInfo
Describes the source info for a custom processor.
Fields | |
---|---|
source_type |
The original product which holds the custom processor's functionality. |
additional_info |
Output only. Additional info related to the imported custom processor. Data is filled in by app platform during the processor creation. |
model_schema |
Model schema files which specifies the signature of the model. For VERTEX_CUSTOM models, instances schema is required. If instances schema is not specified during the processor creation, VisionAI Platform will try to get it from Vertex, if it doesn't exist, the creation will fail. |
Union field artifact_path . The path where App Platform loads the artifacts for the custom processor. artifact_path can be only one of the following: |
|
vertex_model |
The resource name original model hosted in the vertex AI platform. |
ModelSchema
The schema is defined as an OpenAPI 3.0.2 Schema Object.
Fields | |
---|---|
instances_schema |
Cloud Storage location to a YAML file that defines the format of a single instance used in prediction and explanation requests. |
parameters_schema |
Cloud Storage location to a YAML file that defines the prediction and explanation parameters. |
predictions_schema |
Cloud Storage location to a YAML file that defines the format of a single prediction or explanation. |
SourceType
Source type of the imported custom processor.
Enums | |
---|---|
SOURCE_TYPE_UNSPECIFIED |
Source type unspecified. |
VERTEX_AUTOML |
Custom processors coming from Vertex AutoML product. |
VERTEX_CUSTOM |
Custom processors coming from general custom models from Vertex. |
DataSchema
Data schema indicates how the user specified annotation is interpreted in the system.
Fields | |
---|---|
name |
Resource name of the data schema in the form of: |
key |
Required. The key of this data schema. This key should be matching the key of user specified annotation and unique inside corpus. This value can be up to 63 characters, and valid characters are /[a-z][0-9]-/. The first character must be a letter, the last could be a letter or a number. |
schema_details |
The schema details mapping to the key. |
DataSchemaDetails
Data schema details indicates the data type and the data struct corresponding to the key of user specified annotation.
Fields | |
---|---|
type |
Type of the annotation. |
proto_any_config |
Config for protobuf any type. |
list_config |
Config for List data type. |
customized_struct_config |
Config for CustomizedStruct data type. |
granularity |
The granularity associated with this DataSchema. |
search_strategy |
The search strategy to be applied on the |
CustomizedStructConfig
The configuration for CUSTOMIZED_STRUCT
data type.
Fields | |
---|---|
field_schemas |
Direct child elements data schemas. |
DataType
Data type of the annotation.
Enums | |
---|---|
DATA_TYPE_UNSPECIFIED |
Unspecified type. |
INTEGER |
Integer type. Allowed search strategies: - DataSchema.SearchStrategy.NO_SEARCH, - DataSchema.SearchStrategy.EXACT_SEARCH. Supports query by IntRangeArray. |
FLOAT |
Float type. Allowed search strategies: - DataSchema.SearchStrategy.NO_SEARCH, - DataSchema.SearchStrategy.EXACT_SEARCH. Supports query by FloatRangeArray. |
STRING |
String type. Allowed search strategies: - DataSchema.SearchStrategy.NO_SEARCH, - DataSchema.SearchStrategy.EXACT_SEARCH, - DataSchema.SearchStrategy.SMART_SEARCH. |
DATETIME |
Supported formats: %Y-%m-%dT%H:%M:%E*S%E*z (absl::RFC3339_full) %Y-%m-%dT%H:%M:%E*S %Y-%m-%dT%H:%M%E*z %Y-%m-%dT%H:%M %Y-%m-%dT%H%E*z %Y-%m-%dT%H %Y-%m-%d%E*z %Y-%m-%d %Y-%m %Y Allowed search strategies: - DataSchema.SearchStrategy.NO_SEARCH, - DataSchema.SearchStrategy.EXACT_SEARCH. Supports query by DateTimeRangeArray. |
GEO_COORDINATE |
Geo coordinate type. Allowed search strategies: - DataSchema.SearchStrategy.NO_SEARCH, - DataSchema.SearchStrategy.EXACT_SEARCH. Supports query by GeoLocationArray. |
PROTO_ANY |
Type to pass any proto as available in annotations.proto. Only use internally. Available proto types and its corresponding search behavior: - ImageObjectDetectionPredictionResult, allows SMART_SEARCH on display_names and NO_SEARCH. - ClassificationPredictionResult, allows SMART_SEARCH on display_names and NO_SEARCH. - ImageSegmentationPredictionResult, allows NO_SEARCH. - VideoActionRecognitionPredictionResult, allows SMART_SEARCH on display_name and NO_SEARCH. - VideoObjectTrackingPredictionResult, allows SMART_SEARCH on display_name and NO_SEARCH. - VideoClassificationPredictionResult, allows SMART_SEARCH on display_name and NO_SEARCH. - OccupancyCountingPredictionResult, allows EXACT_SEARCH on stats.full_frame_count.count and NO_SEARCH. - ObjectDetectionPredictionResult, allows SMART_SEARCH on identified_boxes.entity.label_string and NO_SEARCH. |
BOOLEAN |
Boolean type. Allowed search strategies: - DataSchema.SearchStrategy.NO_SEARCH, - DataSchema.SearchStrategy.EXACT_SEARCH. |
LIST |
List type. - Each element in the list must be of the exact same data schema; otherwise, they are invalid arguments. - List level cannot set search strategy. Leaf node level can do. - Elements cannot be another list (no list of list). - Elements can be CUSTOMIZED_STRUCT, and max number of layers is 10. |
CUSTOMIZED_STRUCT |
Struct type. - SearchStrategy: * Data Schema that's CUSTOMIZED_STRUCT cannot set search strategy. * Leaf-node elements allow setting search strategy based on element's SearchStrategy restriction. - Nested layer restrictions: * Data Schema that's CUSTOMIZED_STRUCT allows its fields to be of CUSTOMIZED_STRUCT as well, but the overall layers restriction is 10. |
Granularity
The granularity of annotations under this DataSchema.
Enums | |
---|---|
GRANULARITY_UNSPECIFIED |
Unspecified granularity. |
GRANULARITY_ASSET_LEVEL |
Asset-level granularity (annotations must not contain partition info). |
GRANULARITY_PARTITION_LEVEL |
Partition-level granularity (annotations must contain partition info). |
ListConfig
The configuration for LIST
data type.
Fields | |
---|---|
value_schema |
The value's data schema in the list. |
ProtoAnyConfig
The configuration for PROTO_ANY
data type.
Fields | |
---|---|
type_uri |
The type URI of the proto message. |
SearchStrategy
The search strategy for annotations value of the key
.
Fields | |
---|---|
search_strategy_type |
The type of search strategy to be applied on the |
SearchStrategyType
The types of search strategies to be applied on the annotation key.
Enums | |
---|---|
NO_SEARCH |
Annotatation values of the key above will not be searchable. |
EXACT_SEARCH |
When searching with key , the value must be exactly as the annotation value that has been ingested. |
SMART_SEARCH |
When searching with key , Warehouse will perform broad search based on semantic of the annotation value. |
DataType
All supported data types.
Enums | |
---|---|
DATA_TYPE_UNSPECIFIED |
The default value of DataType. |
VIDEO |
Video data type like H264. |
IMAGE |
Image data type. |
PROTO |
Protobuf data type, usually used for general data blob. |
DateTimeRange
Datetime range type.
Fields | |
---|---|
start |
Start date time. |
end |
End data time. |
DateTimeRangeArray
A list of datetime range values.
Fields | |
---|---|
date_time_ranges[] |
Date time ranges. |
DedicatedResources
A description of resources that are dedicated to a DeployedModel, and that need a higher degree of manual configuration.
Fields | |
---|---|
machine_spec |
Required. Immutable. The specification of a single machine used by the prediction. |
min_replica_count |
Required. Immutable. The minimum number of machine replicas this DeployedModel will be always deployed on. This value must be greater than or equal to 1. If traffic against the DeployedModel increases, it may dynamically be deployed onto more replicas, and as traffic decreases, some of these extra replicas may be freed. |
max_replica_count |
Immutable. The maximum number of replicas this DeployedModel may be deployed on when the traffic against it increases. If the requested value is too large, the deployment will error, but if deployment succeeds then the ability to scale the model to that many replicas is guaranteed (barring service outages). If traffic against the DeployedModel increases beyond what its replicas at maximum may handle, a portion of the traffic will be dropped. If this value is not provided, will use The value of this field impacts the charge against Vertex CPU and GPU quotas. Specifically, you will be charged for max_replica_count * number of cores in the selected machine type) and (max_replica_count * number of GPUs per replica in the selected machine type). |
autoscaling_metric_specs[] |
Immutable. The metric specifications that overrides a resource utilization metric (CPU utilization, accelerator's duty cycle, and so on) target value (default to 60 if not set). At most one entry is allowed per metric. If If For example, in the case of Online Prediction, if you want to override target CPU utilization to 80, you should set |
DeleteAnalysisRequest
Message for deleting an Analysis.
Fields | |
---|---|
name |
Required. Name of the resource. |
request_id |
Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). |
DeleteAnnotationRequest
Request message for DeleteAnnotation API.
Fields | |
---|---|
name |
Required. The name of the annotation to delete. Format: |
DeleteApplicationInstancesRequest
Message for removing stream input from an Application.
Fields | |
---|---|
name |
Required. the name of the application to retrieve. Format: "projects/{project}/locations/{location}/applications/{application}" |
instance_ids[] |
Required. Id of the requesting object. |
request_id |
Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). |
DeleteApplicationInstancesResponse
This type has no fields.
Message for DeleteApplicationInstance Response.
DeleteApplicationRequest
Message for deleting an Application.
Fields | |
---|---|
name |
Required. Name of the resource. |
request_id |
Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). |
force |
Optional. If set to true, any instances and drafts from this application will also be deleted. (Otherwise, the request will only work if the application has no instances and drafts.) |
DeleteAssetMetadata
This type has no fields.
The metadata for DeleteAsset API that embeds in metadata
field.
DeleteAssetRequest
Request message for DeleteAsset.
Fields | |
---|---|
name |
Required. The name of the asset to delete. Format: |
DeleteCollectionMetadata
Metadata message for DeleteCollectionRequest
Fields | |
---|---|
operation_metadata |
Common metadata of the long-running operation. |
DeleteCollectionRequest
Request message for DeleteCollectionRequest.
Fields | |
---|---|
name |
Required. The name of the collection to delete. Format: |
DeleteCorpusRequest
Request message for DeleteCorpus.
Fields | |
---|---|
name |
Required. The resource name of the corpus to delete. |
DeleteDataSchemaRequest
Request message for DeleteDataSchema.
Fields | |
---|---|
name |
Required. The name of the data schema to delete. Format: |
DeleteDraftRequest
Message for deleting a Draft.
Fields | |
---|---|
name |
Required. Name of the resource. |
request_id |
Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). |
DeleteIndexEndpointMetadata
Metadata message for DeleteIndexEndpoint.
Fields | |
---|---|
operation_metadata |
Common metadata of the long-running operation. |
DeleteIndexEndpointRequest
Request message for DeleteIndexEndpoint.
Fields | |
---|---|
name |
Required. Name of the resource. |
DeleteIndexMetadata
This type has no fields.
Metadata message for DeleteIndexRequest
DeleteIndexRequest
Request message for DeleteIndex.
Fields | |
---|---|
name |
Required. The name of the index to delete. Format: |
DeleteProcessRequest
Message for deleting a Process.
Fields | |
---|---|
name |
Required. Name of the resource. |
request_id |
Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). |
DeleteProcessorRequest
Message for deleting a Processor.
Fields | |
---|---|
name |
Required. Name of the resource |
request_id |
Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). |
DeleteSearchConfigRequest
Request message for DeleteSearchConfig.
Fields | |
---|---|
name |
Required. The name of the search configuration to delete. Format: |
DeleteSearchHypernymRequest
Request message for deleting SearchHypernym.
Fields | |
---|---|
name |
Required. The name of the SearchHypernym to delete. Format: |
DeployApplicationRequest
Message for deploying an Application.
Fields | |
---|---|
name |
Required. the name of the application to retrieve. Format: "projects/{project}/locations/{location}/applications/{application}" |
validate_only |
If set, validate the request and preview the application graph, but do not actually deploy it. |
request_id |
Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). |
enable_monitoring |
Optional. Whether or not to enable monitoring for the application on deployment. |
DeployApplicationResponse
RPC Request Messages. Message for DeployApplication Response.
DeployIndexMetadata
Metadata message for DeployIndex.
Fields | |
---|---|
operation_metadata |
Common metadata of the long-running operation. |
deployed_index |
Output only. The index being deployed. |
DeployIndexRequest
Request message for DeployIndex.
Fields | |
---|---|
index_endpoint |
Required. IndexEndpoint the index is deployed to. Format: |
deployed_index |
Required. Index to deploy. |
DeployIndexResponse
This type has no fields.
DeployIndex response once the operation is done.
DeployRetailProductRecognitionIndexResponse
Message for DeployRetailProductRecognitionIndex response.
DeployedIndex
A deployment of an Index.
Fields | |
---|---|
index |
Required. Name of the deployed Index. Format: |
DeployedIndexReference
Points to a DeployedIndex.
Fields | |
---|---|
index_endpoint |
Immutable. A resource name of the IndexEndpoint. |
Draft
Message describing Draft object
Fields | |
---|---|
name |
name of resource |
create_time |
Output only. [Output only] Create timestamp |
update_time |
Output only. [Output only] Create timestamp |
labels |
Labels as key value pairs |
display_name |
Required. A user friendly display name for the solution. |
description |
A description for this application. |
draft_application_configs |
The draft application configs which haven't been updated to an application. |
EventUpdateFilter
EventUpdateFilter is the filter that the watchers can speficy on which event updates that they want to receive.
Fields | |
---|---|
Union field
|
|
special_mode |
Special modes other than a specific timestamp. |
specific_time |
Specific timestamp after which the event updates happens. |
SpecialMode
Special modes other than a specific timestamp.
Enums | |
---|---|
SPECIAL_MODE_UNSPECIFIED |
Special mode unspecified. |
BEGINNING |
BEGINNING special mode means all currently available events and incoming event updates. |
LATEST |
LATEST special mode means only the latest events and incoming event updates. |
EventUpdateType
The type of the event updates. Can be extended in the future for other use cases. e.g. EVENT_DETACHED_FROM_STREAM, and more.
Enums | |
---|---|
EVENT_UPDATE_TYPE_UNSPECIFIED |
Event update type unspecified. |
EVENT_AVAILABLE_ON_STREAM |
Event is available to read from on a stream. |
EVENT_HEARTBEAT |
Heartbeat message that is used to track liveliness of the gRPC connection. |
ExportRetailProductRecognitionIndexCoverageResponse
Message for response to exporting RetailProductRecognitionIndex coverage file.
FacetBucket
Holds the facet value, selections state, and metadata.
Fields | |
---|---|
selected |
Whether one facet bucket is selected. This field represents user's facet selection. It is set by frontend in SearchVideosRequest. |
Union field bucket_value . Bucket associated with a facet. For example, bucket of facet "team" can be "49ers", "patriots", etc; bucket of facet "player" can be "tom brady", "drew brees", etc. bucket_value can be only one of the following: |
|
value |
Singular value. |
range |
Range value. |
Range
The range of values [start, end) for which faceting is applied.
Fields | |
---|---|
start |
Start of the range. Non-existence indicates some bound (e.g. -inf). |
end |
End of the range. Non-existence indicates some bound (e.g. inf). |
FacetBucketType
Different types for a facet bucket.
Enums | |
---|---|
FACET_BUCKET_TYPE_UNSPECIFIED |
Unspecified type. |
FACET_BUCKET_TYPE_VALUE |
Value type. |
FACET_BUCKET_TYPE_DATETIME |
Datetime type. |
FACET_BUCKET_TYPE_FIXED_RANGE |
Fixed Range type. |
FACET_BUCKET_TYPE_CUSTOM_RANGE |
Custom Range type. |
FacetGroup
A group of facet buckets to be passed back and forth between backend & frontend.
Fields | |
---|---|
facet_id |
Unique id of the facet group. |
display_name |
Display name of the facet. To be used by UI for facet rendering. |
buckets[] |
Buckets associated with the facet. E.g. for "Team" facet, the bucket can be 49ers, patriots, etc. |
bucket_type |
Facet bucket type. |
fetch_matched_annotations |
If true, return query matched annotations for this facet group's selection. This option is only applicable for facets based on partition level annotations. It supports the following facet values: - INTEGER - STRING (DataSchema.SearchStrategy.EXACT_SEARCH only) |
FacetProperty
Central configuration for a facet.
Fields | |
---|---|
mapped_fields[] |
Name of the facets, which are the dimensions users want to use to refine search results. For example, user can add a bunch of UGAs with the same key, such as player:adam, player:bob, player:charles. When multiple mapped_fields are specified, will merge their value together as final facet value. E.g. home_team: a, home_team:b, away_team:a, away_team:c, when facet_field = [home_team, away_team], facet_value will be [a, b, c]. UNLESS this is a 1:1 facet dimension (mapped_fields.size() == 1) AND the mapped_field equals the parent SearchConfig.name, the parent must also contain a SearchCriteriaProperty that maps to the same fields. mapped_fields must not be empty. |
display_name |
Display name of the facet. To be used by UI for facet rendering. |
result_size |
Maximum number of unique bucket to return for one facet. Bucket number can be large for high-cardinality facet such as "player". We only return top-n most related ones to user. If it's <= 0, the server will decide the appropriate result_size. |
bucket_type |
Facet bucket type e.g. value, range. |
Union field
|
|
fixed_range_bucket_spec |
Fixed range facet bucket config. |
custom_range_bucket_spec |
Custom range facet bucket config. |
datetime_bucket_spec |
Datetime range facet bucket config. |
CustomRangeBucketSpec
If bucket type is CUSTOM_RANGE, specify how values are bucketized. Use integer bucket value as an example, when the endpoints are 0, 10, 100, and 1000, we will generate the following facets: [-inf, 0), [0, 10), [10, 100), [100, 1000), [1000, inf). Notably: - endpoints must be listed in ascending order. Otherwise, the SearchConfig API will reject the facet config. - < 1 endpoints is an invalid spec.
Fields | |
---|---|
endpoints[] |
Currently, only integer type is supported for this field. |
DateTimeBucketSpec
If bucket type is DATE, specify how date values are bucketized.
Fields | |
---|---|
granularity |
Granularity of date type facet. |
Granularity
Granularity enum for the datetime bucket.
Enums | |
---|---|
GRANULARITY_UNSPECIFIED |
Unspecified granularity. |
YEAR |
Granularity is year. |
MONTH |
Granularity is month. |
DAY |
Granularity is day. |
FixedRangeBucketSpec
If bucket type is FIXED_RANGE, specify how values are bucketized. Use FixedRangeBucketSpec when you want to create multiple buckets with equal granularities. Using integer bucket value as an example, when bucket_start = 0, bucket_granularity = 10, bucket_count = 5, this facet will be aggregated via the following buckets: [-inf, 0), [0, 10), [10, 20), [20, 30), [30, inf). Notably, bucket_count <= 1 is an invalid spec.
Fields | |
---|---|
bucket_start |
Lower bound of the bucket. NOTE: Only integer type is currently supported for this field. |
bucket_granularity |
Bucket granularity. NOTE: Only integer type is currently supported for this field. |
bucket_count |
Total number of buckets. |
FacetValue
Definition of a single value with generic type.
Fields | |
---|---|
Union field
|
|
string_value |
String type value. |
integer_value |
Integer type value. |
datetime_value |
Datetime type value. |
FloatRange
Float range type.
Fields | |
---|---|
start |
Start of the float range. |
end |
End of the float range. |
FloatRangeArray
A list of float range values.
Fields | |
---|---|
float_ranges[] |
Float range values. |
GcsSource
The Google Cloud Storage location for the input content.
Fields | |
---|---|
uris[] |
Required. References to a Google Cloud Storage paths. |
GeneralObjectDetectionConfig
Message of configurations for General Object Detection processor.
GenerateHlsUriRequest
Request message for GenerateHlsUri API.
Fields | |
---|---|
name |
Required. The resource name of the asset to request clips for. Format: |
temporal_partitions[] |
The time range to request clips for. Will be ignored if |
live_view_enabled |
Option to exclusively show a livestream of the asset with up to 3 minutes of backlog data. |
GenerateHlsUriResponse
Response message for GenerateHlsUri API.
Fields | |
---|---|
uri |
A signed uri to download the HLS manifest corresponding to the requested times. |
temporal_partitions[] |
A list of temporal partitions of the content returned in the order they appear in the stream. |
UploadAssetRequest
Request message for UploadAsset.
Fields | |
---|---|
name |
Required. The resource name of the asset to upload. Format: |
asset_source |
The source of the asset. |
GenerateRetrievalUrlResponse
Response message for GenerateRetrievalUrl API.
Fields | |
---|---|
signed_uri |
A signed url to download the content of the asset. |
GeoCoordinate
Location Coordinate Representation
Fields | |
---|---|
latitude |
Latitude Coordinate. Degrees [-90 .. 90] |
longitude |
Longitude Coordinate. Degrees [-180 .. 180] |
GeoLocationArray
A list of locations.
Fields | |
---|---|
circle_areas[] |
A list of circle areas. |
GetAnalysisRequest
Message for getting an Analysis.
Fields | |
---|---|
name |
Required. Name of the resource. |
GetAnnotationRequest
Request message for GetAnnotation API.
Fields | |
---|---|
name |
Required. The name of the annotation to retrieve. Format: |
GetApplicationRequest
Message for getting a Application.
Fields | |
---|---|
name |
Required. Name of the resource. |
GetAssetRequest
Request message for GetAsset.
Fields | |
---|---|
name |
Required. The name of the asset to retrieve. Format: projects/{project_number}/locations/{location}/corpora/{corpus}/assets/{asset} |
GetCollectionRequest
Request message for GetCollectionRequest.
Fields | |
---|---|
name |
Required. The name of the collection to retrieve. Format: |
GetCorpusRequest
Request message for GetCorpus.
Fields | |
---|---|
name |
Required. The resource name of the corpus to retrieve. |
GetDataSchemaRequest
Request message for GetDataSchema.
Fields | |
---|---|
name |
Required. The name of the data schema to retrieve. Format: |
GetDraftRequest
Message for getting a Draft.
Fields | |
---|---|
name |
Required. Name of the resource. |
GetIndexEndpointRequest
Request message for GetIndexEndpoint.
Fields | |
---|---|
name |
Required. Name of the IndexEndpoint resource. |
GetIndexRequest
Request message for getting an Index.
Fields | |
---|---|
name |
Required. Name of the Index resource. Format: |
GetInstanceRequest
Message for getting a Instance.
Fields | |
---|---|
name |
Required. Name of the resource. |
GetProcessRequest
Message for getting a Process.
Fields | |
---|---|
name |
Required. Name of the resource. |
GetProcessorRequest
Message for getting a Processor.
Fields | |
---|---|
name |
Required. Name of the resource. |
GetSearchConfigRequest
Request message for GetSearchConfig.
Fields | |
---|---|
name |
Required. The name of the search configuration to retrieve. Format: |
GetSearchHypernymRequest
Request message for getting SearchHypernym.
Fields | |
---|---|
name |
Required. The name of the SearchHypernym to retrieve. Format: |
GetStreamThumbnailResponse
Message for the response of GetStreamThumbnail. The empty response message indicates the thumbnail image has been uploaded to Google Cloud Storage successfully.
ImageObjectDetectionPredictionResult
Prediction output format for Image Object Detection.
Fields | |
---|---|
ids[] |
The resource IDs of the AnnotationSpecs that had been identified, ordered by the confidence score descendingly. It is the id segment instead of full resource name. |
display_names[] |
The display names of the AnnotationSpecs that had been identified, order matches the IDs. |
confidences[] |
The Model's confidences in correctness of the predicted IDs, higher value means higher confidence. Order matches the Ids. |
bboxes[] |
Bounding boxes, i.e. the rectangles over the image, that pinpoint the found AnnotationSpecs. Given in order that matches the IDs. Each bounding box is an array of 4 numbers |
ImageQuery
Image query for search endpoint request.
Fields | |
---|---|
Union field
|
|
input_image |
Input image in raw bytes. |
asset |
Resource name of the asset. Only supported in IMAGE corpus type. Format: |
ImageSegmentationPredictionResult
Prediction output format for Image Segmentation.
Fields | |
---|---|
category_mask |
A PNG image where each pixel in the mask represents the category in which the pixel in the original image was predicted to belong to. The size of this image will be the same as the original image. The mapping between the AnntoationSpec and the color can be found in model's metadata. The model will choose the most likely category and if none of the categories reach the confidence threshold, the pixel will be marked as background. |
confidence_mask |
A one channel image which is encoded as an 8bit lossless PNG. The size of the image will be the same as the original image. For a specific pixel, darker color means less confidence in correctness of the cateogry in the categoryMask for the corresponding pixel. Black means no confidence and white means complete confidence. |
ImportAssetsMetadata
The metadata message for ImportAssets LRO.
Fields | |
---|---|
metadata |
The metadata of the operation. |
ImportAssetsRequest
The request message for ImportAssets.
Fields | |
---|---|
parent |
Required. The parent corpus resource where the assets will be imported. Format: |
Union field source . The source. source can be only one of the following: |
|
assets_gcs_uri |
The file contains all assets information to be imported. * The file is in JSONL format. * Each line corresponding to one asset. * Each line will be converted into InputImageAsset proto. |
ImportAssetsResponse
This type has no fields.
The response message for ImportAssets LRO.
ImportRetailProductsResponse
ImportProducts response once the operation is done.
Index
An Index is a resource in Corpus. It contains an indexed version of the assets and annotations. When deployed to an endpoint, it will allow users to search the Index.
Fields | |
---|---|
name |
Output only. Resource name of the Index resource. Format: |
display_name |
Optional. Optional user-specified display name of the index. |
description |
Optional. Optional description of the index. |
state |
Output only. State of the index. |
create_time |
Output only. The create timestamp. |
update_time |
Output only. The update timestamp. |
deployed_indexes[] |
Output only. References to the deployed index instance. Index of VIDEO_ON_DEMAND corpus can have at most one deployed index. Index of IMAGE corpus can have multiple deployed indexes. |
Union field asset_filter . Specifies how assets are selected for this index. Default to entire_corpus if unspecified. Behavior in UpdateIndex: if update_mask includes one of the asset_filter field paths, the index will be rebuilt with latest assets, including their analyzed data and annotations. asset_filter can be only one of the following: |
|
entire_corpus |
Include all assets under the corpus. |
State
Enum representing the different states through which an Index might cycle during its lifetime.
Enums | |
---|---|
STATE_UNSPECIFIED |
The default value. Should not be used. |
CREATING |
State CREATING. |
CREATED |
State CREATED. |
UPDATING |
State UPDATING. |
IndexAssetMetadata
Metadata for IndexAsset.
Fields | |
---|---|
indexing_status |
The status of indexing this asset. |
status |
The status of indexing this asset. |
start_time |
The start time of the operation. |
update_time |
The update time of the operation. |
IndexingStatus
The status of indexing for the asset.
Fields | |
---|---|
state |
State of this asset's indexing. |
status_message |
Detailed message describing the state. |
State
State enum for this asset's indexing.
Enums | |
---|---|
STATE_UNSPECIFIED |
The default process state should never happen. |
IN_PROGRESS |
The indexing is in progress. |
SUCCEEDED |
The process is successfully done. |
FAILED |
The process failed. |
IndexAssetRequest
Request message for IndexAsset.
Fields | |
---|---|
name |
Required. The resource name of the asset to index. Format: |
index |
Optional. The name of the index. Format: |
IndexAssetResponse
This type has no fields.
Response message for IndexAsset.
IndexEndpoint
Message representing IndexEndpoint resource. ImageIndexes are deployed into it.
Fields | |
---|---|
name |
Output only. Resource name of the IndexEndpoint. Format: |
display_name |
Optional. Display name of the IndexEndpoint. Can be up to 32 characters long. |
description |
Optional. Description of the IndexEndpoint. Can be up to 25000 characters long. |
deployed_index |
Output only. The Index deployed in this IndexEndpoint. |
state |
Output only. IndexEndpoint state. |
labels |
Optional. The labels applied to a resource must meet the following requirements:
See Google Cloud Document for more details. |
create_time |
Output only. Create timestamp. |
update_time |
Output only. Update timestamp. |
State
IndexEndpoint stage.
Enums | |
---|---|
STATE_UNSPECIFIED |
The default value. Should not be used. |
CREATING |
State CREATING. |
CREATED |
State CREATED. |
UPDATING |
State UPDATING. |
FAILED |
State FAILED. |
IndexedAsset
An IndexedAsset is an asset that the index is built upon.
Fields | |
---|---|
index |
Required. The index that this indexed asset belongs to. Format: |
asset |
Required. The resource name of the asset. Format: |
create_time |
Output only. The create timestamp. |
update_time |
Output only. The update timestamp. |
IndexingStatus
The status of indexing for the asset.
Fields | |
---|---|
state |
Output only. State of this asset's indexing. |
status_message |
Detailed message describing the state. |
State
State enum for this asset's indexing.
Enums | |
---|---|
STATE_UNSPECIFIED |
The default process state should never happen. |
IN_PROGRESS |
The indexing is in progress. |
SUCCEEDED |
The process is successfully done. |
FAILED |
The process failed. |
IngestAssetRequest
Request message for IngestAsset API.
Fields | |
---|---|
Union field
|
|
config |
Provides information for the data and the asset resource name that the data belongs to. The first |
time_indexed_data |
Data to be ingested. |
Config
Configuration for the data.
Fields | |
---|---|
asset |
Required. The resource name of the asset that the ingested data belongs to. |
Union field
|
|
video_type |
Type information for video data. |
VideoType
Type information for video data.
Fields | |
---|---|
container_format |
Container format of the video data. |
ContainerFormat
Container format of the video.
Enums | |
---|---|
CONTAINER_FORMAT_UNSPECIFIED |
The default type, not supposed to be used. |
CONTAINER_FORMAT_MP4 |
Mp4 container format. |
TimeIndexedData
Contains the data and the corresponding time range this data is for.
Fields | |
---|---|
data |
Data to be ingested. |
temporal_partition |
Time range of the data. |
IngestAssetResponse
Response message for IngestAsset API.
Fields | |
---|---|
successfully_ingested_partition |
Time range of the data that has been successfully ingested. |
Instance
Message describing Instance object
Fields | |
---|---|
name |
Output only. name of resource |
create_time |
Output only. [Output only] Create timestamp |
update_time |
Output only. [Output only] Update timestamp |
labels |
Labels as key value pairs |
display_name |
Required. A user friendly display name for the solution. |
description |
A description for this instance. |
input_resources[] |
The input resources for the current application instance. For example: input_resources: visionai.googleapis.com/v1/projects/123/locations/us-central1/clusters/456/streams/stream-a |
output_resources[] |
All the output resources associated to one application instance. |
state |
State of the instance. |
InputResource
Message of input resource used in one application instance.
Fields | |
---|---|
consumer_node |
The name of graph node who receives the input resource. For example: input_resource: visionai.googleapis.com/v1/projects/123/locations/us-central1/clusters/456/streams/input-stream-a consumer_node: stream-input |
input_resource_binding |
The specific input resource binding which will consume the current Input Resource, can be ignored is there is only 1 input binding. |
annotations |
Contains resource annotations. |
Union field input_resource_information . Required. Specify the input to the application instance. input_resource_information can be only one of the following: |
|
input_resource |
The direct input resource name. If the instance type is STREAMING_PREDICTION, the input resource is in format of "projects/123/locations/us-central1/clusters/456/streams/stream-a". If the instance type is BATCH_PREDICTION from Cloud Storage input container, the input resource is in format of "gs://bucket-a". |
annotated_stream |
If the input resource is VisionAI Stream, the associated annotations can be specified using annotated_stream instead. |
OutputResource
Message of output resource used in one application instance.
Fields | |
---|---|
output_resource |
The output resource name for the current application instance. |
producer_node |
The name of graph node who produces the output resource name. For example: output_resource: /projects/123/locations/us-central1/clusters/456/streams/output-application-789-stream-a-occupancy-counting producer_node: occupancy-counting |
output_resource_binding |
The specific output resource binding which produces the current OutputResource. |
is_temporary |
Output only. Whether the output resource is temporary which means the resource is generated during the deployment of the application. Temporary resource will be deleted during the undeployment of the application. |
autogen |
Output only. Whether the output resource is created automatically by the Vision AI App Platform. |
State
State of the Instance
Enums | |
---|---|
STATE_UNSPECIFIED |
The default value. This value is used if the state is omitted. |
CREATING |
State CREATING. |
CREATED |
State CREATED. |
DEPLOYING |
State DEPLOYING. |
DEPLOYED |
State DEPLOYED. |
UNDEPLOYING |
State UNDEPLOYING. |
DELETED |
State DELETED. |
ERROR |
State ERROR. |
UPDATING |
State Updating |
DELETING |
State Deleting. |
FIXING |
State Fixing. |
IntRange
Integer range type.
Fields | |
---|---|
start |
Start of the int range. |
end |
End of the int range. |
IntRangeArray
A list of integer range values.
Fields | |
---|---|
int_ranges[] |
Int range values. |
ListAnalysesRequest
Message for requesting list of Analyses
Fields | |
---|---|
parent |
Required. Parent value for ListAnalysesRequest |
page_size |
Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. |
page_token |
A token identifying a page of results the server should return. |
filter |
Filtering results |
order_by |
Hint for how to order the results |
ListAnalysesResponse
Message for response to listing Analyses
Fields | |
---|---|
analyses[] |
The list of Analysis |
next_page_token |
A token identifying a page of results the server should return. |
unreachable[] |
Locations that could not be reached. |
ListAnnotationsRequest
Request message for GetAnnotation API.
Fields | |
---|---|
parent |
The parent, which owns this collection of annotations. Format: |
page_size |
The maximum number of annotations to return. The service may return fewer than this value. If unspecified, at most 50 annotations will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. |
page_token |
A page token, received from a previous When paginating, all other parameters provided to |
filter |
The filter applied to the returned list. We only support filtering for the following fields: |
ListAnnotationsResponse
Request message for ListAnnotations API.
Fields | |
---|---|
annotations[] |
The annotations from the specified asset. |
next_page_token |
A token, which can be sent as |
ListApplicationsRequest
Message for requesting list of Applications.
Fields | |
---|---|
parent |
Required. Parent value for ListApplicationsRequest. |
page_size |
Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. |
page_token |
A token identifying a page of results the server should return. |
filter |
Filtering results. |
order_by |
Hint for how to order the results. |
ListApplicationsResponse
Message for response to listing Applications.
Fields | |
---|---|
applications[] |
The list of Application. |
next_page_token |
A token identifying a page of results the server should return. |
unreachable[] |
Locations that could not be reached. |
ListAssetsRequest
Request message for ListAssets.
Fields | |
---|---|
parent |
Required. The parent, which owns this collection of assets. Format: |
page_size |
The maximum number of assets to return. The service may return fewer than this value. If unspecified, at most 50 assets will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. |
page_token |
A page token, received from a previous When paginating, all other parameters provided to |
filter |
The filter applied to the returned list. Only the following filterings are supported: "assets_with_contents = true", which returns assets with contents uploaded; "assets_with_contents = false", which returns assets without contents. |
ListAssetsResponse
Response message for ListAssets.
Fields | |
---|---|
assets[] |
The assets from the specified corpus. |
next_page_token |
A token, which can be sent as |
ListCollectionsRequest
Request message for ListCollections.
Fields | |
---|---|
parent |
Required. The parent corpus. Format: |
page_size |
The maximum number of collections to return. The service may return fewer than this value. If unspecified, at most 50 collections will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. |
page_token |
A page token, received from a previous When paginating, all other parameters provided to |
ListCollectionsResponse
Response message for ListCollections.
Fields | |
---|---|
collections[] |
The collections from the specified corpus. |
next_page_token |
A token, which can be sent as |
ListCorporaRequest
Request message for ListCorpora.
Fields | |
---|---|
parent |
Required. The resource name of the project from which to list corpora. |
page_size |
Requested page size. API may return fewer results than requested. If negative, INVALID_ARGUMENT error will be returned. If unspecified or 0, API will pick a default size, which is 10. If the requested page size is larger than the maximum size, API will pick use the maximum size, which is 20. |
page_token |
A token identifying a page of results for the server to return. Typically obtained via |
filter |
The filter applied to the returned corpora list. Only the following restrictions are supported: |
ListCorporaResponse
Response message for ListCorpora.
Fields | |
---|---|
corpora[] |
The corpora in the project. |
next_page_token |
A token to retrieve next page of results. Pass to |
ListDataSchemasRequest
Request message for ListDataSchemas.
Fields | |
---|---|
parent |
Required. The parent, which owns this collection of data schemas. Format: |
page_size |
The maximum number of data schemas to return. The service may return fewer than this value. If unspecified, at most 50 data schemas will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. |
page_token |
A page token, received from a previous When paginating, all other parameters provided to |
ListDataSchemasResponse
Response message for ListDataSchemas.
Fields | |
---|---|
data_schemas[] |
The data schemas from the specified corpus. |
next_page_token |
A token, which can be sent as |
ListDraftsRequest
Message for requesting list of Drafts.
Fields | |
---|---|
parent |
Required. Parent value for ListDraftsRequest. |
page_size |
Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. |
page_token |
A token identifying a page of results the server should return. |
filter |
Filtering results. |
order_by |
Hint for how to order the results. |
ListDraftsResponse
Message for response to listing Drafts.
Fields | |
---|---|
drafts[] |
The list of Draft. |
next_page_token |
A token identifying a page of results the server should return. |
unreachable[] |
Locations that could not be reached. |
ListIndexEndpointsRequest
Request message for ListIndexEndpoints.
Fields | |
---|---|
parent |
Required. Format: |
page_size |
Optional. Requested page size. Server may return fewer items than requested. The service may return fewer than this value. If unspecified, a page size of 50 will be used. The maximum value is 1000; values above 1000 will be coerced to 1000. |
page_token |
Optional. A token identifying a page of results the server should return. |
filter |
Optional. The filter applied to the returned list. We only support filtering for the |
ListIndexEndpointsResponse
Response message for ListIndexEndpoints.
Fields | |
---|---|
index_endpoints[] |
The list of IndexEndpoints. |
next_page_token |
A token identifying a page of results the server should return. |
ListIndexesRequest
Request message for listing Indexes.
Fields | |
---|---|
parent |
Required. The parent corpus that owns this collection of indexes. Format: |
page_size |
The maximum number of indexes to return. The service may return fewer than this value. If unspecified, at most 50 indexes will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. |
page_token |
A page token, received from a previous When paginating, all other parameters provided to |
ListIndexesResponse
Response message for ListIndexes.
Fields | |
---|---|
indexes[] |
The indexes under the specified corpus. |
next_page_token |
A token, which can be sent as |
ListInstancesRequest
Message for requesting list of Instances.
Fields | |
---|---|
parent |
Required. Parent value for ListInstancesRequest. |
page_size |
Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. |
page_token |
A token identifying a page of results the server should return. |
filter |
Filtering results. |
order_by |
Hint for how to order the results. |
ListInstancesResponse
Message for response to listing Instances.
Fields | |
---|---|
instances[] |
The list of Instance. |
next_page_token |
A token identifying a page of results the server should return. |
unreachable[] |
Locations that could not be reached. |
ListPrebuiltProcessorsRequest
Request Message for listing Prebuilt Processors.
Fields | |
---|---|
parent |
Required. Parent path. |
ListPrebuiltProcessorsResponse
Response Message for listing Prebuilt Processors.
Fields | |
---|---|
processors[] |
The list of Processor. |
ListProcessesRequest
Message for requesting list of Processes.
Fields | |
---|---|
parent |
Required. Parent value for ListProcessesRequest. |
page_size |
Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. |
page_token |
A token identifying a page of results the server should return. |
filter |
Filtering results |
order_by |
Hint for how to order the results |
ListProcessesResponse
Message for response to listing Processes.
Fields | |
---|---|
processes[] |
The list of Processes. |
next_page_token |
A token identifying a page of results the server should return. |
unreachable[] |
Locations that could not be reached. |
ListProcessorsRequest
Message for requesting list of Processors.
Fields | |
---|---|
parent |
Required. Parent value for ListProcessorsRequest. |
page_size |
Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. |
page_token |
A token identifying a page of results the server should return. |
filter |
Filtering results. |
order_by |
Hint for how to order the results. |
ListProcessorsResponse
Message for response to listing Processors.
Fields | |
---|---|
processors[] |
The list of Processor. |
next_page_token |
A token identifying a page of results the server should return. |
unreachable[] |
Locations that could not be reached. |
ListSearchConfigsRequest
Request message for ListSearchConfigs.
Fields | |
---|---|
parent |
Required. The parent, which owns this collection of search configurations. Format: |
page_size |
The maximum number of search configurations to return. The service may return fewer than this value. If unspecified, a page size of 50 will be used. The maximum value is 1000; values above 1000 will be coerced to 1000. |
page_token |
A page token, received from a previous When paginating, all other parameters provided to |
ListSearchConfigsResponse
Response message for ListSearchConfigs.
Fields | |
---|---|
search_configs[] |
The search configurations from the specified corpus. |
next_page_token |
A token, which can be sent as |
ListSearchHypernymsRequest
Request message for listing SearchHypernyms.
Fields | |
---|---|
parent |
Required. The parent, which owns this collection of SearchHypernyms. Format: |
page_size |
The maximum number of SearchHypernyms returned. The service may return fewer than this value. If unspecified, a page size of 50 will be used. The maximum value is 1000; values above 1000 will be coerced to 1000. |
page_token |
A page token, received from a previous When paginating, all other parameters provided to |
ListSearchHypernymsResponse
Response message for listing SearchHypernyms.
Fields | |
---|---|
search_hypernyms[] |
The SearchHypernyms from the specified corpus. |
next_page_token |
A token, which can be sent as |
MachineSpec
Specification of a single machine.
Fields | |
---|---|
machine_type |
Immutable. The type of the machine. See the list of machine types supported for prediction See the list of machine types supported for custom training. For [DeployedModel][] this field is optional, and the default value is |
accelerator_type |
Immutable. The type of accelerator(s) that may be attached to the machine as per |
accelerator_count |
The number of accelerators to attach to the machine. |
MediaWarehouseConfig
Message describing MediaWarehouseConfig.
Fields | |
---|---|
corpus |
Resource name of the Media Warehouse corpus. Format: projects/${project_id}/locations/${location_id}/corpora/${corpus_id} |
region |
Deprecated. |
ttl |
The duration for which all media assets, associated metadata, and search documents can exist. |
ModelType
All the supported model types in Vision AI App Platform.
Enums | |
---|---|
MODEL_TYPE_UNSPECIFIED |
Processor Type UNSPECIFIED. |
IMAGE_CLASSIFICATION |
Model Type Image Classification. |
OBJECT_DETECTION |
Model Type Object Detection. |
VIDEO_CLASSIFICATION |
Model Type Video Classification. |
VIDEO_OBJECT_TRACKING |
Model Type Object Tracking. |
VIDEO_ACTION_RECOGNITION |
Model Type Action Recognition. |
OCCUPANCY_COUNTING |
Model Type Occupancy Counting. |
PERSON_BLUR |
Model Type Person Blur. |
VERTEX_CUSTOM |
Model Type Vertex Custom. |
Node
Message describing node object.
Fields | |
---|---|
name |
Required. A unique name for the node. |
display_name |
A user friendly display name for the node. |
node_config |
Node config. |
processor |
Processor name refer to the chosen processor resource. |
parents[] |
Parent node. Input node should not have parent node. For V1 Alpha1/Beta only media warehouse node can have multiple parents, other types of nodes will only have one parent. |
Union field
|
|
output_all_output_channels_to_stream |
By default, the output of the node will only be available to downstream nodes. To consume the direct output from the application node, the output must be sent to Vision AI Streams at first. By setting output_all_output_channels_to_stream to true, App Platform will automatically send all the outputs of the current node to Vision AI Stream resources (one stream per output channel). The output stream resource will be created by App Platform automatically during deployment and deleted after application un-deployment. Note that this config applies to all the Application Instances. The output stream can be override at instance level by configuring the |
InputEdge
Message describing one edge pointing into a node.
Fields | |
---|---|
parent_node |
The name of the parent node. |
parent_output_channel |
The connected output artifact of the parent node. It can be omitted if target processor only has 1 output artifact. |
connected_input_channel |
The connected input channel of the current node's processor. It can be omitted if target processor only has 1 input channel. |
NormalizedPolygon
Normalized Polygon.
Fields | |
---|---|
normalized_vertices[] |
The bounding polygon normalized vertices. Top left corner of the image will be [0, 0]. |
NormalizedPolyline
Normalized Pplyline, which represents a curve consisting of connected straight-line segments.
Fields | |
---|---|
normalized_vertices[] |
A sequence of vertices connected by straight lines. |
NormalizedVertex
A vertex represents a 2D point in the image. NOTE: the normalized vertex coordinates are relative to the original image and range from 0 to 1.
Fields | |
---|---|
x |
X coordinate. |
y |
Y coordinate. |
ObjectDetectionPredictionResult
Prediction output format for Generic Object Detection.
Fields | |
---|---|
current_time |
Current timestamp. |
identified_boxes[] |
A list of identified boxes. |
Entity
The entity info for annotations from object detection prediction result.
Fields | |
---|---|
label_id |
Label id. |
label_string |
Human readable string of the label. |
IdentifiedBox
Identified box contains location and the entity of the object.
Fields | |
---|---|
box_id |
An unique id for this box. |
normalized_bounding_box |
Bounding Box in the normalized coordinates. |
confidence_score |
Confidence score associated with this box. |
entity |
Entity of this box. |
NormalizedBoundingBox
Bounding Box in the normalized coordinates.
Fields | |
---|---|
xmin |
Min in x coordinate. |
ymin |
Min in y coordinate. |
width |
Width of the bounding box. |
height |
Height of the bounding box. |
OccupancyCountConfig
Message describing OccupancyCountConfig.
Fields | |
---|---|
enable_people_counting |
Whether to count the appearances of people, output counts have 'people' as the key. |
enable_vehicle_counting |
Whether to count the appearances of vehicles, output counts will have 'vehicle' as the key. |
enable_dwelling_time_tracking |
Whether to track each invidual object's loitering time inside the scene or specific zone. |
OccupancyCountingPredictionResult
The prediction result proto for occupancy counting.
Fields | |
---|---|
current_time |
Current timestamp. |
identified_boxes[] |
A list of identified boxes. |
stats |
Detection statistics. |
track_info[] |
Track related information. All the tracks that are live at this timestamp. It only exists if tracking is enabled. |
dwell_time_info[] |
Dwell time related information. All the tracks that are live in a given zone with a start and end dwell time timestamp |
pts |
The presentation timestamp of the frame. |
DwellTimeInfo
The dwell time info for annotations from occupancy counting operator.
Fields | |
---|---|
track_id |
An unique id to identify a track. It should be consistent across frames. |
zone_id |
The unique id for the zone in which the object is dwelling/waiting. |
dwell_start_time |
The beginning time when a dwelling object has been identified in a zone. |
dwell_end_time |
The end time when a dwelling object has exited in a zone. |
Entity
The entity info for annotations from occupancy counting operator.
Fields | |
---|---|
label_id |
Label id. |
label_string |
Human readable string of the label. |
IdentifiedBox
Identified box contains location and the entity of the object.
Fields | |
---|---|
box_id |
An unique id for this box. |
normalized_bounding_box |
Bounding Box in the normalized coordinates. |
score |
Confidence score associated with this box. |
entity |
Entity of this box. |
track_id |
An unique id to identify a track. It should be consistent across frames. It only exists if tracking is enabled. |
NormalizedBoundingBox
Bounding Box in the normalized coordinates.
Fields | |
---|---|
xmin |
Min in x coordinate. |
ymin |
Min in y coordinate. |
width |
Width of the bounding box. |
height |
Height of the bounding box. |
Stats
The statistics info for annotations from occupancy counting operator.
Fields | |
---|---|
full_frame_count[] |
Counts of the full frame. |
crossing_line_counts[] |
Crossing line counts. |
active_zone_counts[] |
Active zone counts. |
AccumulatedObjectCount
The object info and accumulated count for annotations from occupancy counting operator.
Fields | |
---|---|
start_time |
The start time of the accumulated count. |
object_count |
The object count for the accumulated count. |
ActiveZoneCount
Message for the active zone count.
Fields | |
---|---|
annotation |
Active zone annotation from the user. |
counts[] |
Counts in the zone. |
CrossingLineCount
Message for Crossing line count.
Fields | |
---|---|
annotation |
Line annotation from the user. |
positive_direction_counts[] |
The direction that follows the right hand rule. |
negative_direction_counts[] |
The direction that is opposite to the right hand rule. |
accumulated_positive_direction_counts[] |
The accumulated positive count. |
accumulated_negative_direction_counts[] |
The accumulated negative count. |
ObjectCount
The object info and instant count for annotations from occupancy counting operator.
Fields | |
---|---|
entity |
Entity of this object. |
count |
Count of the object. |
TrackInfo
The track info for annotations from occupancy counting operator.
Fields | |
---|---|
track_id |
An unique id to identify a track. It should be consistent across frames. |
start_time |
Start timestamp of this track. |
OperationMetadata
Represents the metadata of the long-running operation.
Fields | |
---|---|
create_time |
Output only. The time the operation was created. |
end_time |
Output only. The time the operation finished running. |
target |
Output only. Server-defined resource path for the target of the operation. |
verb |
Output only. Name of the verb executed by the operation. |
status_message |
Output only. Human-readable status of the operation, if any. |
requested_cancellation |
Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have [Operation.error][] value with a |
api_version |
Output only. API version used to start the operation. |
Partition
Partition to specify the partition in time and space for sub-asset level annotation.
Fields | |
---|---|
temporal_partition |
Partition of asset in time. |
spatial_partition |
Partition of asset in space. |
relative_temporal_partition |
Partition of asset in time. |
RelativeTemporalPartition
Partition of asset in relative time. Supported by VIDEO_ON_DEMAND corpus type.
Fields | |
---|---|
start_offset |
Start time offset of the partition. |
end_offset |
End time offset of the partition. |
SpatialPartition
Partition of asset in space.
Fields | |
---|---|
x_min |
The minimum x coordinate value. |
y_min |
The minimum y coordinate value. |
x_max |
The maximum x coordinate value. |
y_max |
The maximum y coordinate value. |
TemporalPartition
Partition of asset in UTC Epoch time. Supported by STREAM_VIDEO corpus type.
Fields | |
---|---|
start_time |
Start time of the partition. |
end_time |
End time of the partition. |
PersonBlurConfig
Message describing FaceBlurConfig.
Fields | |
---|---|
person_blur_type |
Person blur type. |
faces_only |
Whether only blur faces other than the whole object in the processor. |
PersonBlurType
Type of Person Blur
Enums | |
---|---|
PERSON_BLUR_TYPE_UNSPECIFIED |
PersonBlur Type UNSPECIFIED. |
FULL_OCCULUSION |
FaceBlur Type full occlusion. |
BLUR_FILTER |
FaceBlur Type blur filter. |
PersonVehicleDetectionConfig
Message describing PersonVehicleDetectionConfig.
Fields | |
---|---|
enable_people_counting |
At least one of enable_people_counting and enable_vehicle_counting fields must be set to true. Whether to count the appearances of people, output counts have 'people' as the key. |
enable_vehicle_counting |
Whether to count the appearances of vehicles, output counts will have 'vehicle' as the key. |
PersonalProtectiveEquipmentDetectionConfig
Message describing PersonalProtectiveEquipmentDetectionConfig.
Fields | |
---|---|
enable_face_coverage_detection |
Whether to enable face coverage detection. |
enable_head_coverage_detection |
Whether to enable head coverage detection. |
enable_hands_coverage_detection |
Whether to enable hands coverage detection. |
PersonalProtectiveEquipmentDetectionOutput
Output format for Personal Protective Equipment Detection Operator.
Fields | |
---|---|
current_time |
Current timestamp. |
detected_persons[] |
A list of DetectedPersons. |
DetectedPerson
Detected Person contains the detected person and their associated ppes and their protecting information.
Fields | |
---|---|
person_id |
The id of detected person. |
detected_person_identified_box |
The info of detected person identified box. |
detected_ppe_identified_boxes[] |
The info of detected person associated ppe identified boxes. |
face_coverage_score |
Coverage score for each body part. Coverage score for face. |
eyes_coverage_score |
Coverage score for eyes. |
head_coverage_score |
Coverage score for head. |
hands_coverage_score |
Coverage score for hands. |
body_coverage_score |
Coverage score for body. |
feet_coverage_score |
Coverage score for feet. |
NormalizedBoundingBox
Bounding Box in the normalized coordinates.
Fields | |
---|---|
xmin |
Min in x coordinate. |
ymin |
Min in y coordinate. |
width |
Width of the bounding box. |
height |
Height of the bounding box. |
PPEEntity
The entity info for annotations from PPE detection prediction result.
Fields | |
---|---|
ppe_label_id |
Label id. |
ppe_label_string |
Human readable string of the label (Examples: helmet, glove, mask). |
ppe_supercategory_label_string |
Human readable string of the super category label (Examples: head_cover, hands_cover, face_cover). |
ppe_entity_id |
Entity id. |
PPEIdentifiedBox
PPEIdentified box contains the location and the entity info of the PPE.
Fields | |
---|---|
box_id |
An unique id for this box. |
normalized_bounding_box |
Bounding Box in the normalized coordinates. |
confidence_score |
Confidence score associated with this box. |
ppe_entity |
PPE entity info. |
PersonEntity
The entity info for annotations from person detection prediction result.
Fields | |
---|---|
person_entity_id |
Entity id. |
PersonIdentifiedBox
PersonIdentified box contains the location and the entity info of the person.
Fields | |
---|---|
box_id |
An unique id for this box. |
normalized_bounding_box |
Bounding Box in the normalized coordinates. |
confidence_score |
Confidence score associated with this box. |
person_entity |
Person entity info. |
Process
Message describing the Process object.
Fields | |
---|---|
name |
The name of resource. |
create_time |
Output only. The create timestamp. |
update_time |
Output only. The update timestamp. |
analysis |
Required. Reference to an existing Analysis resource. |
attribute_overrides[] |
Optional. Attribute overrides of the Analyzers. Format for each single override item: "{analyzer_name}:{attribute_key}={value}" |
run_status |
Optional. Status of the Process. |
run_mode |
Optional. Run mode of the Process. |
event_id |
Optional. Event ID of the input/output streams. This is useful when you have a StreamSource/StreamSink operator in the Analysis, and you want to manually specify the Event to read from/write to. |
Processor
Message describing Processor object. Next ID: 19
Fields | |
---|---|
name |
name of resource. |
create_time |
Output only. [Output only] Create timestamp. |
update_time |
Output only. [Output only] Update timestamp. |
labels |
Labels as key value pairs. |
display_name |
Required. A user friendly display name for the processor. |
description |
Illustrative sentences for describing the functionality of the processor. |
processor_type |
Output only. Processor Type. |
model_type |
Model Type. |
custom_processor_source_info |
Source info for customer created processor. |
state |
Output only. State of the Processor. |
processor_io_spec |
Output only. [Output only] The input / output specifications of a processor, each type of processor has fixed input / output specs which cannot be altered by customer. |
configuration_typeurl |
Output only. The corresponding configuration can be used in the Application to customize the behavior of the processor. |
supported_annotation_types[] |
|
supports_post_processing |
Indicates if the processor supports post processing. |
ProcessorState
Enums | |
---|---|
PROCESSOR_STATE_UNSPECIFIED |
Unspecified Processor state. |
CREATING |
Processor is being created (not ready for use). |
ACTIVE |
Processor is and ready for use. |
DELETING |
Processor is being deleted (not ready for use). |
FAILED |
Processor deleted or creation failed . |
ProcessorType
Type
Enums | |
---|---|
PROCESSOR_TYPE_UNSPECIFIED |
Processor Type UNSPECIFIED. |
PRETRAINED |
Processor Type PRETRAINED. Pretrained processor is developed by Vision AI App Platform with state-of-the-art vision data processing functionality, like occupancy counting or person blur. Pretrained processor is usually publicly available. |
CUSTOM |
Processor Type CUSTOM. Custom processors are specialized processors which are either uploaded by customers or imported from other Google Cloud platforms (for example Vertex AI). Custom processor is only visible to the creator. |
CONNECTOR |
Processor Type CONNECTOR. Connector processors are special processors which perform I/O for the application, they do not processing the data but either deliver the data to other processors or receive data from other processors. |
ProcessorConfig
Next ID: 36
Fields | |
---|---|
Union field
|
|
video_stream_input_config |
Configs of stream input processor. |
ai_enabled_devices_input_config |
Config of AI-enabled input devices. |
media_warehouse_config |
Configs of media warehouse processor. |
person_blur_config |
Configs of person blur processor. |
occupancy_count_config |
Configs of occupancy count processor. |
person_vehicle_detection_config |
Configs of Person Vehicle Detection processor. |
vertex_automl_vision_config |
Configs of Vertex AutoML vision processor. |
vertex_automl_video_config |
Configs of Vertex AutoML video processor. |
vertex_custom_config |
Configs of Vertex Custom processor. |
general_object_detection_config |
Configs of General Object Detection processor. |
big_query_config |
Configs of BigQuery processor. |
personal_protective_equipment_detection_config |
Configs of personal_protective_equipment_detection_config |
ProcessorIOSpec
Message describing the input / output specifications of a processor.
Fields | |
---|---|
graph_input_channel_specs[] |
For processors with input_channel_specs, the processor must be explicitly connected to another processor. |
graph_output_channel_specs[] |
The output artifact specifications for the current processor. |
instance_resource_input_binding_specs[] |
The input resource that needs to be fed from the application instance. |
instance_resource_output_binding_specs[] |
The output resource that the processor will generate per instance. Other than the explicitly listed output bindings here, all the processors' GraphOutputChannels can be binded to stream resource. The bind name then is the same as the GraphOutputChannel's name. |
GraphInputChannelSpec
Message for input channel specification.
Fields | |
---|---|
name |
The name of the current input channel. |
data_type |
The data types of the current input channel. When this field has more than 1 value, it means this input channel can be connected to either of these different data types. |
accepted_data_type_uris[] |
If specified, only those detailed data types can be connected to the processor. For example, jpeg stream for MEDIA, or PredictionResult proto for PROTO type. If unspecified, then any proto is accepted. |
required |
Whether the current input channel is required by the processor. For example, for a processor with required video input and optional audio input, if video input is missing, the application will be rejected while the audio input can be missing as long as the video input exists. |
max_connection_allowed |
How many input edges can be connected to this input channel. 0 means unlimited. |
GraphOutputChannelSpec
Message for output channel specification.
Fields | |
---|---|
name |
The name of the current output channel. |
data_type |
The data type of the current output channel. |
data_type_uri |
|
InstanceResourceInputBindingSpec
Message for instance resource channel specification. External resources are virtual nodes which are not expressed in the application graph. Each processor expresses its out-graph spec, so customer is able to override the external source or destinations to the
Fields | |
---|---|
name |
Name of the input binding, unique within the processor. |
Union field
|
|
config_type_uri |
The configuration proto that includes the Googleapis resources. I.e. type.googleapis.com/google.cloud.vision.v1.StreamWithAnnotation |
resource_type_uri |
The direct type url of Googleapis resource. i.e. type.googleapis.com/google.cloud.vision.v1.Asset |
InstanceResourceOutputBindingSpec
Fields | |
---|---|
name |
Name of the output binding, unique within the processor. |
resource_type_uri |
The resource type uri of the acceptable output resource. |
explicit |
Whether the output resource needs to be explicitly set in the instance. If it is false, the processor will automatically generate it if required. |
RemoveApplicationStreamInputRequest
Message for removing stream input from an Application.
Fields | |
---|---|
name |
Required. the name of the application to retrieve. Format: "projects/{project}/locations/{location}/applications/{application}" |
target_stream_inputs[] |
The target stream to remove. |
request_id |
Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). |
TargetStreamInput
Message about target streamInput to remove.
Fields | |
---|---|
stream |
|
RemoveApplicationStreamInputResponse
Message for RemoveApplicationStreamInput Response.
RemoveCollectionItemRequest
Request message for RemoveCollectionItem.
Fields | |
---|---|
item |
Required. The item to be removed. |
RemoveCollectionItemResponse
Request message for RemoveCollectionItem.
Fields | |
---|---|
item |
The item that has already been removed. |
RemoveIndexAssetMetadata
Metadata for RemoveIndexAsset.
Fields | |
---|---|
indexing_status |
The status of indexing this asset. |
start_time |
The start time of the operation. |
update_time |
The update time of the operation. |
RemoveIndexAssetRequest
Request message for RemoveIndexAsset.
Fields | |
---|---|
name |
Required. The resource name of the asset to index. Format: |
index |
Optional. The name of the index. Format: |
RemoveIndexAssetResponse
This type has no fields.
Response message for RemoveIndexAsset.
RemoveRetailProductsFromRetailProductSetResponse
RemoveRetailProductsFromRetailProductSet response once the operation is done.
ResourceAnnotations
Message describing general annotation for resources.
Fields | |
---|---|
application_annotations[] |
Annotations that will be applied to the whole application. |
node_annotations[] |
Annotations that will be applied to the specific node of the application. If the same type of the annotations is applied to both application and node, the node annotation will be added in addition to the global application one. For example, if there is one active zone annotation for the whole application and one active zone annotation for the Occupancy Analytic processor, then the Occupancy Analytic processor will have two active zones defined. |
RetailBatchAnalyzeResponse
Response message for BatchAnalyze.
RetailEntity
An entity that could be a phrase or a number in the tag text. It is a known entity type, such as a product title, regular price, or club price.
Fields | |
---|---|
type |
Entity type e.g. 'product title', 'regular price', 'club price'. |
mention_text |
Text value of the entity e.g. '$2.99'. If the entity is not present in the tag, this field will be empty. |
confidence |
Confidence of the entity prediction. |
region |
The location region of the entity in the tag region. |
normalized_text_value |
Normalized text value in a pre-defined standard for the entity type. Absent if the extracted value could not be converted. |
RetailNormalizedBoundingBox
Bounding box coordinates are relative to the width and height of the image. For example, if image is 100x200 and NormalizedBoundingBox is <xmin = 0.1 xmax = 0.5 ymin = 0.2 ymax = 0.9>, the bounding box coordinates will be (10, 40) to (50, 180). Note parts of the bounding box may fall outside the image.
Fields | |
---|---|
x_min |
Horizontal coordinate of upper left corner. |
x_max |
Horizontal coordinate of bottom right corner. |
y_min |
Vertical coordinate of upper left corner. |
y_max |
Vertical coordinate of bottom right corner. |
RetailObjectDetectionAnnotation
Describe an object region and its detection annotation in an image.
Fields | |
---|---|
bounding_box |
Normalized bounding box of the object instance. |
confidence |
A confidence score between 0.0 and 1.0. A higher value means greater confidence about the result. |
RetailOperationMetadata
Operation Metadata for Reatil Service.
Fields | |
---|---|
operation_metadata |
Common metadata of the long-running operation. |
partial_failures[] |
Output only. Partial failures encountered. E.g. single image file that couldn't be read. Status details field will contain standard Google Cloud error details. |
operation_metrics |
Output only. Metrics about the operation. |
OperationMetrics
The recorded metrics about the operation.
Fields | |
---|---|
counters |
Mapping from counter name to count. |
RetailPredictResults
Result format of BatchAnalyze.
Fields | |
---|---|
image_uri |
Image uri from input. |
product_recognition_annotations[] |
Product recognition annotations. |
tag_recognition_annotations[] |
Tag recognition annotations. |
RetailProduct
Message representing the RetailProduct resource.
Fields | |
---|---|
name |
Output only. Name of the RetailProduct resource. |
gtins[] |
The Global Trade Item Number (GTIN) of the product. |
normalized_gtins[] |
Output only. The normalized version from input gtins into the canonical GTIN-14 format. |
third_party_ids[] |
Third-party identifiers used by retailer or manufacturer. |
locale |
Locale of the product information represented as BCP-47 code, e.g., en-US, de-DE. The language of the product label and the brand should match the language of the locale. |
brand |
Localized brand of the product. |
title |
Localized title of the product. |
product_uri |
Landing page for the product. |
resource_state |
Output only. State of the RetailProduct. |
labels |
The labels with user-defined metadata to organize your RetailProducts. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. |
create_time |
Output only. The create timestamp. |
update_time |
Output only. The update timestamp. |
RetailProductImageSimilarity
The similarity scores to the product image in the index set.
Fields | |
---|---|
visual_similarity_score |
The visual similarity score to this product image. |
detected_text_similarity_score |
The similarity score between the detected text in the query product image to the model detected text in this product image. |
product_title_text_similarity_score |
The similarity score between the detected text in the query product image to the human curated product title of this product image. |
similarity_score |
The final combined similarity score to this product image. |
RetailProductRecognitionAnnotation
Describe a product region and its product recognition annotation in an image.
Fields | |
---|---|
product_region |
Detection information about this product instance (bounding box, confidence etc.). |
recognition_results[] |
Results of the product recognition. They are sorted by decreasing confidence. |
detected_text |
Text detected by the model in this product_region. |
RetailProductRecognitionResult
Single product recognition result.
Fields | |
---|---|
product_metadata |
Metadata of the recognized product. |
confidence |
A confidence score between 0.0 and 1.0. A higher value means greater confidence about the result. |
image_similarity[] |
The similarity score details to each product image for this result. |
RetailResourceState
State of a resource.
Enums | |
---|---|
RETAIL_RESOURCE_STATE_UNSPECIFIED |
The default value. Should not be used. |
RETAIL_RESOURCE_STATE_CREATING |
State CREATING. |
RETAIL_RESOURCE_STATE_CREATED |
State CREATED. |
RETAIL_RESOURCE_STATE_UPDATING |
State UPDATING. |
RETAIL_RESOURCE_STATE_DELETED |
State DELETED. |
RETAIL_RESOURCE_STATE_ERROR |
State ERROR. |
RetailTagRecognitionAnnotation
A proto describes recognition result of a tag, including the region of image occupied by this tag instance and extracted text information.
Fields | |
---|---|
tag_region |
Detection information about this tag instance (bounding box, confidence etc.). |
tag_text |
Text on this tag instance. |
entities[] |
A list of entities detected in the tag. |
RetailThirdPartyId
Represents third party identifier used by the retailer or manufacturer (e.g., SKU or MPN).
Fields | |
---|---|
id |
Third party id used by the retailer or manufacturer (e.g., SKU or MPN). |
owner |
The entity that 'owns' the third party identifier, i.e., the manufacturer or the retailer selling this product. |
RunMode
RunMode represents the mode to launch the Process on.
Enums | |
---|---|
RUN_MODE_UNSPECIFIED |
Mode is unspecified. |
LIVE |
Live mode. Meaning the Process is launched to handle live video source, and possible packet drops are expected. |
SUBMISSION |
Submission mode. Meaning the Process is launched to handle bounded video files, with no packet drop. Completion status is tracked. |
RunStatus
Message describing the status of the Process.
Fields | |
---|---|
state |
The state of the Process. |
reason |
The reason of becoming the state. |
State
State represents the running status of the Process.
Enums | |
---|---|
STATE_UNSPECIFIED |
State is unspecified. |
INITIALIZING |
INITIALIZING means the Process is scheduled but yet ready to handle real traffic. |
RUNNING |
RUNNING means the Process is up running and handling traffic. |
COMPLETED |
COMPLETED means the Process has completed the processing, especially for non-streaming use case. |
FAILED |
FAILED means the Process failed to complete the processing. |
SchemaKeySortingStrategy
A strategy to specify how to sort by data schema key.
Fields | |
---|---|
options[] |
Options in the front have high priority than those in the back. |
Option
Option for one data schema key.
Fields | |
---|---|
data_schema_key |
The data used to sort. |
sort_decreasing |
Whether to sort in decreasing order or increasing order. By default, results are sorted in incresing order. |
aggregate_method |
Aggregate method for the current data schema key. |
AggregateMethod
When one result has multiple values with the same key, specify which value is used to sort. By default, AGGREGATE_METHOD_LARGEST is used when results are sorted in decreasing order, AGGREGATE_METHOD_SMALLEST is used when results are sorted in incresing order.
Enums | |
---|---|
AGGREGATE_METHOD_UNSPECIFIED |
The unspecified aggregate method will be overwritten as mentioned above. |
AGGREGATE_METHOD_LARGEST |
Take the (lexicographical or numerical) largest value to sort. |
AGGREGATE_METHOD_SMALLEST |
Take the (lexicographical or numerical) smallest value to sort. |
SearchAssetsRequest
Request message for SearchAssets.
Fields | |
---|---|
corpus |
Required. The parent corpus to search. Format: `projects/{project_id}/locations/{location_id}/corpora/{corpus_id}' |
page_size |
The number of results to be returned in this page. If it's 0, the server will decide the appropriate page_size. |
page_token |
The continuation token to fetch the next page. If empty, it means it is fetching the first page. |
content_time_ranges |
Time ranges that matching video content must fall within. If no ranges are provided, there will be no time restriction. This field is treated just like the criteria below, but defined separately for convenience as it is used frequently. Note that if the end_time is in the future, it will be clamped to the time the request was received. |
criteria[] |
Criteria applied to search results. |
exclusion_criteria[] |
Criteria to exclude from search results. Note that |
facet_selections[] |
Stores most recent facet selection state. Only facet groups with user's selection will be presented here. Selection state is either selected or unselected. Only selected facet buckets will be used as search criteria. |
result_annotation_keys[] |
A list of annotation keys to specify the annotations to be retrieved and returned with each search result. Annotation granularity must be GRANULARITY_ASSET_LEVEL and its search strategy must not be NO_SEARCH. |
search_query |
Global search query. Allows user to search assets without needing to specify which field the value belongs to. |
Union field sort_spec . Sorting specification. If this field is not specified, by default: - STREAM_VIDEO: search results are sorted by the start time. sort_spec can be only one of the following: |
|
schema_key_sorting_strategy |
Sort by the value under the data schema key. |
SearchAssetsResponse
Response message for SearchAssets.
Fields | |
---|---|
search_result_items[] |
Returned search results. |
next_page_token |
The next-page continuation token. |
facet_results[] |
Facet search results of a given query, which contains user's already-selected facet values and updated facet search results. |
SearchCapability
The capability and metadata of search capability.
Fields | |
---|---|
type |
The search capability to enable. |
Type
Capability to perform different search on assets.
Enums | |
---|---|
TYPE_UNSPECIFIED |
Unspecified search capability, should never be used. |
EMBEDDING_SEARCH |
Embedding search. |
SearchCapabilitySetting
Setting for search capability to enable.
Fields | |
---|---|
search_capabilities[] |
The metadata of search capability to enable. |
SearchConfig
SearchConfig stores different properties that will affect search behaviors and search results.
Fields | |
---|---|
name |
Resource name of the search configuration. For CustomSearchCriteria, search_config would be the search operator name. For Facets, search_config would be the facet dimension name. Format: |
facet_property |
Establishes a FacetDimension and associated specifications. |
search_criteria_property |
Creates a mapping between a custom SearchCriteria and one or more UGA keys. |
SearchCriteriaProperty
Central configuration for custom search criteria.
Fields | |
---|---|
mapped_fields[] |
Each mapped_field corresponds to a UGA key. To understand how this property works, take the following example. In the SearchConfig table, the user adds this entry: search_config { name: "person" search_criteria_property { mapped_fields: "player" mapped_fields: "coach" } } Now, when a user issues a query like: criteria { field: "person" text_array { txt_values: "Tom Brady" txt_values: "Bill Belichick" } } MWH search will return search documents where (player=Tom Brady || coach=Tom Brady || player=Bill Belichick || coach=Bill Belichick). |
SearchHypernym
Search resource: SearchHypernym. For example, { hypernym: "vehicle" hyponyms: ["sedan", "truck"] } This means in SMART_SEARCH mode, searching for "vehicle" will also return results with "sedan" or "truck" as annotations.
Fields | |
---|---|
name |
Resource name of the SearchHypernym. Format: |
hypernym |
The hypernym. |
hyponyms[] |
Hyponyms that the hypernym is mapped to. |
SearchIndexEndpointRequest
Request message for SearchIndexEndpoint.
Fields | |
---|---|
index_endpoint |
Required. The index endpoint to search. Format: `projects/{project_id}/locations/{location_id}/indexEndpoints/{index_endpoint_id}' |
criteria[] |
Criteria applied to search results. |
exclusion_criteria[] |
Criteria to exclude from search results. Note that |
page_size |
Requested page size. API may return fewer results than requested. If negative, INVALID_ARGUMENT error will be returned. If unspecified or 0, API will pick a default size, which is 10. If the requested page size is larger than the maximum size, API will pick the maximum size, which is 100. |
page_token |
The continuation token to fetch the next page. If empty, it means it is fetching the first page. |
Union field query . The oneof global search query. query can be only one of the following: |
|
image_query |
An image-only query. |
text_query |
A text-only query. |
SearchIndexEndpointResponse
Response message for SearchIndexEndpoint.
Fields | |
---|---|
search_result_items[] |
Returned search results. |
next_page_token |
The next-page continuation token. If this field is omitted, there are no subsequent pages. |
SearchResultItem
Search result contains asset name and corresponding time ranges.
Fields | |
---|---|
asset |
The resource name of the asset. Format: |
segments[] |
The matched asset segments. Deprecated: please use singular |
segment |
The matched asset segment. |
relevance |
Relevance of this |
requested_annotations[] |
Search result annotations specified by result_annotation_keys in search request. |
annotation_matching_results[] |
Criteria or facet-selection based annotation matching results associated to this search result item. Only contains results for criteria or facet_selections with fetch_matched_annotations=true. |
StreamAnnotation
message about annotations about Vision AI stream resource.
Fields | |
---|---|
id |
ID of the annotation. It must be unique when used in the certain context. For example, all the annotations to one input streams of a Vision AI application. |
display_name |
User-friendly name for the annotation. |
source_stream |
The Vision AI stream resource name. |
type |
The actual type of Annotation. |
Union field
|
|
active_zone |
Annotation for type ACTIVE_ZONE |
crossing_line |
Annotation for type CROSSING_LINE |
StreamAnnotationType
Enum describing all possible types of a stream annotation.
Enums | |
---|---|
STREAM_ANNOTATION_TYPE_UNSPECIFIED |
Type UNSPECIFIED. |
STREAM_ANNOTATION_TYPE_ACTIVE_ZONE |
active_zone annotation defines a polygon on top of the content from an image/video based stream, following processing will only focus on the content inside the active zone. |
STREAM_ANNOTATION_TYPE_CROSSING_LINE |
crossing_line annotation defines a polyline on top of the content from an image/video based Vision AI stream, events happening across the line will be captured. For example, the counts of people who goes acroos the line in Occupancy Analytic Processor. |
StreamAnnotations
A wrapper of repeated StreamAnnotation.
Fields | |
---|---|
stream_annotations[] |
Multiple annotations. |
StreamWithAnnotation
Message describing Vision AI stream with application specific annotations. All the StreamAnnotation object inside this message MUST have unique id.
Fields | |
---|---|
stream |
Vision AI Stream resource name. |
application_annotations[] |
Annotations that will be applied to the whole application. |
node_annotations[] |
Annotations that will be applied to the specific node of the application. If the same type of the annotations is applied to both application and node, the node annotation will be added in addition to the global application one. For example, if there is one active zone annotation for the whole application and one active zone annotation for the Occupancy Analytic processor, then the Occupancy Analytic processor will have two active zones defined. |
NodeAnnotation
Message describing annotations specific to application node.
Fields | |
---|---|
node |
The node name of the application graph. |
annotations[] |
The node specific stream annotations. |
StringArray
A list of string-type values.
Fields | |
---|---|
txt_values[] |
String type values. |
UndeployApplicationRequest
Message for undeploying an Application.
Fields | |
---|---|
name |
Required. the name of the application to retrieve. Format: "projects/{project}/locations/{location}/applications/{application}" |
request_id |
Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). |
UndeployApplicationResponse
This type has no fields.
Message for UndeployApplication Response.
UndeployIndexMetadata
Metadata message for UndeployIndex.
Fields | |
---|---|
operation_metadata |
Common metadata of the long-running operation. |
deployed_index |
Output only. The index being undeployed. |
UndeployIndexRequest
Request message for UndeployIndexEndpoint.
Fields | |
---|---|
index_endpoint |
Required. Resource name of the IndexEndpoint resource on which the undeployment will act. Format: |
UndeployIndexResponse
This type has no fields.
UndeployIndex response once the operation is done.
UndeployRetailProductRecognitionIndexResponse
Message for UndeployRetailProductRecognitionIndex response.
UpdateAnalysisRequest
Message for updating an Analysis.
Fields | |
---|---|
update_mask |
Required. Field mask is used to specify the fields to be overwritten in the Analysis resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. |
analysis |
Required. The resource being updated. |
request_id |
Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). |
UpdateAnnotationRequest
Request message for UpdateAnnotation API.
Fields | |
---|---|
annotation |
Required. The annotation to update. The annotation's |
update_mask |
The list of fields to be updated. |
UpdateApplicationInstancesRequest
Message for updating an ApplicationInstance.
Fields | |
---|---|
name |
Required. the name of the application to retrieve. Format: "projects/{project}/locations/{location}/applications/{application}" |
application_instances[] |
|
request_id |
Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). |
allow_missing |
If true, Update Request will create one resource if the target resource doesn't exist, this time, the field_mask will be ignored. |
UpdateApplicationInstance
Fields | |
---|---|
update_mask |
Optional. Field mask is used to specify the fields to be overwritten in the Draft resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. |
instance |
Required. The resource being updated. |
instance_id |
Required. The id of the instance. |
UpdateApplicationInstancesResponse
Message for UpdateApplicationInstances Response.
UpdateApplicationRequest
Message for updating an Application.
Fields | |
---|---|
update_mask |
Optional. Field mask is used to specify the fields to be overwritten in the Application resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. |
application |
Required. The resource being updated. |
request_id |
Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). |
UpdateApplicationStreamInputRequest
Message for updating stream input to an Application.
Fields | |
---|---|
name |
Required. the name of the application to retrieve. Format: "projects/{project}/locations/{location}/applications/{application}" |
application_stream_inputs[] |
The stream inputs to update, the stream resource name is the key of each StreamInput, and it must be unique within each application. |
request_id |
Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). |
allow_missing |
If true, UpdateApplicationStreamInput will insert stream input to application even if the target stream is not included in the application. |
UpdateApplicationStreamInputResponse
This type has no fields.
Message for AddApplicationStreamInput Response.
UpdateAssetRequest
Request message for UpdateAsset.
Fields | |
---|---|
asset |
Required. The asset to update. The asset's |
update_mask |
The list of fields to be updated. |
UpdateCollectionRequest
Request message for UpdateCollectionRequest.
Fields | |
---|---|
collection |
Required. The collection to update. The collection's |
update_mask |
The list of fields to be updated. - Unset |
UpdateCorpusRequest
Request message for UpdateCorpus.
Fields | |
---|---|
corpus |
Required. The corpus which replaces the resource on the server. |
update_mask |
The list of fields to be updated. |
UpdateDataSchemaRequest
Request message for UpdateDataSchema.
Fields | |
---|---|
data_schema |
Required. The data schema's |
update_mask |
The list of fields to be updated. |
UpdateDraftRequest
Message for updating a Draft.
Fields | |
---|---|
update_mask |
Optional. Field mask is used to specify the fields to be overwritten in the Draft resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. |
draft |
Required. The resource being updated. |
request_id |
Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). |
allow_missing |
If true, UpdateDraftRequest will create one resource if the target resource doesn't exist, this time, the field_mask will be ignored. |
UpdateIndexEndpointMetadata
Metadata message for UpdateIndexEndpoint.
Fields | |
---|---|
operation_metadata |
Common metadata of the long-running operation. |
UpdateIndexEndpointRequest
Request message for UpdateIndexEndpoint.
Fields | |
---|---|
index_endpoint |
Required. The resource being updated. |
update_mask |
Required. Field mask is used to specify the fields to be overwritten in the IndexEndpoint resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field of the resource will be overwritten if it is in the mask. Empty field mask is not allowed. If the mask is "*", then this is a full replacement of the resource. |
UpdateIndexMetadata
Metadata message for UpdateIndexRequest
Fields | |
---|---|
operation_metadata |
Common metadata of the long-running operation. |
UpdateIndexRequest
Request message for UpdateIndex.
Fields | |
---|---|
index |
Required. The resource being updated. |
update_mask |
Required. Field mask is used to specify the fields to be overwritten in the Index resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field of the resource will be overwritten if it is in the mask. Empty field mask is not allowed. If the mask is "*", it triggers a full update of the index, and also a whole rebuild of index data. |
UpdateProcessRequest
Message for updating a Process.
Fields | |
---|---|
update_mask |
Required. Field mask is used to specify the fields to be overwritten in the Process resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. |
process |
Required. The resource being updated. |
request_id |
Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). |
UpdateProcessorRequest
Message for updating a Processor.
Fields | |
---|---|
update_mask |
Optional. Field mask is used to specify the fields to be overwritten in the Processor resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. |
processor |
Required. The resource being updated. |
request_id |
Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). |
UpdateSearchConfigRequest
Request message for UpdateSearchConfig.
Fields | |
---|---|
search_config |
Required. The search configuration to update. The search configuration's |
update_mask |
The list of fields to be updated. If left unset, all field paths will be updated/overwritten. |
UpdateSearchHypernymRequest
Request message for updating SearchHypernym.
Fields | |
---|---|
search_hypernym |
Required. The SearchHypernym to update. The search hypernym's |
update_mask |
The list of fields to be updated. If left unset, all field paths will be updated/overwritten. |
UploadAssetMetadata
Metadata for UploadAsset.
Fields | |
---|---|
start_time |
The start time of the operation. |
update_time |
The update time of the operation. |
UploadAssetRequest
Request message for UploadAsset.
Fields | |
---|---|
name |
Required. The resource name of the asset to upload. Format: |
asset_source |
The source of the asset. |
UploadAssetResponse
This type has no fields.
Response message for UploadAsset.
UserSpecifiedAnnotation
Annotation provided by users.
Fields | |
---|---|
key |
Required. Key of the annotation. The key must be set with type by CreateDataSchema. |
value |
Value of the annotation. The value must be able to convert to the type according to the data schema. |
partition |
Partition information in time and space for the sub-asset level annotation. |
VertexAutoMLVideoConfig
Message describing VertexAutoMLVideoConfig.
Fields | |
---|---|
confidence_threshold |
Only entities with higher score than the threshold will be returned. Value 0.0 means returns all the detected entities. |
blocked_labels[] |
Labels specified in this field won't be returned. |
max_predictions |
At most this many predictions will be returned per output frame. Value 0 means to return all the detected entities. |
bounding_box_size_limit |
Only Bounding Box whose size is larger than this limit will be returned. Object Tracking only. Value 0.0 means to return all the detected entities. |
VertexAutoMLVisionConfig
Message of configurations of Vertex AutoML Vision Processors.
Fields | |
---|---|
confidence_threshold |
Only entities with higher score than the threshold will be returned. Value 0.0 means to return all the detected entities. |
max_predictions |
At most this many predictions will be returned per output frame. Value 0 means to return all the detected entities. |
VertexCustomConfig
Message describing VertexCustomConfig.
Fields | |
---|---|
max_prediction_fps |
The max prediction frame per second. This attribute sets how fast the operator sends prediction requests to Vertex AI endpoint. Default value is 0, which means there is no max prediction fps limit. The operator sends prediction requests at input fps. |
dedicated_resources |
A description of resources that are dedicated to the DeployedModel, and that need a higher degree of manual configuration. |
post_processing_cloud_function |
If not empty, the prediction result will be sent to the specified cloud function for post processing. * The cloud function will receive AppPlatformCloudFunctionRequest where the annotations field will be the json format of proto PredictResponse. * The cloud function should return AppPlatformCloudFunctionResponse with PredictResponse stored in the annotations field. * To drop the prediction output, simply clear the payload field in the returned AppPlatformCloudFunctionResponse. |
attach_application_metadata |
If true, the prediction request received by custom model will also contain metadata with the following schema: 'appPlatformMetadata': { 'ingestionTime': DOUBLE; (UNIX timestamp) 'application': STRING; 'instanceId': STRING; 'node': STRING; 'processor': STRING; } |
VideoActionRecognitionPredictionResult
Prediction output format for Video Action Recognition.
Fields | |
---|---|
segment_start_time |
The beginning, inclusive, of the video's time segment in which the actions have been identified. |
segment_end_time |
The end, inclusive, of the video's time segment in which the actions have been identified. Particularly, if the end is the same as the start, it means the identification happens on a specific video frame. |
actions[] |
All of the actions identified in the time range. |
IdentifiedAction
Each IdentifiedAction is one particular identification of an action specified with the AnnotationSpec id, display_name and the associated confidence score.
Fields | |
---|---|
id |
The resource ID of the AnnotationSpec that had been identified. |
display_name |
The display name of the AnnotationSpec that had been identified. |
confidence |
The Model's confidence in correction of this identification, higher value means higher confidence. |
VideoClassificationPredictionResult
Prediction output format for Video Classification.
Fields | |
---|---|
segment_start_time |
The beginning, inclusive, of the video's time segment in which the classifications have been identified. |
segment_end_time |
The end, inclusive, of the video's time segment in which the classifications have been identified. Particularly, if the end is the same as the start, it means the identification happens on a specific video frame. |
classifications[] |
All of the classifications identified in the time range. |
IdentifiedClassification
Each IdentifiedClassification is one particular identification of a classification specified with the AnnotationSpec id and display_name, and the associated confidence score.
Fields | |
---|---|
id |
The resource ID of the AnnotationSpec that had been identified. |
display_name |
The display name of the AnnotationSpec that had been identified. |
confidence |
The Model's confidence in correction of this identification, higher value means higher confidence. |
VideoObjectTrackingPredictionResult
Prediction output format for Video Object Tracking.
Fields | |
---|---|
segment_start_time |
The beginning, inclusive, of the video's time segment in which the current identifications happens. |
segment_end_time |
The end, inclusive, of the video's time segment in which the current identifications happen. Particularly, if the end is the same as the start, it means the identifications happen on a specific video frame. |
objects[] |
All of the objects detected in the specified time range. |
BoundingBox
Boundingbox for detected object. I.e. the rectangle over the video frame pinpointing the found AnnotationSpec. The coordinates are relative to the frame size, and the point 0,0 is in the top left of the frame.
Fields | |
---|---|
x_min |
The leftmost coordinate of the bounding box. |
x_max |
The rightmost coordinate of the bounding box. |
y_min |
The topmost coordinate of the bounding box. |
y_max |
The bottommost coordinate of the bounding box. |
DetectedObject
Each DetectedObject is one particular identification of an object specified with the AnnotationSpec id and display_name, the bounding box, the associated confidence score and the corresponding track_id.
Fields | |
---|---|
id |
The resource ID of the AnnotationSpec that had been identified. |
display_name |
The display name of the AnnotationSpec that had been identified. |
bounding_box |
Boundingbox. |
confidence |
The Model's confidence in correction of this identification, higher value means higher confidence. |
track_id |
The same object may be identified on muitiple frames which are typical adjacent. The set of frames where a particular object has been detected form a track. This track_id can be used to trace down all frames for a detected object. |
VideoStreamInputConfig
Message describing Video Stream Input Config. This message should only be used as a placeholder for builtin:stream-input processor, actual stream binding should be specified using corresponding API.
Fields | |
---|---|
streams[] |
|
streams_with_annotation[] |
ViewCollectionItemsRequest
Request message for ViewCollectionItems.
Fields | |
---|---|
collection |
Required. The collection to view. Format: |
page_size |
The maximum number of collections to return. The service may return fewer than this value. If unspecified, at most 50 collections will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. |
page_token |
A page token, received from a previous When paginating, all other parameters provided to |
ViewCollectionItemsResponse
Response message for ViewCollectionItems.
Fields | |
---|---|
items[] |
The items from the specified collection. |
next_page_token |
A token, which can be sent as |
ViewIndexedAssetsRequest
Request message for ViewIndexedAssets.
Fields | |
---|---|
index |
Required. The index that owns this collection of assets. Format: |
page_size |
The maximum number of assets to return. The service may return fewer than this value. If unspecified, at most 50 assets will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. |
page_token |
A page token, received from a previous When paginating, all other parameters provided to |
filter |
The filter applied to the returned list. Only the following filterings are supported: "asset_id = xxxx", which returns asset with specified id. "asset_id = xxxx, yyyy, zzzz", which returns assets with specified ids. |
ViewIndexedAssetsResponse
Response message for ViewIndexedAssets.
Fields | |
---|---|
indexed_assets[] |
The assets from the specified index. |
next_page_token |
A token, which can be sent as |
WatchEventsRequest
WatchEventsRequest contains the information of the watcher identification and the filters of the events the watcher is interested in.
Fields | |
---|---|
cluster |
The parent of the resource. |
watcher_id |
Unique ID identifies the watcher of the streams. |
streams[] |
The name of the stream or the set of streams to watch. |
event_update_filter |
The filter that the watchers can speficy on which event updates that they want to receive. |
heartbeat_interval_second |
HeartbeatIntervalSecond defines the interval (in second) of heartbeat response returned from the gRPC streaming server. Default 0 means no heartbeat will be returned. |
WatchEventsResponse
Each response message will contain one Event update.
Fields | |
---|---|
update_type |
The type of the Event update. |
stream |
The name of the stream that the event is attached to. |
event |
The name of the event. |
series |
The name of the series. |
update_time |
The timestamp when the Event update happens. |