Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::Warehouse::Rest::ServiceStub.
REST service stub for the Warehouse service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.
Inherits
- Object
Methods
#add_collection_item
def add_collection_item(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VisionAI::V1::AddCollectionItemResponse
Baseline implementation for the add_collection_item REST call
- request_pb (::Google::Cloud::VisionAI::V1::AddCollectionItemRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::VisionAI::V1::AddCollectionItemResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VisionAI::V1::AddCollectionItemResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#analyze_asset
def analyze_asset(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the analyze_asset REST call
- request_pb (::Google::Cloud::VisionAI::V1::AnalyzeAssetRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#analyze_corpus
def analyze_corpus(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the analyze_corpus REST call
- request_pb (::Google::Cloud::VisionAI::V1::AnalyzeCorpusRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#clip_asset
def clip_asset(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VisionAI::V1::ClipAssetResponse
Baseline implementation for the clip_asset REST call
- request_pb (::Google::Cloud::VisionAI::V1::ClipAssetRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::VisionAI::V1::ClipAssetResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VisionAI::V1::ClipAssetResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#create_annotation
def create_annotation(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VisionAI::V1::Annotation
Baseline implementation for the create_annotation REST call
- request_pb (::Google::Cloud::VisionAI::V1::CreateAnnotationRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::VisionAI::V1::Annotation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VisionAI::V1::Annotation) — A result object deserialized from the server's reply
- (::ArgumentError)
#create_asset
def create_asset(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VisionAI::V1::Asset
Baseline implementation for the create_asset REST call
- request_pb (::Google::Cloud::VisionAI::V1::CreateAssetRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::VisionAI::V1::Asset)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VisionAI::V1::Asset) — A result object deserialized from the server's reply
- (::ArgumentError)
#create_collection
def create_collection(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_collection REST call
- request_pb (::Google::Cloud::VisionAI::V1::CreateCollectionRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#create_corpus
def create_corpus(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_corpus REST call
- request_pb (::Google::Cloud::VisionAI::V1::CreateCorpusRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#create_data_schema
def create_data_schema(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VisionAI::V1::DataSchema
Baseline implementation for the create_data_schema REST call
- request_pb (::Google::Cloud::VisionAI::V1::CreateDataSchemaRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::VisionAI::V1::DataSchema)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VisionAI::V1::DataSchema) — A result object deserialized from the server's reply
- (::ArgumentError)
#create_index
def create_index(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_index REST call
- request_pb (::Google::Cloud::VisionAI::V1::CreateIndexRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#create_index_endpoint
def create_index_endpoint(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_index_endpoint REST call
- request_pb (::Google::Cloud::VisionAI::V1::CreateIndexEndpointRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#create_search_config
def create_search_config(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VisionAI::V1::SearchConfig
Baseline implementation for the create_search_config REST call
- request_pb (::Google::Cloud::VisionAI::V1::CreateSearchConfigRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::VisionAI::V1::SearchConfig)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VisionAI::V1::SearchConfig) — A result object deserialized from the server's reply
- (::ArgumentError)
#create_search_hypernym
def create_search_hypernym(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VisionAI::V1::SearchHypernym
Baseline implementation for the create_search_hypernym REST call
- request_pb (::Google::Cloud::VisionAI::V1::CreateSearchHypernymRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::VisionAI::V1::SearchHypernym)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VisionAI::V1::SearchHypernym) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_annotation
def delete_annotation(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty
Baseline implementation for the delete_annotation REST call
- request_pb (::Google::Cloud::VisionAI::V1::DeleteAnnotationRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Protobuf::Empty)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Protobuf::Empty) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_asset
def delete_asset(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_asset REST call
- request_pb (::Google::Cloud::VisionAI::V1::DeleteAssetRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_collection
def delete_collection(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_collection REST call
- request_pb (::Google::Cloud::VisionAI::V1::DeleteCollectionRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_corpus
def delete_corpus(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty
Baseline implementation for the delete_corpus REST call
- request_pb (::Google::Cloud::VisionAI::V1::DeleteCorpusRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Protobuf::Empty)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Protobuf::Empty) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_data_schema
def delete_data_schema(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty
Baseline implementation for the delete_data_schema REST call
- request_pb (::Google::Cloud::VisionAI::V1::DeleteDataSchemaRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Protobuf::Empty)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Protobuf::Empty) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_index
def delete_index(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_index REST call
- request_pb (::Google::Cloud::VisionAI::V1::DeleteIndexRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_index_endpoint
def delete_index_endpoint(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_index_endpoint REST call
- request_pb (::Google::Cloud::VisionAI::V1::DeleteIndexEndpointRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_search_config
def delete_search_config(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty
Baseline implementation for the delete_search_config REST call
- request_pb (::Google::Cloud::VisionAI::V1::DeleteSearchConfigRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Protobuf::Empty)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Protobuf::Empty) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_search_hypernym
def delete_search_hypernym(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty
Baseline implementation for the delete_search_hypernym REST call
- request_pb (::Google::Cloud::VisionAI::V1::DeleteSearchHypernymRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Protobuf::Empty)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Protobuf::Empty) — A result object deserialized from the server's reply
- (::ArgumentError)
#deploy_index
def deploy_index(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the deploy_index REST call
- request_pb (::Google::Cloud::VisionAI::V1::DeployIndexRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#endpoint
def endpoint() -> String
The effective endpoint
- (String)
#generate_hls_uri
def generate_hls_uri(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VisionAI::V1::GenerateHlsUriResponse
Baseline implementation for the generate_hls_uri REST call
- request_pb (::Google::Cloud::VisionAI::V1::GenerateHlsUriRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::VisionAI::V1::GenerateHlsUriResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VisionAI::V1::GenerateHlsUriResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#generate_retrieval_url
def generate_retrieval_url(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VisionAI::V1::GenerateRetrievalUrlResponse
Baseline implementation for the generate_retrieval_url REST call
- request_pb (::Google::Cloud::VisionAI::V1::GenerateRetrievalUrlRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::VisionAI::V1::GenerateRetrievalUrlResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VisionAI::V1::GenerateRetrievalUrlResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_annotation
def get_annotation(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VisionAI::V1::Annotation
Baseline implementation for the get_annotation REST call
- request_pb (::Google::Cloud::VisionAI::V1::GetAnnotationRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::VisionAI::V1::Annotation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VisionAI::V1::Annotation) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_asset
def get_asset(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VisionAI::V1::Asset
Baseline implementation for the get_asset REST call
- request_pb (::Google::Cloud::VisionAI::V1::GetAssetRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::VisionAI::V1::Asset)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VisionAI::V1::Asset) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_collection
def get_collection(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VisionAI::V1::Collection
Baseline implementation for the get_collection REST call
- request_pb (::Google::Cloud::VisionAI::V1::GetCollectionRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::VisionAI::V1::Collection)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VisionAI::V1::Collection) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_corpus
def get_corpus(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VisionAI::V1::Corpus
Baseline implementation for the get_corpus REST call
- request_pb (::Google::Cloud::VisionAI::V1::GetCorpusRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::VisionAI::V1::Corpus)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VisionAI::V1::Corpus) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_data_schema
def get_data_schema(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VisionAI::V1::DataSchema
Baseline implementation for the get_data_schema REST call
- request_pb (::Google::Cloud::VisionAI::V1::GetDataSchemaRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::VisionAI::V1::DataSchema)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VisionAI::V1::DataSchema) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_index
def get_index(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VisionAI::V1::Index
Baseline implementation for the get_index REST call
- request_pb (::Google::Cloud::VisionAI::V1::GetIndexRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::VisionAI::V1::Index)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VisionAI::V1::Index) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_index_endpoint
def get_index_endpoint(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VisionAI::V1::IndexEndpoint
Baseline implementation for the get_index_endpoint REST call
- request_pb (::Google::Cloud::VisionAI::V1::GetIndexEndpointRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::VisionAI::V1::IndexEndpoint)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VisionAI::V1::IndexEndpoint) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_search_config
def get_search_config(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VisionAI::V1::SearchConfig
Baseline implementation for the get_search_config REST call
- request_pb (::Google::Cloud::VisionAI::V1::GetSearchConfigRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::VisionAI::V1::SearchConfig)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VisionAI::V1::SearchConfig) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_search_hypernym
def get_search_hypernym(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VisionAI::V1::SearchHypernym
Baseline implementation for the get_search_hypernym REST call
- request_pb (::Google::Cloud::VisionAI::V1::GetSearchHypernymRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::VisionAI::V1::SearchHypernym)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VisionAI::V1::SearchHypernym) — A result object deserialized from the server's reply
- (::ArgumentError)
#import_assets
def import_assets(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the import_assets REST call
- request_pb (::Google::Cloud::VisionAI::V1::ImportAssetsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#index_asset
def index_asset(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the index_asset REST call
- request_pb (::Google::Cloud::VisionAI::V1::IndexAssetRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_annotations
def list_annotations(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VisionAI::V1::ListAnnotationsResponse
Baseline implementation for the list_annotations REST call
- request_pb (::Google::Cloud::VisionAI::V1::ListAnnotationsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::VisionAI::V1::ListAnnotationsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VisionAI::V1::ListAnnotationsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_assets
def list_assets(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VisionAI::V1::ListAssetsResponse
Baseline implementation for the list_assets REST call
- request_pb (::Google::Cloud::VisionAI::V1::ListAssetsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::VisionAI::V1::ListAssetsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VisionAI::V1::ListAssetsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_collections
def list_collections(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VisionAI::V1::ListCollectionsResponse
Baseline implementation for the list_collections REST call
- request_pb (::Google::Cloud::VisionAI::V1::ListCollectionsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::VisionAI::V1::ListCollectionsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VisionAI::V1::ListCollectionsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_corpora
def list_corpora(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VisionAI::V1::ListCorporaResponse
Baseline implementation for the list_corpora REST call
- request_pb (::Google::Cloud::VisionAI::V1::ListCorporaRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::VisionAI::V1::ListCorporaResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VisionAI::V1::ListCorporaResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_data_schemas
def list_data_schemas(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VisionAI::V1::ListDataSchemasResponse
Baseline implementation for the list_data_schemas REST call
- request_pb (::Google::Cloud::VisionAI::V1::ListDataSchemasRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::VisionAI::V1::ListDataSchemasResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VisionAI::V1::ListDataSchemasResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_index_endpoints
def list_index_endpoints(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VisionAI::V1::ListIndexEndpointsResponse
Baseline implementation for the list_index_endpoints REST call
- request_pb (::Google::Cloud::VisionAI::V1::ListIndexEndpointsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::VisionAI::V1::ListIndexEndpointsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VisionAI::V1::ListIndexEndpointsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_indexes
def list_indexes(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VisionAI::V1::ListIndexesResponse
Baseline implementation for the list_indexes REST call
- request_pb (::Google::Cloud::VisionAI::V1::ListIndexesRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::VisionAI::V1::ListIndexesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VisionAI::V1::ListIndexesResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_search_configs
def list_search_configs(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VisionAI::V1::ListSearchConfigsResponse
Baseline implementation for the list_search_configs REST call
- request_pb (::Google::Cloud::VisionAI::V1::ListSearchConfigsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::VisionAI::V1::ListSearchConfigsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VisionAI::V1::ListSearchConfigsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_search_hypernyms
def list_search_hypernyms(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VisionAI::V1::ListSearchHypernymsResponse
Baseline implementation for the list_search_hypernyms REST call
- request_pb (::Google::Cloud::VisionAI::V1::ListSearchHypernymsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::VisionAI::V1::ListSearchHypernymsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VisionAI::V1::ListSearchHypernymsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#logger
def logger(stub: false) -> Logger
The logger used for request/response debug logging.
- (Logger)
#remove_collection_item
def remove_collection_item(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VisionAI::V1::RemoveCollectionItemResponse
Baseline implementation for the remove_collection_item REST call
- request_pb (::Google::Cloud::VisionAI::V1::RemoveCollectionItemRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::VisionAI::V1::RemoveCollectionItemResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VisionAI::V1::RemoveCollectionItemResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#remove_index_asset
def remove_index_asset(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the remove_index_asset REST call
- request_pb (::Google::Cloud::VisionAI::V1::RemoveIndexAssetRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#search_assets
def search_assets(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VisionAI::V1::SearchAssetsResponse
Baseline implementation for the search_assets REST call
- request_pb (::Google::Cloud::VisionAI::V1::SearchAssetsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::VisionAI::V1::SearchAssetsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VisionAI::V1::SearchAssetsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#search_index_endpoint
def search_index_endpoint(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VisionAI::V1::SearchIndexEndpointResponse
Baseline implementation for the search_index_endpoint REST call
- request_pb (::Google::Cloud::VisionAI::V1::SearchIndexEndpointRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::VisionAI::V1::SearchIndexEndpointResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VisionAI::V1::SearchIndexEndpointResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#undeploy_index
def undeploy_index(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the undeploy_index REST call
- request_pb (::Google::Cloud::VisionAI::V1::UndeployIndexRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#universe_domain
def universe_domain() -> String
The effective universe domain
- (String)
#update_annotation
def update_annotation(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VisionAI::V1::Annotation
Baseline implementation for the update_annotation REST call
- request_pb (::Google::Cloud::VisionAI::V1::UpdateAnnotationRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::VisionAI::V1::Annotation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VisionAI::V1::Annotation) — A result object deserialized from the server's reply
- (::ArgumentError)
#update_asset
def update_asset(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VisionAI::V1::Asset
Baseline implementation for the update_asset REST call
- request_pb (::Google::Cloud::VisionAI::V1::UpdateAssetRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::VisionAI::V1::Asset)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VisionAI::V1::Asset) — A result object deserialized from the server's reply
- (::ArgumentError)
#update_collection
def update_collection(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VisionAI::V1::Collection
Baseline implementation for the update_collection REST call
- request_pb (::Google::Cloud::VisionAI::V1::UpdateCollectionRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::VisionAI::V1::Collection)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VisionAI::V1::Collection) — A result object deserialized from the server's reply
- (::ArgumentError)
#update_corpus
def update_corpus(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VisionAI::V1::Corpus
Baseline implementation for the update_corpus REST call
- request_pb (::Google::Cloud::VisionAI::V1::UpdateCorpusRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::VisionAI::V1::Corpus)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VisionAI::V1::Corpus) — A result object deserialized from the server's reply
- (::ArgumentError)
#update_data_schema
def update_data_schema(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VisionAI::V1::DataSchema
Baseline implementation for the update_data_schema REST call
- request_pb (::Google::Cloud::VisionAI::V1::UpdateDataSchemaRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::VisionAI::V1::DataSchema)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VisionAI::V1::DataSchema) — A result object deserialized from the server's reply
- (::ArgumentError)
#update_index
def update_index(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the update_index REST call
- request_pb (::Google::Cloud::VisionAI::V1::UpdateIndexRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#update_index_endpoint
def update_index_endpoint(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the update_index_endpoint REST call
- request_pb (::Google::Cloud::VisionAI::V1::UpdateIndexEndpointRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#update_search_config
def update_search_config(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VisionAI::V1::SearchConfig
Baseline implementation for the update_search_config REST call
- request_pb (::Google::Cloud::VisionAI::V1::UpdateSearchConfigRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::VisionAI::V1::SearchConfig)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VisionAI::V1::SearchConfig) — A result object deserialized from the server's reply
- (::ArgumentError)
#update_search_hypernym
def update_search_hypernym(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VisionAI::V1::SearchHypernym
Baseline implementation for the update_search_hypernym REST call
- request_pb (::Google::Cloud::VisionAI::V1::UpdateSearchHypernymRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::VisionAI::V1::SearchHypernym)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VisionAI::V1::SearchHypernym) — A result object deserialized from the server's reply
- (::ArgumentError)
#upload_asset
def upload_asset(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the upload_asset REST call
- request_pb (::Google::Cloud::VisionAI::V1::UploadAssetRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#view_collection_items
def view_collection_items(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VisionAI::V1::ViewCollectionItemsResponse
Baseline implementation for the view_collection_items REST call
- request_pb (::Google::Cloud::VisionAI::V1::ViewCollectionItemsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::VisionAI::V1::ViewCollectionItemsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VisionAI::V1::ViewCollectionItemsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#view_indexed_assets
def view_indexed_assets(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VisionAI::V1::ViewIndexedAssetsResponse
Baseline implementation for the view_indexed_assets REST call
- request_pb (::Google::Cloud::VisionAI::V1::ViewIndexedAssetsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::VisionAI::V1::ViewIndexedAssetsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::VisionAI::V1::ViewIndexedAssetsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)