Vision AI V1 API - Class Google::Cloud::VisionAI::V1::Warehouse::Rest::ServiceStub (v0.1.0)

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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#analyze_asset

def analyze_asset(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the analyze_asset REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#analyze_corpus

def analyze_corpus(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the analyze_corpus REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
  • 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.
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
  • 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.
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#create_collection

def create_collection(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the create_collection REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#create_corpus

def create_corpus(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the create_corpus REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#create_index

def create_index(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the create_index REST call

Parameters
  • 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.
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#delete_annotation

def delete_annotation(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty

Baseline implementation for the delete_annotation REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#delete_asset

def delete_asset(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the delete_asset REST call

Parameters
  • 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.
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#delete_collection

def delete_collection(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the delete_collection REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#delete_corpus

def delete_corpus(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty

Baseline implementation for the delete_corpus REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#delete_index

def delete_index(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the delete_index REST call

Parameters
  • 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.
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#deploy_index

def deploy_index(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the deploy_index REST call

Parameters
  • 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.
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#endpoint

def endpoint() -> String

The effective endpoint

Returns
  • (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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
  • 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.
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
  • 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.
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
  • 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.
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#import_assets

def import_assets(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the import_assets REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#index_asset

def index_asset(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the index_asset REST call

Parameters
  • 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.
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#initialize

def initialize(endpoint:, endpoint_template:, universe_domain:, credentials:) -> ServiceStub
Returns

#list_annotations

def list_annotations(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::VisionAI::V1::ListAnnotationsResponse

Baseline implementation for the list_annotations REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
  • 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.
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
  • 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.
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
  • 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.
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#undeploy_index

def undeploy_index(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the undeploy_index REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#universe_domain

def universe_domain() -> String

The effective universe domain

Returns
  • (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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
  • 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.
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#update_index

def update_index(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the update_index REST call

Parameters
  • 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.
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#upload_asset

def upload_asset(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation

Baseline implementation for the upload_asset REST call

Parameters
  • 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.
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)