public sealed class WarehouseClientImpl : WarehouseClientReference documentation and code samples for the Vision AI v1 API class WarehouseClientImpl.
Warehouse client wrapper implementation, for convenient use.
Namespace
Google.Cloud.VisionAI.V1Assembly
Google.Cloud.VisionAI.V1.dll
Remarks
Service that manages media content + metadata for streaming.
Constructors
WarehouseClientImpl(WarehouseClient, WarehouseSettings, ILogger)
public WarehouseClientImpl(Warehouse.WarehouseClient grpcClient, WarehouseSettings settings, ILogger logger)Constructs a client wrapper for the Warehouse service, with the specified gRPC client and settings.
| Parameters | |
|---|---|
| Name | Description |
grpcClient |
WarehouseWarehouseClientThe underlying gRPC client. |
settings |
WarehouseSettingsThe base WarehouseSettings used within this client. |
logger |
ILoggerOptional ILogger to use within this client. |
Properties
AnalyzeAssetOperationsClient
public override OperationsClient AnalyzeAssetOperationsClient { get; }The long-running operations client for AnalyzeAsset.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
AnalyzeCorpusOperationsClient
public override OperationsClient AnalyzeCorpusOperationsClient { get; }The long-running operations client for AnalyzeCorpus.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
CreateCollectionOperationsClient
public override OperationsClient CreateCollectionOperationsClient { get; }The long-running operations client for CreateCollection.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
CreateCorpusOperationsClient
public override OperationsClient CreateCorpusOperationsClient { get; }The long-running operations client for CreateCorpus.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
CreateIndexEndpointOperationsClient
public override OperationsClient CreateIndexEndpointOperationsClient { get; }The long-running operations client for CreateIndexEndpoint.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
CreateIndexOperationsClient
public override OperationsClient CreateIndexOperationsClient { get; }The long-running operations client for CreateIndex.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
DeleteAssetOperationsClient
public override OperationsClient DeleteAssetOperationsClient { get; }The long-running operations client for DeleteAsset.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
DeleteCollectionOperationsClient
public override OperationsClient DeleteCollectionOperationsClient { get; }The long-running operations client for DeleteCollection.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
DeleteIndexEndpointOperationsClient
public override OperationsClient DeleteIndexEndpointOperationsClient { get; }The long-running operations client for DeleteIndexEndpoint.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
DeleteIndexOperationsClient
public override OperationsClient DeleteIndexOperationsClient { get; }The long-running operations client for DeleteIndex.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
DeployIndexOperationsClient
public override OperationsClient DeployIndexOperationsClient { get; }The long-running operations client for DeployIndex.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
GrpcClient
public override Warehouse.WarehouseClient GrpcClient { get; }The underlying gRPC Warehouse client
| Property Value | |
|---|---|
| Type | Description |
WarehouseWarehouseClient |
|
IAMPolicyClient
public override IAMPolicyClient IAMPolicyClient { get; }The IAMPolicyClient associated with this client.
| Property Value | |
|---|---|
| Type | Description |
IAMPolicyClient |
|
ImportAssetsOperationsClient
public override OperationsClient ImportAssetsOperationsClient { get; }The long-running operations client for ImportAssets.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
IndexAssetOperationsClient
public override OperationsClient IndexAssetOperationsClient { get; }The long-running operations client for IndexAsset.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
LocationsClient
public override LocationsClient LocationsClient { get; }The LocationsClient associated with this client.
| Property Value | |
|---|---|
| Type | Description |
LocationsClient |
|
RemoveIndexAssetOperationsClient
public override OperationsClient RemoveIndexAssetOperationsClient { get; }The long-running operations client for RemoveIndexAsset.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
UndeployIndexOperationsClient
public override OperationsClient UndeployIndexOperationsClient { get; }The long-running operations client for UndeployIndex.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
UpdateIndexEndpointOperationsClient
public override OperationsClient UpdateIndexEndpointOperationsClient { get; }The long-running operations client for UpdateIndexEndpoint.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
UpdateIndexOperationsClient
public override OperationsClient UpdateIndexOperationsClient { get; }The long-running operations client for UpdateIndex.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
UploadAssetOperationsClient
public override OperationsClient UploadAssetOperationsClient { get; }The long-running operations client for UploadAsset.
| Property Value | |
|---|---|
| Type | Description |
OperationsClient |
|
Methods
AddCollectionItem(AddCollectionItemRequest, CallSettings)
public override AddCollectionItemResponse AddCollectionItem(AddCollectionItemRequest request, CallSettings callSettings = null)Adds an item into a Collection.
| Parameters | |
|---|---|
| Name | Description |
request |
AddCollectionItemRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
AddCollectionItemResponse |
The RPC response. |
AddCollectionItemAsync(AddCollectionItemRequest, CallSettings)
public override Task<AddCollectionItemResponse> AddCollectionItemAsync(AddCollectionItemRequest request, CallSettings callSettings = null)Adds an item into a Collection.
| Parameters | |
|---|---|
| Name | Description |
request |
AddCollectionItemRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskAddCollectionItemResponse |
A Task containing the RPC response. |
AnalyzeAsset(AnalyzeAssetRequest, CallSettings)
public override Operation<AnalyzeAssetResponse, AnalyzeAssetMetadata> AnalyzeAsset(AnalyzeAssetRequest request, CallSettings callSettings = null)Analyze asset to power search capability.
| Parameters | |
|---|---|
| Name | Description |
request |
AnalyzeAssetRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationAnalyzeAssetResponseAnalyzeAssetMetadata |
The RPC response. |
AnalyzeAssetAsync(AnalyzeAssetRequest, CallSettings)
public override Task<Operation<AnalyzeAssetResponse, AnalyzeAssetMetadata>> AnalyzeAssetAsync(AnalyzeAssetRequest request, CallSettings callSettings = null)Analyze asset to power search capability.
| Parameters | |
|---|---|
| Name | Description |
request |
AnalyzeAssetRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAnalyzeAssetResponseAnalyzeAssetMetadata |
A Task containing the RPC response. |
AnalyzeCorpus(AnalyzeCorpusRequest, CallSettings)
public override Operation<AnalyzeCorpusResponse, AnalyzeCorpusMetadata> AnalyzeCorpus(AnalyzeCorpusRequest request, CallSettings callSettings = null)Analyzes a corpus.
| Parameters | |
|---|---|
| Name | Description |
request |
AnalyzeCorpusRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationAnalyzeCorpusResponseAnalyzeCorpusMetadata |
The RPC response. |
AnalyzeCorpusAsync(AnalyzeCorpusRequest, CallSettings)
public override Task<Operation<AnalyzeCorpusResponse, AnalyzeCorpusMetadata>> AnalyzeCorpusAsync(AnalyzeCorpusRequest request, CallSettings callSettings = null)Analyzes a corpus.
| Parameters | |
|---|---|
| Name | Description |
request |
AnalyzeCorpusRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationAnalyzeCorpusResponseAnalyzeCorpusMetadata |
A Task containing the RPC response. |
ClipAsset(ClipAssetRequest, CallSettings)
public override ClipAssetResponse ClipAsset(ClipAssetRequest request, CallSettings callSettings = null)Supported by STREAM_VIDEO corpus type. 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.
| Parameters | |
|---|---|
| Name | Description |
request |
ClipAssetRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
ClipAssetResponse |
The RPC response. |
ClipAssetAsync(ClipAssetRequest, CallSettings)
public override Task<ClipAssetResponse> ClipAssetAsync(ClipAssetRequest request, CallSettings callSettings = null)Supported by STREAM_VIDEO corpus type. 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.
| Parameters | |
|---|---|
| Name | Description |
request |
ClipAssetRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskClipAssetResponse |
A Task containing the RPC response. |
CreateAnnotation(CreateAnnotationRequest, CallSettings)
public override Annotation CreateAnnotation(CreateAnnotationRequest request, CallSettings callSettings = null)Creates annotation inside asset.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateAnnotationRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Annotation |
The RPC response. |
CreateAnnotationAsync(CreateAnnotationRequest, CallSettings)
public override Task<Annotation> CreateAnnotationAsync(CreateAnnotationRequest request, CallSettings callSettings = null)Creates annotation inside asset.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateAnnotationRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskAnnotation |
A Task containing the RPC response. |
CreateAsset(CreateAssetRequest, CallSettings)
public override Asset CreateAsset(CreateAssetRequest request, CallSettings callSettings = null)Creates an asset inside corpus.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateAssetRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Asset |
The RPC response. |
CreateAssetAsync(CreateAssetRequest, CallSettings)
public override Task<Asset> CreateAssetAsync(CreateAssetRequest request, CallSettings callSettings = null)Creates an asset inside corpus.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateAssetRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskAsset |
A Task containing the RPC response. |
CreateCollection(CreateCollectionRequest, CallSettings)
public override Operation<Collection, CreateCollectionMetadata> CreateCollection(CreateCollectionRequest request, CallSettings callSettings = null)Creates a collection.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateCollectionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationCollectionCreateCollectionMetadata |
The RPC response. |
CreateCollectionAsync(CreateCollectionRequest, CallSettings)
public override Task<Operation<Collection, CreateCollectionMetadata>> CreateCollectionAsync(CreateCollectionRequest request, CallSettings callSettings = null)Creates a collection.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateCollectionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationCollectionCreateCollectionMetadata |
A Task containing the RPC response. |
CreateCorpus(CreateCorpusRequest, CallSettings)
public override Operation<Corpus, CreateCorpusMetadata> CreateCorpus(CreateCorpusRequest request, CallSettings callSettings = null)Creates a corpus inside a project.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateCorpusRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationCorpusCreateCorpusMetadata |
The RPC response. |
CreateCorpusAsync(CreateCorpusRequest, CallSettings)
public override Task<Operation<Corpus, CreateCorpusMetadata>> CreateCorpusAsync(CreateCorpusRequest request, CallSettings callSettings = null)Creates a corpus inside a project.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateCorpusRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationCorpusCreateCorpusMetadata |
A Task containing the RPC response. |
CreateDataSchema(CreateDataSchemaRequest, CallSettings)
public override DataSchema CreateDataSchema(CreateDataSchemaRequest request, CallSettings callSettings = null)Creates data schema inside corpus.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateDataSchemaRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
DataSchema |
The RPC response. |
CreateDataSchemaAsync(CreateDataSchemaRequest, CallSettings)
public override Task<DataSchema> CreateDataSchemaAsync(CreateDataSchemaRequest request, CallSettings callSettings = null)Creates data schema inside corpus.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateDataSchemaRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskDataSchema |
A Task containing the RPC response. |
CreateIndex(CreateIndexRequest, CallSettings)
public override Operation<Index, CreateIndexMetadata> CreateIndex(CreateIndexRequest request, CallSettings callSettings = null)Creates an Index under the corpus.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateIndexRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationIndexCreateIndexMetadata |
The RPC response. |
CreateIndexAsync(CreateIndexRequest, CallSettings)
public override Task<Operation<Index, CreateIndexMetadata>> CreateIndexAsync(CreateIndexRequest request, CallSettings callSettings = null)Creates an Index under the corpus.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateIndexRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationIndexCreateIndexMetadata |
A Task containing the RPC response. |
CreateIndexEndpoint(CreateIndexEndpointRequest, CallSettings)
public override Operation<IndexEndpoint, CreateIndexEndpointMetadata> CreateIndexEndpoint(CreateIndexEndpointRequest request, CallSettings callSettings = null)Creates an IndexEndpoint.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateIndexEndpointRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationIndexEndpointCreateIndexEndpointMetadata |
The RPC response. |
CreateIndexEndpointAsync(CreateIndexEndpointRequest, CallSettings)
public override Task<Operation<IndexEndpoint, CreateIndexEndpointMetadata>> CreateIndexEndpointAsync(CreateIndexEndpointRequest request, CallSettings callSettings = null)Creates an IndexEndpoint.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateIndexEndpointRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationIndexEndpointCreateIndexEndpointMetadata |
A Task containing the RPC response. |
CreateSearchConfig(CreateSearchConfigRequest, CallSettings)
public override SearchConfig CreateSearchConfig(CreateSearchConfigRequest request, CallSettings callSettings = null)Creates a search configuration inside a corpus.
Please follow the rules below to create a valid CreateSearchConfigRequest. --- General Rules ---
- Request.search_config_id must not be associated with an existing SearchConfig.
- Request must contain at least one non-empty search_criteria_property or facet_property.
- mapped_fields must not be empty, and must map to existing UGA keys.
- All mapped_fields must be of the same type.
- All mapped_fields must share the same granularity.
- All mapped_fields must share the same semantic SearchConfig match options. For property-specific rules, please reference the comments for FacetProperty and SearchCriteriaProperty.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateSearchConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
SearchConfig |
The RPC response. |
CreateSearchConfigAsync(CreateSearchConfigRequest, CallSettings)
public override Task<SearchConfig> CreateSearchConfigAsync(CreateSearchConfigRequest request, CallSettings callSettings = null)Creates a search configuration inside a corpus.
Please follow the rules below to create a valid CreateSearchConfigRequest. --- General Rules ---
- Request.search_config_id must not be associated with an existing SearchConfig.
- Request must contain at least one non-empty search_criteria_property or facet_property.
- mapped_fields must not be empty, and must map to existing UGA keys.
- All mapped_fields must be of the same type.
- All mapped_fields must share the same granularity.
- All mapped_fields must share the same semantic SearchConfig match options. For property-specific rules, please reference the comments for FacetProperty and SearchCriteriaProperty.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateSearchConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskSearchConfig |
A Task containing the RPC response. |
CreateSearchHypernym(CreateSearchHypernymRequest, CallSettings)
public override SearchHypernym CreateSearchHypernym(CreateSearchHypernymRequest request, CallSettings callSettings = null)Creates a SearchHypernym inside a corpus.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateSearchHypernymRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
SearchHypernym |
The RPC response. |
CreateSearchHypernymAsync(CreateSearchHypernymRequest, CallSettings)
public override Task<SearchHypernym> CreateSearchHypernymAsync(CreateSearchHypernymRequest request, CallSettings callSettings = null)Creates a SearchHypernym inside a corpus.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateSearchHypernymRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskSearchHypernym |
A Task containing the RPC response. |
DeleteAnnotation(DeleteAnnotationRequest, CallSettings)
public override void DeleteAnnotation(DeleteAnnotationRequest request, CallSettings callSettings = null)Deletes annotation inside asset.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteAnnotationRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
DeleteAnnotationAsync(DeleteAnnotationRequest, CallSettings)
public override Task DeleteAnnotationAsync(DeleteAnnotationRequest request, CallSettings callSettings = null)Deletes annotation inside asset.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteAnnotationRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
DeleteAsset(DeleteAssetRequest, CallSettings)
public override Operation<Empty, DeleteAssetMetadata> DeleteAsset(DeleteAssetRequest request, CallSettings callSettings = null)Deletes asset inside corpus.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteAssetRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyDeleteAssetMetadata |
The RPC response. |
DeleteAssetAsync(DeleteAssetRequest, CallSettings)
public override Task<Operation<Empty, DeleteAssetMetadata>> DeleteAssetAsync(DeleteAssetRequest request, CallSettings callSettings = null)Deletes asset inside corpus.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteAssetRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyDeleteAssetMetadata |
A Task containing the RPC response. |
DeleteCollection(DeleteCollectionRequest, CallSettings)
public override Operation<Empty, DeleteCollectionMetadata> DeleteCollection(DeleteCollectionRequest request, CallSettings callSettings = null)Deletes a collection.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteCollectionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyDeleteCollectionMetadata |
The RPC response. |
DeleteCollectionAsync(DeleteCollectionRequest, CallSettings)
public override Task<Operation<Empty, DeleteCollectionMetadata>> DeleteCollectionAsync(DeleteCollectionRequest request, CallSettings callSettings = null)Deletes a collection.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteCollectionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyDeleteCollectionMetadata |
A Task containing the RPC response. |
DeleteCorpus(DeleteCorpusRequest, CallSettings)
public override void DeleteCorpus(DeleteCorpusRequest request, CallSettings callSettings = null)Deletes a corpus only if its empty. Returns empty response.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteCorpusRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
DeleteCorpusAsync(DeleteCorpusRequest, CallSettings)
public override Task DeleteCorpusAsync(DeleteCorpusRequest request, CallSettings callSettings = null)Deletes a corpus only if its empty. Returns empty response.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteCorpusRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
DeleteDataSchema(DeleteDataSchemaRequest, CallSettings)
public override void DeleteDataSchema(DeleteDataSchemaRequest request, CallSettings callSettings = null)Deletes data schema inside corpus.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteDataSchemaRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
DeleteDataSchemaAsync(DeleteDataSchemaRequest, CallSettings)
public override Task DeleteDataSchemaAsync(DeleteDataSchemaRequest request, CallSettings callSettings = null)Deletes data schema inside corpus.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteDataSchemaRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
DeleteIndex(DeleteIndexRequest, CallSettings)
public override Operation<Empty, DeleteIndexMetadata> DeleteIndex(DeleteIndexRequest request, CallSettings callSettings = null)Delete a single Index. In order to delete an index, the caller must make sure that it is not deployed to any index endpoint.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteIndexRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyDeleteIndexMetadata |
The RPC response. |
DeleteIndexAsync(DeleteIndexRequest, CallSettings)
public override Task<Operation<Empty, DeleteIndexMetadata>> DeleteIndexAsync(DeleteIndexRequest request, CallSettings callSettings = null)Delete a single Index. In order to delete an index, the caller must make sure that it is not deployed to any index endpoint.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteIndexRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyDeleteIndexMetadata |
A Task containing the RPC response. |
DeleteIndexEndpoint(DeleteIndexEndpointRequest, CallSettings)
public override Operation<Empty, DeleteIndexEndpointMetadata> DeleteIndexEndpoint(DeleteIndexEndpointRequest request, CallSettings callSettings = null)Deletes an IndexEndpoint.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteIndexEndpointRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationEmptyDeleteIndexEndpointMetadata |
The RPC response. |
DeleteIndexEndpointAsync(DeleteIndexEndpointRequest, CallSettings)
public override Task<Operation<Empty, DeleteIndexEndpointMetadata>> DeleteIndexEndpointAsync(DeleteIndexEndpointRequest request, CallSettings callSettings = null)Deletes an IndexEndpoint.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteIndexEndpointRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationEmptyDeleteIndexEndpointMetadata |
A Task containing the RPC response. |
DeleteSearchConfig(DeleteSearchConfigRequest, CallSettings)
public override void DeleteSearchConfig(DeleteSearchConfigRequest request, CallSettings callSettings = null)Deletes a search configuration inside a corpus.
For a DeleteSearchConfigRequest to be valid, Request.search_configuration.name must already exist.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteSearchConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
DeleteSearchConfigAsync(DeleteSearchConfigRequest, CallSettings)
public override Task DeleteSearchConfigAsync(DeleteSearchConfigRequest request, CallSettings callSettings = null)Deletes a search configuration inside a corpus.
For a DeleteSearchConfigRequest to be valid, Request.search_configuration.name must already exist.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteSearchConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
DeleteSearchHypernym(DeleteSearchHypernymRequest, CallSettings)
public override void DeleteSearchHypernym(DeleteSearchHypernymRequest request, CallSettings callSettings = null)Deletes a SearchHypernym inside a corpus.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteSearchHypernymRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
DeleteSearchHypernymAsync(DeleteSearchHypernymRequest, CallSettings)
public override Task DeleteSearchHypernymAsync(DeleteSearchHypernymRequest request, CallSettings callSettings = null)Deletes a SearchHypernym inside a corpus.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteSearchHypernymRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
DeployIndex(DeployIndexRequest, CallSettings)
public override Operation<DeployIndexResponse, DeployIndexMetadata> DeployIndex(DeployIndexRequest request, CallSettings callSettings = null)Deploys an Index to IndexEndpoint.
| Parameters | |
|---|---|
| Name | Description |
request |
DeployIndexRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationDeployIndexResponseDeployIndexMetadata |
The RPC response. |
DeployIndexAsync(DeployIndexRequest, CallSettings)
public override Task<Operation<DeployIndexResponse, DeployIndexMetadata>> DeployIndexAsync(DeployIndexRequest request, CallSettings callSettings = null)Deploys an Index to IndexEndpoint.
| Parameters | |
|---|---|
| Name | Description |
request |
DeployIndexRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationDeployIndexResponseDeployIndexMetadata |
A Task containing the RPC response. |
GenerateHlsUri(GenerateHlsUriRequest, CallSettings)
public override GenerateHlsUriResponse GenerateHlsUri(GenerateHlsUriRequest request, CallSettings callSettings = null)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.
| Parameters | |
|---|---|
| Name | Description |
request |
GenerateHlsUriRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
GenerateHlsUriResponse |
The RPC response. |
GenerateHlsUriAsync(GenerateHlsUriRequest, CallSettings)
public override Task<GenerateHlsUriResponse> GenerateHlsUriAsync(GenerateHlsUriRequest request, CallSettings callSettings = null)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.
| Parameters | |
|---|---|
| Name | Description |
request |
GenerateHlsUriRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskGenerateHlsUriResponse |
A Task containing the RPC response. |
GenerateRetrievalUrl(GenerateRetrievalUrlRequest, CallSettings)
public override GenerateRetrievalUrlResponse GenerateRetrievalUrl(GenerateRetrievalUrlRequest request, CallSettings callSettings = null)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.
| Parameters | |
|---|---|
| Name | Description |
request |
GenerateRetrievalUrlRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
GenerateRetrievalUrlResponse |
The RPC response. |
GenerateRetrievalUrlAsync(GenerateRetrievalUrlRequest, CallSettings)
public override Task<GenerateRetrievalUrlResponse> GenerateRetrievalUrlAsync(GenerateRetrievalUrlRequest request, CallSettings callSettings = null)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.
| Parameters | |
|---|---|
| Name | Description |
request |
GenerateRetrievalUrlRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskGenerateRetrievalUrlResponse |
A Task containing the RPC response. |
GetAnnotation(GetAnnotationRequest, CallSettings)
public override Annotation GetAnnotation(GetAnnotationRequest request, CallSettings callSettings = null)Reads annotation inside asset.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAnnotationRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Annotation |
The RPC response. |
GetAnnotationAsync(GetAnnotationRequest, CallSettings)
public override Task<Annotation> GetAnnotationAsync(GetAnnotationRequest request, CallSettings callSettings = null)Reads annotation inside asset.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAnnotationRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskAnnotation |
A Task containing the RPC response. |
GetAsset(GetAssetRequest, CallSettings)
public override Asset GetAsset(GetAssetRequest request, CallSettings callSettings = null)Reads an asset inside corpus.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAssetRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Asset |
The RPC response. |
GetAssetAsync(GetAssetRequest, CallSettings)
public override Task<Asset> GetAssetAsync(GetAssetRequest request, CallSettings callSettings = null)Reads an asset inside corpus.
| Parameters | |
|---|---|
| Name | Description |
request |
GetAssetRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskAsset |
A Task containing the RPC response. |
GetCollection(GetCollectionRequest, CallSettings)
public override Collection GetCollection(GetCollectionRequest request, CallSettings callSettings = null)Gets a collection.
| Parameters | |
|---|---|
| Name | Description |
request |
GetCollectionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Collection |
The RPC response. |
GetCollectionAsync(GetCollectionRequest, CallSettings)
public override Task<Collection> GetCollectionAsync(GetCollectionRequest request, CallSettings callSettings = null)Gets a collection.
| Parameters | |
|---|---|
| Name | Description |
request |
GetCollectionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskCollection |
A Task containing the RPC response. |
GetCorpus(GetCorpusRequest, CallSettings)
public override Corpus GetCorpus(GetCorpusRequest request, CallSettings callSettings = null)Gets corpus details inside a project.
| Parameters | |
|---|---|
| Name | Description |
request |
GetCorpusRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Corpus |
The RPC response. |
GetCorpusAsync(GetCorpusRequest, CallSettings)
public override Task<Corpus> GetCorpusAsync(GetCorpusRequest request, CallSettings callSettings = null)Gets corpus details inside a project.
| Parameters | |
|---|---|
| Name | Description |
request |
GetCorpusRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskCorpus |
A Task containing the RPC response. |
GetDataSchema(GetDataSchemaRequest, CallSettings)
public override DataSchema GetDataSchema(GetDataSchemaRequest request, CallSettings callSettings = null)Gets data schema inside corpus.
| Parameters | |
|---|---|
| Name | Description |
request |
GetDataSchemaRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
DataSchema |
The RPC response. |
GetDataSchemaAsync(GetDataSchemaRequest, CallSettings)
public override Task<DataSchema> GetDataSchemaAsync(GetDataSchemaRequest request, CallSettings callSettings = null)Gets data schema inside corpus.
| Parameters | |
|---|---|
| Name | Description |
request |
GetDataSchemaRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskDataSchema |
A Task containing the RPC response. |
GetIndex(GetIndexRequest, CallSettings)
public override Index GetIndex(GetIndexRequest request, CallSettings callSettings = null)Gets the details of a single Index under a Corpus.
| Parameters | |
|---|---|
| Name | Description |
request |
GetIndexRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Index |
The RPC response. |
GetIndexAsync(GetIndexRequest, CallSettings)
public override Task<Index> GetIndexAsync(GetIndexRequest request, CallSettings callSettings = null)Gets the details of a single Index under a Corpus.
| Parameters | |
|---|---|
| Name | Description |
request |
GetIndexRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskIndex |
A Task containing the RPC response. |
GetIndexEndpoint(GetIndexEndpointRequest, CallSettings)
public override IndexEndpoint GetIndexEndpoint(GetIndexEndpointRequest request, CallSettings callSettings = null)Gets an IndexEndpoint.
| Parameters | |
|---|---|
| Name | Description |
request |
GetIndexEndpointRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
IndexEndpoint |
The RPC response. |
GetIndexEndpointAsync(GetIndexEndpointRequest, CallSettings)
public override Task<IndexEndpoint> GetIndexEndpointAsync(GetIndexEndpointRequest request, CallSettings callSettings = null)Gets an IndexEndpoint.
| Parameters | |
|---|---|
| Name | Description |
request |
GetIndexEndpointRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskIndexEndpoint |
A Task containing the RPC response. |
GetSearchConfig(GetSearchConfigRequest, CallSettings)
public override SearchConfig GetSearchConfig(GetSearchConfigRequest request, CallSettings callSettings = null)Gets a search configuration inside a corpus.
| Parameters | |
|---|---|
| Name | Description |
request |
GetSearchConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
SearchConfig |
The RPC response. |
GetSearchConfigAsync(GetSearchConfigRequest, CallSettings)
public override Task<SearchConfig> GetSearchConfigAsync(GetSearchConfigRequest request, CallSettings callSettings = null)Gets a search configuration inside a corpus.
| Parameters | |
|---|---|
| Name | Description |
request |
GetSearchConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskSearchConfig |
A Task containing the RPC response. |
GetSearchHypernym(GetSearchHypernymRequest, CallSettings)
public override SearchHypernym GetSearchHypernym(GetSearchHypernymRequest request, CallSettings callSettings = null)Gets a SearchHypernym inside a corpus.
| Parameters | |
|---|---|
| Name | Description |
request |
GetSearchHypernymRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
SearchHypernym |
The RPC response. |
GetSearchHypernymAsync(GetSearchHypernymRequest, CallSettings)
public override Task<SearchHypernym> GetSearchHypernymAsync(GetSearchHypernymRequest request, CallSettings callSettings = null)Gets a SearchHypernym inside a corpus.
| Parameters | |
|---|---|
| Name | Description |
request |
GetSearchHypernymRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskSearchHypernym |
A Task containing the RPC response. |
ImportAssets(ImportAssetsRequest, CallSettings)
public override Operation<ImportAssetsResponse, ImportAssetsMetadata> ImportAssets(ImportAssetsRequest request, CallSettings callSettings = null)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.
| Parameters | |
|---|---|
| Name | Description |
request |
ImportAssetsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationImportAssetsResponseImportAssetsMetadata |
The RPC response. |
ImportAssetsAsync(ImportAssetsRequest, CallSettings)
public override Task<Operation<ImportAssetsResponse, ImportAssetsMetadata>> ImportAssetsAsync(ImportAssetsRequest request, CallSettings callSettings = null)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.
| Parameters | |
|---|---|
| Name | Description |
request |
ImportAssetsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationImportAssetsResponseImportAssetsMetadata |
A Task containing the RPC response. |
IndexAsset(IndexAssetRequest, CallSettings)
public override Operation<IndexAssetResponse, IndexAssetMetadata> IndexAsset(IndexAssetRequest request, CallSettings callSettings = null)Index one asset for search. Supported corpus type: Corpus.Type.VIDEO_ON_DEMAND
| Parameters | |
|---|---|
| Name | Description |
request |
IndexAssetRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationIndexAssetResponseIndexAssetMetadata |
The RPC response. |
IndexAssetAsync(IndexAssetRequest, CallSettings)
public override Task<Operation<IndexAssetResponse, IndexAssetMetadata>> IndexAssetAsync(IndexAssetRequest request, CallSettings callSettings = null)Index one asset for search. Supported corpus type: Corpus.Type.VIDEO_ON_DEMAND
| Parameters | |
|---|---|
| Name | Description |
request |
IndexAssetRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationIndexAssetResponseIndexAssetMetadata |
A Task containing the RPC response. |
IngestAsset(CallSettings, BidirectionalStreamingSettings)
public override WarehouseClient.IngestAssetStream IngestAsset(CallSettings callSettings = null, BidirectionalStreamingSettings streamingSettings = null)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).
| Parameters | |
|---|---|
| Name | Description |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
streamingSettings |
BidirectionalStreamingSettingsIf not null, applies streaming overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
WarehouseClientIngestAssetStream |
The client-server stream. |
ListAnnotations(ListAnnotationsRequest, CallSettings)
public override PagedEnumerable<ListAnnotationsResponse, Annotation> ListAnnotations(ListAnnotationsRequest request, CallSettings callSettings = null)Lists a list of annotations inside asset.
| Parameters | |
|---|---|
| Name | Description |
request |
ListAnnotationsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListAnnotationsResponseAnnotation |
A pageable sequence of Annotation resources. |
ListAnnotationsAsync(ListAnnotationsRequest, CallSettings)
public override PagedAsyncEnumerable<ListAnnotationsResponse, Annotation> ListAnnotationsAsync(ListAnnotationsRequest request, CallSettings callSettings = null)Lists a list of annotations inside asset.
| Parameters | |
|---|---|
| Name | Description |
request |
ListAnnotationsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListAnnotationsResponseAnnotation |
A pageable asynchronous sequence of Annotation resources. |
ListAssets(ListAssetsRequest, CallSettings)
public override PagedEnumerable<ListAssetsResponse, Asset> ListAssets(ListAssetsRequest request, CallSettings callSettings = null)Lists an list of assets inside corpus.
| Parameters | |
|---|---|
| Name | Description |
request |
ListAssetsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListAssetsResponseAsset |
A pageable sequence of Asset resources. |
ListAssetsAsync(ListAssetsRequest, CallSettings)
public override PagedAsyncEnumerable<ListAssetsResponse, Asset> ListAssetsAsync(ListAssetsRequest request, CallSettings callSettings = null)Lists an list of assets inside corpus.
| Parameters | |
|---|---|
| Name | Description |
request |
ListAssetsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListAssetsResponseAsset |
A pageable asynchronous sequence of Asset resources. |
ListCollections(ListCollectionsRequest, CallSettings)
public override PagedEnumerable<ListCollectionsResponse, Collection> ListCollections(ListCollectionsRequest request, CallSettings callSettings = null)Lists collections inside a corpus.
| Parameters | |
|---|---|
| Name | Description |
request |
ListCollectionsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListCollectionsResponseCollection |
A pageable sequence of Collection resources. |
ListCollectionsAsync(ListCollectionsRequest, CallSettings)
public override PagedAsyncEnumerable<ListCollectionsResponse, Collection> ListCollectionsAsync(ListCollectionsRequest request, CallSettings callSettings = null)Lists collections inside a corpus.
| Parameters | |
|---|---|
| Name | Description |
request |
ListCollectionsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListCollectionsResponseCollection |
A pageable asynchronous sequence of Collection resources. |
ListCorpora(ListCorporaRequest, CallSettings)
public override PagedEnumerable<ListCorporaResponse, Corpus> ListCorpora(ListCorporaRequest request, CallSettings callSettings = null)Lists all corpora in a project.
| Parameters | |
|---|---|
| Name | Description |
request |
ListCorporaRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListCorporaResponseCorpus |
A pageable sequence of Corpus resources. |
ListCorporaAsync(ListCorporaRequest, CallSettings)
public override PagedAsyncEnumerable<ListCorporaResponse, Corpus> ListCorporaAsync(ListCorporaRequest request, CallSettings callSettings = null)Lists all corpora in a project.
| Parameters | |
|---|---|
| Name | Description |
request |
ListCorporaRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListCorporaResponseCorpus |
A pageable asynchronous sequence of Corpus resources. |
ListDataSchemas(ListDataSchemasRequest, CallSettings)
public override PagedEnumerable<ListDataSchemasResponse, DataSchema> ListDataSchemas(ListDataSchemasRequest request, CallSettings callSettings = null)Lists a list of data schemas inside corpus.
| Parameters | |
|---|---|
| Name | Description |
request |
ListDataSchemasRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListDataSchemasResponseDataSchema |
A pageable sequence of DataSchema resources. |
ListDataSchemasAsync(ListDataSchemasRequest, CallSettings)
public override PagedAsyncEnumerable<ListDataSchemasResponse, DataSchema> ListDataSchemasAsync(ListDataSchemasRequest request, CallSettings callSettings = null)Lists a list of data schemas inside corpus.
| Parameters | |
|---|---|
| Name | Description |
request |
ListDataSchemasRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListDataSchemasResponseDataSchema |
A pageable asynchronous sequence of DataSchema resources. |
ListIndexEndpoints(ListIndexEndpointsRequest, CallSettings)
public override PagedEnumerable<ListIndexEndpointsResponse, IndexEndpoint> ListIndexEndpoints(ListIndexEndpointsRequest request, CallSettings callSettings = null)Lists all IndexEndpoints in a project.
| Parameters | |
|---|---|
| Name | Description |
request |
ListIndexEndpointsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListIndexEndpointsResponseIndexEndpoint |
A pageable sequence of IndexEndpoint resources. |
ListIndexEndpointsAsync(ListIndexEndpointsRequest, CallSettings)
public override PagedAsyncEnumerable<ListIndexEndpointsResponse, IndexEndpoint> ListIndexEndpointsAsync(ListIndexEndpointsRequest request, CallSettings callSettings = null)Lists all IndexEndpoints in a project.
| Parameters | |
|---|---|
| Name | Description |
request |
ListIndexEndpointsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListIndexEndpointsResponseIndexEndpoint |
A pageable asynchronous sequence of IndexEndpoint resources. |
ListIndexes(ListIndexesRequest, CallSettings)
public override PagedEnumerable<ListIndexesResponse, Index> ListIndexes(ListIndexesRequest request, CallSettings callSettings = null)List all Indexes in a given Corpus.
| Parameters | |
|---|---|
| Name | Description |
request |
ListIndexesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListIndexesResponseIndex |
A pageable sequence of Index resources. |
ListIndexesAsync(ListIndexesRequest, CallSettings)
public override PagedAsyncEnumerable<ListIndexesResponse, Index> ListIndexesAsync(ListIndexesRequest request, CallSettings callSettings = null)List all Indexes in a given Corpus.
| Parameters | |
|---|---|
| Name | Description |
request |
ListIndexesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListIndexesResponseIndex |
A pageable asynchronous sequence of Index resources. |
ListSearchConfigs(ListSearchConfigsRequest, CallSettings)
public override PagedEnumerable<ListSearchConfigsResponse, SearchConfig> ListSearchConfigs(ListSearchConfigsRequest request, CallSettings callSettings = null)Lists all search configurations inside a corpus.
| Parameters | |
|---|---|
| Name | Description |
request |
ListSearchConfigsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListSearchConfigsResponseSearchConfig |
A pageable sequence of SearchConfig resources. |
ListSearchConfigsAsync(ListSearchConfigsRequest, CallSettings)
public override PagedAsyncEnumerable<ListSearchConfigsResponse, SearchConfig> ListSearchConfigsAsync(ListSearchConfigsRequest request, CallSettings callSettings = null)Lists all search configurations inside a corpus.
| Parameters | |
|---|---|
| Name | Description |
request |
ListSearchConfigsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListSearchConfigsResponseSearchConfig |
A pageable asynchronous sequence of SearchConfig resources. |
ListSearchHypernyms(ListSearchHypernymsRequest, CallSettings)
public override PagedEnumerable<ListSearchHypernymsResponse, SearchHypernym> ListSearchHypernyms(ListSearchHypernymsRequest request, CallSettings callSettings = null)Lists SearchHypernyms inside a corpus.
| Parameters | |
|---|---|
| Name | Description |
request |
ListSearchHypernymsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableListSearchHypernymsResponseSearchHypernym |
A pageable sequence of SearchHypernym resources. |
ListSearchHypernymsAsync(ListSearchHypernymsRequest, CallSettings)
public override PagedAsyncEnumerable<ListSearchHypernymsResponse, SearchHypernym> ListSearchHypernymsAsync(ListSearchHypernymsRequest request, CallSettings callSettings = null)Lists SearchHypernyms inside a corpus.
| Parameters | |
|---|---|
| Name | Description |
request |
ListSearchHypernymsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableListSearchHypernymsResponseSearchHypernym |
A pageable asynchronous sequence of SearchHypernym resources. |
RemoveCollectionItem(RemoveCollectionItemRequest, CallSettings)
public override RemoveCollectionItemResponse RemoveCollectionItem(RemoveCollectionItemRequest request, CallSettings callSettings = null)Removes an item from a collection.
| Parameters | |
|---|---|
| Name | Description |
request |
RemoveCollectionItemRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
RemoveCollectionItemResponse |
The RPC response. |
RemoveCollectionItemAsync(RemoveCollectionItemRequest, CallSettings)
public override Task<RemoveCollectionItemResponse> RemoveCollectionItemAsync(RemoveCollectionItemRequest request, CallSettings callSettings = null)Removes an item from a collection.
| Parameters | |
|---|---|
| Name | Description |
request |
RemoveCollectionItemRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskRemoveCollectionItemResponse |
A Task containing the RPC response. |
RemoveIndexAsset(RemoveIndexAssetRequest, CallSettings)
public override Operation<RemoveIndexAssetResponse, RemoveIndexAssetMetadata> RemoveIndexAsset(RemoveIndexAssetRequest request, CallSettings callSettings = null)Remove one asset's index data for search. Supported corpus type: Corpus.Type.VIDEO_ON_DEMAND
| Parameters | |
|---|---|
| Name | Description |
request |
RemoveIndexAssetRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationRemoveIndexAssetResponseRemoveIndexAssetMetadata |
The RPC response. |
RemoveIndexAssetAsync(RemoveIndexAssetRequest, CallSettings)
public override Task<Operation<RemoveIndexAssetResponse, RemoveIndexAssetMetadata>> RemoveIndexAssetAsync(RemoveIndexAssetRequest request, CallSettings callSettings = null)Remove one asset's index data for search. Supported corpus type: Corpus.Type.VIDEO_ON_DEMAND
| Parameters | |
|---|---|
| Name | Description |
request |
RemoveIndexAssetRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationRemoveIndexAssetResponseRemoveIndexAssetMetadata |
A Task containing the RPC response. |
SearchAssets(SearchAssetsRequest, CallSettings)
public override PagedEnumerable<SearchAssetsResponse, SearchResultItem> SearchAssets(SearchAssetsRequest request, CallSettings callSettings = null)Search media asset.
| Parameters | |
|---|---|
| Name | Description |
request |
SearchAssetsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableSearchAssetsResponseSearchResultItem |
A pageable sequence of SearchResultItem resources. |
SearchAssetsAsync(SearchAssetsRequest, CallSettings)
public override PagedAsyncEnumerable<SearchAssetsResponse, SearchResultItem> SearchAssetsAsync(SearchAssetsRequest request, CallSettings callSettings = null)Search media asset.
| Parameters | |
|---|---|
| Name | Description |
request |
SearchAssetsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableSearchAssetsResponseSearchResultItem |
A pageable asynchronous sequence of SearchResultItem resources. |
SearchIndexEndpoint(SearchIndexEndpointRequest, CallSettings)
public override PagedEnumerable<SearchIndexEndpointResponse, SearchResultItem> SearchIndexEndpoint(SearchIndexEndpointRequest request, CallSettings callSettings = null)Search a deployed index endpoint (IMAGE corpus type only).
| Parameters | |
|---|---|
| Name | Description |
request |
SearchIndexEndpointRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableSearchIndexEndpointResponseSearchResultItem |
A pageable sequence of SearchResultItem resources. |
SearchIndexEndpointAsync(SearchIndexEndpointRequest, CallSettings)
public override PagedAsyncEnumerable<SearchIndexEndpointResponse, SearchResultItem> SearchIndexEndpointAsync(SearchIndexEndpointRequest request, CallSettings callSettings = null)Search a deployed index endpoint (IMAGE corpus type only).
| Parameters | |
|---|---|
| Name | Description |
request |
SearchIndexEndpointRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableSearchIndexEndpointResponseSearchResultItem |
A pageable asynchronous sequence of SearchResultItem resources. |
UndeployIndex(UndeployIndexRequest, CallSettings)
public override Operation<UndeployIndexResponse, UndeployIndexMetadata> UndeployIndex(UndeployIndexRequest request, CallSettings callSettings = null)Undeploys an Index from IndexEndpoint.
| Parameters | |
|---|---|
| Name | Description |
request |
UndeployIndexRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationUndeployIndexResponseUndeployIndexMetadata |
The RPC response. |
UndeployIndexAsync(UndeployIndexRequest, CallSettings)
public override Task<Operation<UndeployIndexResponse, UndeployIndexMetadata>> UndeployIndexAsync(UndeployIndexRequest request, CallSettings callSettings = null)Undeploys an Index from IndexEndpoint.
| Parameters | |
|---|---|
| Name | Description |
request |
UndeployIndexRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationUndeployIndexResponseUndeployIndexMetadata |
A Task containing the RPC response. |
UpdateAnnotation(UpdateAnnotationRequest, CallSettings)
public override Annotation UpdateAnnotation(UpdateAnnotationRequest request, CallSettings callSettings = null)Updates annotation inside asset.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateAnnotationRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Annotation |
The RPC response. |
UpdateAnnotationAsync(UpdateAnnotationRequest, CallSettings)
public override Task<Annotation> UpdateAnnotationAsync(UpdateAnnotationRequest request, CallSettings callSettings = null)Updates annotation inside asset.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateAnnotationRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskAnnotation |
A Task containing the RPC response. |
UpdateAsset(UpdateAssetRequest, CallSettings)
public override Asset UpdateAsset(UpdateAssetRequest request, CallSettings callSettings = null)Updates an asset inside corpus.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateAssetRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Asset |
The RPC response. |
UpdateAssetAsync(UpdateAssetRequest, CallSettings)
public override Task<Asset> UpdateAssetAsync(UpdateAssetRequest request, CallSettings callSettings = null)Updates an asset inside corpus.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateAssetRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskAsset |
A Task containing the RPC response. |
UpdateCollection(UpdateCollectionRequest, CallSettings)
public override Collection UpdateCollection(UpdateCollectionRequest request, CallSettings callSettings = null)Updates a collection.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateCollectionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Collection |
The RPC response. |
UpdateCollectionAsync(UpdateCollectionRequest, CallSettings)
public override Task<Collection> UpdateCollectionAsync(UpdateCollectionRequest request, CallSettings callSettings = null)Updates a collection.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateCollectionRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskCollection |
A Task containing the RPC response. |
UpdateCorpus(UpdateCorpusRequest, CallSettings)
public override Corpus UpdateCorpus(UpdateCorpusRequest request, CallSettings callSettings = null)Updates a corpus in a project.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateCorpusRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Corpus |
The RPC response. |
UpdateCorpusAsync(UpdateCorpusRequest, CallSettings)
public override Task<Corpus> UpdateCorpusAsync(UpdateCorpusRequest request, CallSettings callSettings = null)Updates a corpus in a project.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateCorpusRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskCorpus |
A Task containing the RPC response. |
UpdateDataSchema(UpdateDataSchemaRequest, CallSettings)
public override DataSchema UpdateDataSchema(UpdateDataSchemaRequest request, CallSettings callSettings = null)Updates data schema inside corpus.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateDataSchemaRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
DataSchema |
The RPC response. |
UpdateDataSchemaAsync(UpdateDataSchemaRequest, CallSettings)
public override Task<DataSchema> UpdateDataSchemaAsync(UpdateDataSchemaRequest request, CallSettings callSettings = null)Updates data schema inside corpus.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateDataSchemaRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskDataSchema |
A Task containing the RPC response. |
UpdateIndex(UpdateIndexRequest, CallSettings)
public override Operation<Index, UpdateIndexMetadata> UpdateIndex(UpdateIndexRequest request, CallSettings callSettings = null)Updates an Index under the corpus. Users can perform a metadata-only update or trigger a full index rebuild with different update_mask values.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateIndexRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationIndexUpdateIndexMetadata |
The RPC response. |
UpdateIndexAsync(UpdateIndexRequest, CallSettings)
public override Task<Operation<Index, UpdateIndexMetadata>> UpdateIndexAsync(UpdateIndexRequest request, CallSettings callSettings = null)Updates an Index under the corpus. Users can perform a metadata-only update or trigger a full index rebuild with different update_mask values.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateIndexRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationIndexUpdateIndexMetadata |
A Task containing the RPC response. |
UpdateIndexEndpoint(UpdateIndexEndpointRequest, CallSettings)
public override Operation<IndexEndpoint, UpdateIndexEndpointMetadata> UpdateIndexEndpoint(UpdateIndexEndpointRequest request, CallSettings callSettings = null)Updates an IndexEndpoint.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateIndexEndpointRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationIndexEndpointUpdateIndexEndpointMetadata |
The RPC response. |
UpdateIndexEndpointAsync(UpdateIndexEndpointRequest, CallSettings)
public override Task<Operation<IndexEndpoint, UpdateIndexEndpointMetadata>> UpdateIndexEndpointAsync(UpdateIndexEndpointRequest request, CallSettings callSettings = null)Updates an IndexEndpoint.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateIndexEndpointRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationIndexEndpointUpdateIndexEndpointMetadata |
A Task containing the RPC response. |
UpdateSearchConfig(UpdateSearchConfigRequest, CallSettings)
public override SearchConfig UpdateSearchConfig(UpdateSearchConfigRequest request, CallSettings callSettings = null)Updates a search configuration inside a corpus.
Please follow the rules below to create a valid UpdateSearchConfigRequest. --- General Rules ---
- Request.search_configuration.name must already exist.
- Request must contain at least one non-empty search_criteria_property or facet_property.
- mapped_fields must not be empty, and must map to existing UGA keys.
- All mapped_fields must be of the same type.
- All mapped_fields must share the same granularity.
- All mapped_fields must share the same semantic SearchConfig match options. For property-specific rules, please reference the comments for FacetProperty and SearchCriteriaProperty.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateSearchConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
SearchConfig |
The RPC response. |
UpdateSearchConfigAsync(UpdateSearchConfigRequest, CallSettings)
public override Task<SearchConfig> UpdateSearchConfigAsync(UpdateSearchConfigRequest request, CallSettings callSettings = null)Updates a search configuration inside a corpus.
Please follow the rules below to create a valid UpdateSearchConfigRequest. --- General Rules ---
- Request.search_configuration.name must already exist.
- Request must contain at least one non-empty search_criteria_property or facet_property.
- mapped_fields must not be empty, and must map to existing UGA keys.
- All mapped_fields must be of the same type.
- All mapped_fields must share the same granularity.
- All mapped_fields must share the same semantic SearchConfig match options. For property-specific rules, please reference the comments for FacetProperty and SearchCriteriaProperty.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateSearchConfigRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskSearchConfig |
A Task containing the RPC response. |
UpdateSearchHypernym(UpdateSearchHypernymRequest, CallSettings)
public override SearchHypernym UpdateSearchHypernym(UpdateSearchHypernymRequest request, CallSettings callSettings = null)Updates a SearchHypernym inside a corpus.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateSearchHypernymRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
SearchHypernym |
The RPC response. |
UpdateSearchHypernymAsync(UpdateSearchHypernymRequest, CallSettings)
public override Task<SearchHypernym> UpdateSearchHypernymAsync(UpdateSearchHypernymRequest request, CallSettings callSettings = null)Updates a SearchHypernym inside a corpus.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateSearchHypernymRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskSearchHypernym |
A Task containing the RPC response. |
UploadAsset(UploadAssetRequest, CallSettings)
public override Operation<UploadAssetResponse, UploadAssetMetadata> UploadAsset(UploadAssetRequest request, CallSettings callSettings = null)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.
| Parameters | |
|---|---|
| Name | Description |
request |
UploadAssetRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
OperationUploadAssetResponseUploadAssetMetadata |
The RPC response. |
UploadAssetAsync(UploadAssetRequest, CallSettings)
public override Task<Operation<UploadAssetResponse, UploadAssetMetadata>> UploadAssetAsync(UploadAssetRequest request, CallSettings callSettings = null)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.
| Parameters | |
|---|---|
| Name | Description |
request |
UploadAssetRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TaskOperationUploadAssetResponseUploadAssetMetadata |
A Task containing the RPC response. |
ViewCollectionItems(ViewCollectionItemsRequest, CallSettings)
public override PagedEnumerable<ViewCollectionItemsResponse, CollectionItem> ViewCollectionItems(ViewCollectionItemsRequest request, CallSettings callSettings = null)View items inside a collection.
| Parameters | |
|---|---|
| Name | Description |
request |
ViewCollectionItemsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableViewCollectionItemsResponseCollectionItem |
A pageable sequence of CollectionItem resources. |
ViewCollectionItemsAsync(ViewCollectionItemsRequest, CallSettings)
public override PagedAsyncEnumerable<ViewCollectionItemsResponse, CollectionItem> ViewCollectionItemsAsync(ViewCollectionItemsRequest request, CallSettings callSettings = null)View items inside a collection.
| Parameters | |
|---|---|
| Name | Description |
request |
ViewCollectionItemsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableViewCollectionItemsResponseCollectionItem |
A pageable asynchronous sequence of CollectionItem resources. |
ViewIndexedAssets(ViewIndexedAssetsRequest, CallSettings)
public override PagedEnumerable<ViewIndexedAssetsResponse, IndexedAsset> ViewIndexedAssets(ViewIndexedAssetsRequest request, CallSettings callSettings = null)Lists assets inside an index.
| Parameters | |
|---|---|
| Name | Description |
request |
ViewIndexedAssetsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerableViewIndexedAssetsResponseIndexedAsset |
A pageable sequence of IndexedAsset resources. |
ViewIndexedAssetsAsync(ViewIndexedAssetsRequest, CallSettings)
public override PagedAsyncEnumerable<ViewIndexedAssetsResponse, IndexedAsset> ViewIndexedAssetsAsync(ViewIndexedAssetsRequest request, CallSettings callSettings = null)Lists assets inside an index.
| Parameters | |
|---|---|
| Name | Description |
request |
ViewIndexedAssetsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerableViewIndexedAssetsResponseIndexedAsset |
A pageable asynchronous sequence of IndexedAsset resources. |