Summary of entries of Methods for vision.
google.cloud.vision_v1.services.image_annotator.ImageAnnotatorAsyncClient
ImageAnnotatorAsyncClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.vision_v1.services.image_annotator.transports.base.ImageAnnotatorTransport, typing.Callable[[...], google.cloud.vision_v1.services.image_annotator.transports.base.ImageAnnotatorTransport]]] = 'grpc_asyncio', client_options: typing.Optional[google.api_core.client_options.ClientOptions] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the image annotator async client.
See more: google.cloud.vision_v1.services.image_annotator.ImageAnnotatorAsyncClient
google.cloud.vision_v1.services.image_annotator.ImageAnnotatorAsyncClient.async_batch_annotate_files
async_batch_annotate_files(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1.types.image_annotator.AsyncBatchAnnotateFilesRequest,
dict,
]
] = None,
*,
requests: typing.Optional[
typing.MutableSequence[
google.cloud.vision_v1.types.image_annotator.AsyncAnnotateFileRequest
]
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.operation_async.AsyncOperation
Run asynchronous image detection and annotation for a list of generic files, such as PDF files, which may contain multiple pages and multiple images per page.
See more: google.cloud.vision_v1.services.image_annotator.ImageAnnotatorAsyncClient.async_batch_annotate_files
google.cloud.vision_v1.services.image_annotator.ImageAnnotatorAsyncClient.async_batch_annotate_images
async_batch_annotate_images(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1.types.image_annotator.AsyncBatchAnnotateImagesRequest,
dict,
]
] = None,
*,
requests: typing.Optional[
typing.MutableSequence[
google.cloud.vision_v1.types.image_annotator.AnnotateImageRequest
]
] = None,
output_config: typing.Optional[
google.cloud.vision_v1.types.image_annotator.OutputConfig
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.operation_async.AsyncOperation
Run asynchronous image detection and annotation for a list of images.
google.cloud.vision_v1.services.image_annotator.ImageAnnotatorAsyncClient.batch_annotate_files
batch_annotate_files(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1.types.image_annotator.BatchAnnotateFilesRequest, dict
]
] = None,
*,
requests: typing.Optional[
typing.MutableSequence[
google.cloud.vision_v1.types.image_annotator.AnnotateFileRequest
]
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.vision_v1.types.image_annotator.BatchAnnotateFilesResponse
Service that performs image detection and annotation for a batch of files.
See more: google.cloud.vision_v1.services.image_annotator.ImageAnnotatorAsyncClient.batch_annotate_files
google.cloud.vision_v1.services.image_annotator.ImageAnnotatorAsyncClient.batch_annotate_images
batch_annotate_images(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1.types.image_annotator.BatchAnnotateImagesRequest,
dict,
]
] = None,
*,
requests: typing.Optional[
typing.MutableSequence[
google.cloud.vision_v1.types.image_annotator.AnnotateImageRequest
]
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.vision_v1.types.image_annotator.BatchAnnotateImagesResponse
Run image detection and annotation for a batch of images.
See more: google.cloud.vision_v1.services.image_annotator.ImageAnnotatorAsyncClient.batch_annotate_images
google.cloud.vision_v1.services.image_annotator.ImageAnnotatorAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.vision_v1.services.image_annotator.ImageAnnotatorAsyncClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.vision_v1.services.image_annotator.ImageAnnotatorAsyncClient.common_folder_path
google.cloud.vision_v1.services.image_annotator.ImageAnnotatorAsyncClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.vision_v1.services.image_annotator.ImageAnnotatorAsyncClient.common_location_path
google.cloud.vision_v1.services.image_annotator.ImageAnnotatorAsyncClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.vision_v1.services.image_annotator.ImageAnnotatorAsyncClient.common_organization_path
google.cloud.vision_v1.services.image_annotator.ImageAnnotatorAsyncClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.vision_v1.services.image_annotator.ImageAnnotatorAsyncClient.common_project_path
google.cloud.vision_v1.services.image_annotator.ImageAnnotatorAsyncClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
See more: google.cloud.vision_v1.services.image_annotator.ImageAnnotatorAsyncClient.from_service_account_file
google.cloud.vision_v1.services.image_annotator.ImageAnnotatorAsyncClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
See more: google.cloud.vision_v1.services.image_annotator.ImageAnnotatorAsyncClient.from_service_account_info
google.cloud.vision_v1.services.image_annotator.ImageAnnotatorAsyncClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
See more: google.cloud.vision_v1.services.image_annotator.ImageAnnotatorAsyncClient.from_service_account_json
google.cloud.vision_v1.services.image_annotator.ImageAnnotatorAsyncClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Return the API endpoint and client cert source for mutual TLS.
google.cloud.vision_v1.services.image_annotator.ImageAnnotatorAsyncClient.get_operation
get_operation(
request: typing.Optional[
google.longrunning.operations_pb2.GetOperationRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.longrunning.operations_pb2.Operation
Gets the latest state of a long-running operation.
See more: google.cloud.vision_v1.services.image_annotator.ImageAnnotatorAsyncClient.get_operation
google.cloud.vision_v1.services.image_annotator.ImageAnnotatorAsyncClient.get_transport_class
get_transport_class() -> (
typing.Type[
google.cloud.vision_v1.services.image_annotator.transports.base.ImageAnnotatorTransport
]
)
Returns an appropriate transport class.
See more: google.cloud.vision_v1.services.image_annotator.ImageAnnotatorAsyncClient.get_transport_class
google.cloud.vision_v1.services.image_annotator.ImageAnnotatorAsyncClient.parse_common_billing_account_path
parse_common_billing_account_path(path: str) -> typing.Dict[str, str]
Parse a billing_account path into its component segments.
google.cloud.vision_v1.services.image_annotator.ImageAnnotatorAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
See more: google.cloud.vision_v1.services.image_annotator.ImageAnnotatorAsyncClient.parse_common_folder_path
google.cloud.vision_v1.services.image_annotator.ImageAnnotatorAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
See more: google.cloud.vision_v1.services.image_annotator.ImageAnnotatorAsyncClient.parse_common_location_path
google.cloud.vision_v1.services.image_annotator.ImageAnnotatorAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.vision_v1.services.image_annotator.ImageAnnotatorAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
See more: google.cloud.vision_v1.services.image_annotator.ImageAnnotatorAsyncClient.parse_common_project_path
google.cloud.vision_v1.services.image_annotator.ImageAnnotatorAsyncClient.parse_product_path
parse_product_path(path: str) -> typing.Dict[str, str]
Parses a product path into its component segments.
See more: google.cloud.vision_v1.services.image_annotator.ImageAnnotatorAsyncClient.parse_product_path
google.cloud.vision_v1.services.image_annotator.ImageAnnotatorAsyncClient.parse_product_set_path
parse_product_set_path(path: str) -> typing.Dict[str, str]
Parses a product_set path into its component segments.
See more: google.cloud.vision_v1.services.image_annotator.ImageAnnotatorAsyncClient.parse_product_set_path
google.cloud.vision_v1.services.image_annotator.ImageAnnotatorAsyncClient.product_path
product_path(project: str, location: str, product: str) -> str
Returns a fully-qualified product string.
See more: google.cloud.vision_v1.services.image_annotator.ImageAnnotatorAsyncClient.product_path
google.cloud.vision_v1.services.image_annotator.ImageAnnotatorAsyncClient.product_set_path
product_set_path(project: str, location: str, product_set: str) -> str
Returns a fully-qualified product_set string.
See more: google.cloud.vision_v1.services.image_annotator.ImageAnnotatorAsyncClient.product_set_path
google.cloud.vision_v1.services.image_annotator.ImageAnnotatorClient
ImageAnnotatorClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.vision_v1.services.image_annotator.transports.base.ImageAnnotatorTransport, typing.Callable[[...], google.cloud.vision_v1.services.image_annotator.transports.base.ImageAnnotatorTransport]]] = None, client_options: typing.Optional[typing.Union[google.api_core.client_options.ClientOptions, dict]] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the image annotator client.
See more: google.cloud.vision_v1.services.image_annotator.ImageAnnotatorClient
google.cloud.vision_v1.services.image_annotator.ImageAnnotatorClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.vision_v1.services.image_annotator.ImageAnnotatorClient.exit
google.cloud.vision_v1.services.image_annotator.ImageAnnotatorClient.async_batch_annotate_files
async_batch_annotate_files(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1.types.image_annotator.AsyncBatchAnnotateFilesRequest,
dict,
]
] = None,
*,
requests: typing.Optional[
typing.MutableSequence[
google.cloud.vision_v1.types.image_annotator.AsyncAnnotateFileRequest
]
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.operation.Operation
Run asynchronous image detection and annotation for a list of generic files, such as PDF files, which may contain multiple pages and multiple images per page.
See more: google.cloud.vision_v1.services.image_annotator.ImageAnnotatorClient.async_batch_annotate_files
google.cloud.vision_v1.services.image_annotator.ImageAnnotatorClient.async_batch_annotate_images
async_batch_annotate_images(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1.types.image_annotator.AsyncBatchAnnotateImagesRequest,
dict,
]
] = None,
*,
requests: typing.Optional[
typing.MutableSequence[
google.cloud.vision_v1.types.image_annotator.AnnotateImageRequest
]
] = None,
output_config: typing.Optional[
google.cloud.vision_v1.types.image_annotator.OutputConfig
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.operation.Operation
Run asynchronous image detection and annotation for a list of images.
See more: google.cloud.vision_v1.services.image_annotator.ImageAnnotatorClient.async_batch_annotate_images
google.cloud.vision_v1.services.image_annotator.ImageAnnotatorClient.batch_annotate_files
batch_annotate_files(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1.types.image_annotator.BatchAnnotateFilesRequest, dict
]
] = None,
*,
requests: typing.Optional[
typing.MutableSequence[
google.cloud.vision_v1.types.image_annotator.AnnotateFileRequest
]
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.vision_v1.types.image_annotator.BatchAnnotateFilesResponse
Service that performs image detection and annotation for a batch of files.
See more: google.cloud.vision_v1.services.image_annotator.ImageAnnotatorClient.batch_annotate_files
google.cloud.vision_v1.services.image_annotator.ImageAnnotatorClient.batch_annotate_images
batch_annotate_images(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1.types.image_annotator.BatchAnnotateImagesRequest,
dict,
]
] = None,
*,
requests: typing.Optional[
typing.MutableSequence[
google.cloud.vision_v1.types.image_annotator.AnnotateImageRequest
]
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.vision_v1.types.image_annotator.BatchAnnotateImagesResponse
Run image detection and annotation for a batch of images.
See more: google.cloud.vision_v1.services.image_annotator.ImageAnnotatorClient.batch_annotate_images
google.cloud.vision_v1.services.image_annotator.ImageAnnotatorClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
See more: google.cloud.vision_v1.services.image_annotator.ImageAnnotatorClient.common_billing_account_path
google.cloud.vision_v1.services.image_annotator.ImageAnnotatorClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.vision_v1.services.image_annotator.ImageAnnotatorClient.common_folder_path
google.cloud.vision_v1.services.image_annotator.ImageAnnotatorClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.vision_v1.services.image_annotator.ImageAnnotatorClient.common_location_path
google.cloud.vision_v1.services.image_annotator.ImageAnnotatorClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.vision_v1.services.image_annotator.ImageAnnotatorClient.common_organization_path
google.cloud.vision_v1.services.image_annotator.ImageAnnotatorClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.vision_v1.services.image_annotator.ImageAnnotatorClient.common_project_path
google.cloud.vision_v1.services.image_annotator.ImageAnnotatorClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
See more: google.cloud.vision_v1.services.image_annotator.ImageAnnotatorClient.from_service_account_file
google.cloud.vision_v1.services.image_annotator.ImageAnnotatorClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
See more: google.cloud.vision_v1.services.image_annotator.ImageAnnotatorClient.from_service_account_info
google.cloud.vision_v1.services.image_annotator.ImageAnnotatorClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
See more: google.cloud.vision_v1.services.image_annotator.ImageAnnotatorClient.from_service_account_json
google.cloud.vision_v1.services.image_annotator.ImageAnnotatorClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Deprecated.
google.cloud.vision_v1.services.image_annotator.ImageAnnotatorClient.get_operation
get_operation(
request: typing.Optional[
google.longrunning.operations_pb2.GetOperationRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.longrunning.operations_pb2.Operation
Gets the latest state of a long-running operation.
See more: google.cloud.vision_v1.services.image_annotator.ImageAnnotatorClient.get_operation
google.cloud.vision_v1.services.image_annotator.ImageAnnotatorClient.parse_common_billing_account_path
parse_common_billing_account_path(path: str) -> typing.Dict[str, str]
Parse a billing_account path into its component segments.
google.cloud.vision_v1.services.image_annotator.ImageAnnotatorClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
See more: google.cloud.vision_v1.services.image_annotator.ImageAnnotatorClient.parse_common_folder_path
google.cloud.vision_v1.services.image_annotator.ImageAnnotatorClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
See more: google.cloud.vision_v1.services.image_annotator.ImageAnnotatorClient.parse_common_location_path
google.cloud.vision_v1.services.image_annotator.ImageAnnotatorClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
See more: google.cloud.vision_v1.services.image_annotator.ImageAnnotatorClient.parse_common_organization_path
google.cloud.vision_v1.services.image_annotator.ImageAnnotatorClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
See more: google.cloud.vision_v1.services.image_annotator.ImageAnnotatorClient.parse_common_project_path
google.cloud.vision_v1.services.image_annotator.ImageAnnotatorClient.parse_product_path
parse_product_path(path: str) -> typing.Dict[str, str]
Parses a product path into its component segments.
See more: google.cloud.vision_v1.services.image_annotator.ImageAnnotatorClient.parse_product_path
google.cloud.vision_v1.services.image_annotator.ImageAnnotatorClient.parse_product_set_path
parse_product_set_path(path: str) -> typing.Dict[str, str]
Parses a product_set path into its component segments.
See more: google.cloud.vision_v1.services.image_annotator.ImageAnnotatorClient.parse_product_set_path
google.cloud.vision_v1.services.image_annotator.ImageAnnotatorClient.product_path
product_path(project: str, location: str, product: str) -> str
Returns a fully-qualified product string.
See more: google.cloud.vision_v1.services.image_annotator.ImageAnnotatorClient.product_path
google.cloud.vision_v1.services.image_annotator.ImageAnnotatorClient.product_set_path
product_set_path(project: str, location: str, product_set: str) -> str
Returns a fully-qualified product_set string.
See more: google.cloud.vision_v1.services.image_annotator.ImageAnnotatorClient.product_set_path
google.cloud.vision_v1.services.product_search.ProductSearchAsyncClient
ProductSearchAsyncClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.vision_v1.services.product_search.transports.base.ProductSearchTransport, typing.Callable[[...], google.cloud.vision_v1.services.product_search.transports.base.ProductSearchTransport]]] = 'grpc_asyncio', client_options: typing.Optional[google.api_core.client_options.ClientOptions] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the product search async client.
See more: google.cloud.vision_v1.services.product_search.ProductSearchAsyncClient
google.cloud.vision_v1.services.product_search.ProductSearchAsyncClient.add_product_to_product_set
add_product_to_product_set(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1.types.product_search_service.AddProductToProductSetRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
product: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Adds a Product to the specified ProductSet.
See more: google.cloud.vision_v1.services.product_search.ProductSearchAsyncClient.add_product_to_product_set
google.cloud.vision_v1.services.product_search.ProductSearchAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
See more: google.cloud.vision_v1.services.product_search.ProductSearchAsyncClient.common_billing_account_path
google.cloud.vision_v1.services.product_search.ProductSearchAsyncClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.vision_v1.services.product_search.ProductSearchAsyncClient.common_folder_path
google.cloud.vision_v1.services.product_search.ProductSearchAsyncClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.vision_v1.services.product_search.ProductSearchAsyncClient.common_location_path
google.cloud.vision_v1.services.product_search.ProductSearchAsyncClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.vision_v1.services.product_search.ProductSearchAsyncClient.common_organization_path
google.cloud.vision_v1.services.product_search.ProductSearchAsyncClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.vision_v1.services.product_search.ProductSearchAsyncClient.common_project_path
google.cloud.vision_v1.services.product_search.ProductSearchAsyncClient.create_product
create_product(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1.types.product_search_service.CreateProductRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
product: typing.Optional[
google.cloud.vision_v1.types.product_search_service.Product
] = None,
product_id: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.vision_v1.types.product_search_service.Product
Creates and returns a new product resource.
See more: google.cloud.vision_v1.services.product_search.ProductSearchAsyncClient.create_product
google.cloud.vision_v1.services.product_search.ProductSearchAsyncClient.create_product_set
create_product_set(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1.types.product_search_service.CreateProductSetRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
product_set: typing.Optional[
google.cloud.vision_v1.types.product_search_service.ProductSet
] = None,
product_set_id: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.vision_v1.types.product_search_service.ProductSet
Creates and returns a new ProductSet resource.
See more: google.cloud.vision_v1.services.product_search.ProductSearchAsyncClient.create_product_set
google.cloud.vision_v1.services.product_search.ProductSearchAsyncClient.create_reference_image
create_reference_image(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1.types.product_search_service.CreateReferenceImageRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
reference_image: typing.Optional[
google.cloud.vision_v1.types.product_search_service.ReferenceImage
] = None,
reference_image_id: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.vision_v1.types.product_search_service.ReferenceImage
Creates and returns a new ReferenceImage resource.
See more: google.cloud.vision_v1.services.product_search.ProductSearchAsyncClient.create_reference_image
google.cloud.vision_v1.services.product_search.ProductSearchAsyncClient.delete_product
delete_product(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1.types.product_search_service.DeleteProductRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Permanently deletes a product and its reference images.
See more: google.cloud.vision_v1.services.product_search.ProductSearchAsyncClient.delete_product
google.cloud.vision_v1.services.product_search.ProductSearchAsyncClient.delete_product_set
delete_product_set(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1.types.product_search_service.DeleteProductSetRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Permanently deletes a ProductSet.
See more: google.cloud.vision_v1.services.product_search.ProductSearchAsyncClient.delete_product_set
google.cloud.vision_v1.services.product_search.ProductSearchAsyncClient.delete_reference_image
delete_reference_image(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1.types.product_search_service.DeleteReferenceImageRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Permanently deletes a reference image.
See more: google.cloud.vision_v1.services.product_search.ProductSearchAsyncClient.delete_reference_image
google.cloud.vision_v1.services.product_search.ProductSearchAsyncClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
See more: google.cloud.vision_v1.services.product_search.ProductSearchAsyncClient.from_service_account_file
google.cloud.vision_v1.services.product_search.ProductSearchAsyncClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
See more: google.cloud.vision_v1.services.product_search.ProductSearchAsyncClient.from_service_account_info
google.cloud.vision_v1.services.product_search.ProductSearchAsyncClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
See more: google.cloud.vision_v1.services.product_search.ProductSearchAsyncClient.from_service_account_json
google.cloud.vision_v1.services.product_search.ProductSearchAsyncClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Return the API endpoint and client cert source for mutual TLS.
google.cloud.vision_v1.services.product_search.ProductSearchAsyncClient.get_operation
get_operation(
request: typing.Optional[
google.longrunning.operations_pb2.GetOperationRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.longrunning.operations_pb2.Operation
Gets the latest state of a long-running operation.
See more: google.cloud.vision_v1.services.product_search.ProductSearchAsyncClient.get_operation
google.cloud.vision_v1.services.product_search.ProductSearchAsyncClient.get_product
get_product(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1.types.product_search_service.GetProductRequest, dict
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.vision_v1.types.product_search_service.Product
Gets information associated with a Product.
See more: google.cloud.vision_v1.services.product_search.ProductSearchAsyncClient.get_product
google.cloud.vision_v1.services.product_search.ProductSearchAsyncClient.get_product_set
get_product_set(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1.types.product_search_service.GetProductSetRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.vision_v1.types.product_search_service.ProductSet
Gets information associated with a ProductSet.
See more: google.cloud.vision_v1.services.product_search.ProductSearchAsyncClient.get_product_set
google.cloud.vision_v1.services.product_search.ProductSearchAsyncClient.get_reference_image
get_reference_image(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1.types.product_search_service.GetReferenceImageRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.vision_v1.types.product_search_service.ReferenceImage
Gets information associated with a ReferenceImage.
See more: google.cloud.vision_v1.services.product_search.ProductSearchAsyncClient.get_reference_image
google.cloud.vision_v1.services.product_search.ProductSearchAsyncClient.get_transport_class
get_transport_class() -> (
typing.Type[
google.cloud.vision_v1.services.product_search.transports.base.ProductSearchTransport
]
)
Returns an appropriate transport class.
See more: google.cloud.vision_v1.services.product_search.ProductSearchAsyncClient.get_transport_class
google.cloud.vision_v1.services.product_search.ProductSearchAsyncClient.import_product_sets
import_product_sets(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1.types.product_search_service.ImportProductSetsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
input_config: typing.Optional[
google.cloud.vision_v1.types.product_search_service.ImportProductSetsInputConfig
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.operation_async.AsyncOperation
Asynchronous API that imports a list of reference images to specified product sets based on a list of image information.
See more: google.cloud.vision_v1.services.product_search.ProductSearchAsyncClient.import_product_sets
google.cloud.vision_v1.services.product_search.ProductSearchAsyncClient.list_product_sets
list_product_sets(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1.types.product_search_service.ListProductSetsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.vision_v1.services.product_search.pagers.ListProductSetsAsyncPager
Lists ProductSets in an unspecified order.
See more: google.cloud.vision_v1.services.product_search.ProductSearchAsyncClient.list_product_sets
google.cloud.vision_v1.services.product_search.ProductSearchAsyncClient.list_products
list_products(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1.types.product_search_service.ListProductsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.vision_v1.services.product_search.pagers.ListProductsAsyncPager
Lists products in an unspecified order.
See more: google.cloud.vision_v1.services.product_search.ProductSearchAsyncClient.list_products
google.cloud.vision_v1.services.product_search.ProductSearchAsyncClient.list_products_in_product_set
list_products_in_product_set(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1.types.product_search_service.ListProductsInProductSetRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.vision_v1.services.product_search.pagers.ListProductsInProductSetAsyncPager
)
Lists the Products in a ProductSet, in an unspecified order.
See more: google.cloud.vision_v1.services.product_search.ProductSearchAsyncClient.list_products_in_product_set
google.cloud.vision_v1.services.product_search.ProductSearchAsyncClient.list_reference_images
list_reference_images(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1.types.product_search_service.ListReferenceImagesRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.vision_v1.services.product_search.pagers.ListReferenceImagesAsyncPager
)
Lists reference images.
See more: google.cloud.vision_v1.services.product_search.ProductSearchAsyncClient.list_reference_images
google.cloud.vision_v1.services.product_search.ProductSearchAsyncClient.parse_common_billing_account_path
parse_common_billing_account_path(path: str) -> typing.Dict[str, str]
Parse a billing_account path into its component segments.
google.cloud.vision_v1.services.product_search.ProductSearchAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
See more: google.cloud.vision_v1.services.product_search.ProductSearchAsyncClient.parse_common_folder_path
google.cloud.vision_v1.services.product_search.ProductSearchAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
See more: google.cloud.vision_v1.services.product_search.ProductSearchAsyncClient.parse_common_location_path
google.cloud.vision_v1.services.product_search.ProductSearchAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.vision_v1.services.product_search.ProductSearchAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
See more: google.cloud.vision_v1.services.product_search.ProductSearchAsyncClient.parse_common_project_path
google.cloud.vision_v1.services.product_search.ProductSearchAsyncClient.parse_product_path
parse_product_path(path: str) -> typing.Dict[str, str]
Parses a product path into its component segments.
See more: google.cloud.vision_v1.services.product_search.ProductSearchAsyncClient.parse_product_path
google.cloud.vision_v1.services.product_search.ProductSearchAsyncClient.parse_product_set_path
parse_product_set_path(path: str) -> typing.Dict[str, str]
Parses a product_set path into its component segments.
See more: google.cloud.vision_v1.services.product_search.ProductSearchAsyncClient.parse_product_set_path
google.cloud.vision_v1.services.product_search.ProductSearchAsyncClient.parse_reference_image_path
parse_reference_image_path(path: str) -> typing.Dict[str, str]
Parses a reference_image path into its component segments.
See more: google.cloud.vision_v1.services.product_search.ProductSearchAsyncClient.parse_reference_image_path
google.cloud.vision_v1.services.product_search.ProductSearchAsyncClient.product_path
product_path(project: str, location: str, product: str) -> str
Returns a fully-qualified product string.
See more: google.cloud.vision_v1.services.product_search.ProductSearchAsyncClient.product_path
google.cloud.vision_v1.services.product_search.ProductSearchAsyncClient.product_set_path
product_set_path(project: str, location: str, product_set: str) -> str
Returns a fully-qualified product_set string.
See more: google.cloud.vision_v1.services.product_search.ProductSearchAsyncClient.product_set_path
google.cloud.vision_v1.services.product_search.ProductSearchAsyncClient.purge_products
purge_products(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1.types.product_search_service.PurgeProductsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.operation_async.AsyncOperation
Asynchronous API to delete all Products in a ProductSet or all Products that are in no ProductSet.
See more: google.cloud.vision_v1.services.product_search.ProductSearchAsyncClient.purge_products
google.cloud.vision_v1.services.product_search.ProductSearchAsyncClient.reference_image_path
reference_image_path(
project: str, location: str, product: str, reference_image: str
) -> str
Returns a fully-qualified reference_image string.
See more: google.cloud.vision_v1.services.product_search.ProductSearchAsyncClient.reference_image_path
google.cloud.vision_v1.services.product_search.ProductSearchAsyncClient.remove_product_from_product_set
remove_product_from_product_set(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1.types.product_search_service.RemoveProductFromProductSetRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
product: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Removes a Product from the specified ProductSet.
google.cloud.vision_v1.services.product_search.ProductSearchAsyncClient.update_product
update_product(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1.types.product_search_service.UpdateProductRequest,
dict,
]
] = None,
*,
product: typing.Optional[
google.cloud.vision_v1.types.product_search_service.Product
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.vision_v1.types.product_search_service.Product
Makes changes to a Product resource.
See more: google.cloud.vision_v1.services.product_search.ProductSearchAsyncClient.update_product
google.cloud.vision_v1.services.product_search.ProductSearchAsyncClient.update_product_set
update_product_set(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1.types.product_search_service.UpdateProductSetRequest,
dict,
]
] = None,
*,
product_set: typing.Optional[
google.cloud.vision_v1.types.product_search_service.ProductSet
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.vision_v1.types.product_search_service.ProductSet
Makes changes to a ProductSet resource.
See more: google.cloud.vision_v1.services.product_search.ProductSearchAsyncClient.update_product_set
google.cloud.vision_v1.services.product_search.ProductSearchClient
ProductSearchClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.vision_v1.services.product_search.transports.base.ProductSearchTransport, typing.Callable[[...], google.cloud.vision_v1.services.product_search.transports.base.ProductSearchTransport]]] = None, client_options: typing.Optional[typing.Union[google.api_core.client_options.ClientOptions, dict]] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the product search client.
See more: google.cloud.vision_v1.services.product_search.ProductSearchClient
google.cloud.vision_v1.services.product_search.ProductSearchClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.vision_v1.services.product_search.ProductSearchClient.exit
google.cloud.vision_v1.services.product_search.ProductSearchClient.add_product_to_product_set
add_product_to_product_set(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1.types.product_search_service.AddProductToProductSetRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
product: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Adds a Product to the specified ProductSet.
See more: google.cloud.vision_v1.services.product_search.ProductSearchClient.add_product_to_product_set
google.cloud.vision_v1.services.product_search.ProductSearchClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
See more: google.cloud.vision_v1.services.product_search.ProductSearchClient.common_billing_account_path
google.cloud.vision_v1.services.product_search.ProductSearchClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.vision_v1.services.product_search.ProductSearchClient.common_folder_path
google.cloud.vision_v1.services.product_search.ProductSearchClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.vision_v1.services.product_search.ProductSearchClient.common_location_path
google.cloud.vision_v1.services.product_search.ProductSearchClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.vision_v1.services.product_search.ProductSearchClient.common_organization_path
google.cloud.vision_v1.services.product_search.ProductSearchClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.vision_v1.services.product_search.ProductSearchClient.common_project_path
google.cloud.vision_v1.services.product_search.ProductSearchClient.create_product
create_product(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1.types.product_search_service.CreateProductRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
product: typing.Optional[
google.cloud.vision_v1.types.product_search_service.Product
] = None,
product_id: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.vision_v1.types.product_search_service.Product
Creates and returns a new product resource.
See more: google.cloud.vision_v1.services.product_search.ProductSearchClient.create_product
google.cloud.vision_v1.services.product_search.ProductSearchClient.create_product_set
create_product_set(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1.types.product_search_service.CreateProductSetRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
product_set: typing.Optional[
google.cloud.vision_v1.types.product_search_service.ProductSet
] = None,
product_set_id: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.vision_v1.types.product_search_service.ProductSet
Creates and returns a new ProductSet resource.
See more: google.cloud.vision_v1.services.product_search.ProductSearchClient.create_product_set
google.cloud.vision_v1.services.product_search.ProductSearchClient.create_reference_image
create_reference_image(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1.types.product_search_service.CreateReferenceImageRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
reference_image: typing.Optional[
google.cloud.vision_v1.types.product_search_service.ReferenceImage
] = None,
reference_image_id: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.vision_v1.types.product_search_service.ReferenceImage
Creates and returns a new ReferenceImage resource.
See more: google.cloud.vision_v1.services.product_search.ProductSearchClient.create_reference_image
google.cloud.vision_v1.services.product_search.ProductSearchClient.delete_product
delete_product(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1.types.product_search_service.DeleteProductRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Permanently deletes a product and its reference images.
See more: google.cloud.vision_v1.services.product_search.ProductSearchClient.delete_product
google.cloud.vision_v1.services.product_search.ProductSearchClient.delete_product_set
delete_product_set(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1.types.product_search_service.DeleteProductSetRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Permanently deletes a ProductSet.
See more: google.cloud.vision_v1.services.product_search.ProductSearchClient.delete_product_set
google.cloud.vision_v1.services.product_search.ProductSearchClient.delete_reference_image
delete_reference_image(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1.types.product_search_service.DeleteReferenceImageRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Permanently deletes a reference image.
See more: google.cloud.vision_v1.services.product_search.ProductSearchClient.delete_reference_image
google.cloud.vision_v1.services.product_search.ProductSearchClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
See more: google.cloud.vision_v1.services.product_search.ProductSearchClient.from_service_account_file
google.cloud.vision_v1.services.product_search.ProductSearchClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
See more: google.cloud.vision_v1.services.product_search.ProductSearchClient.from_service_account_info
google.cloud.vision_v1.services.product_search.ProductSearchClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
See more: google.cloud.vision_v1.services.product_search.ProductSearchClient.from_service_account_json
google.cloud.vision_v1.services.product_search.ProductSearchClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Deprecated.
See more: google.cloud.vision_v1.services.product_search.ProductSearchClient.get_mtls_endpoint_and_cert_source
google.cloud.vision_v1.services.product_search.ProductSearchClient.get_operation
get_operation(
request: typing.Optional[
google.longrunning.operations_pb2.GetOperationRequest
] = None,
*,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.longrunning.operations_pb2.Operation
Gets the latest state of a long-running operation.
See more: google.cloud.vision_v1.services.product_search.ProductSearchClient.get_operation
google.cloud.vision_v1.services.product_search.ProductSearchClient.get_product
get_product(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1.types.product_search_service.GetProductRequest, dict
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.vision_v1.types.product_search_service.Product
Gets information associated with a Product.
See more: google.cloud.vision_v1.services.product_search.ProductSearchClient.get_product
google.cloud.vision_v1.services.product_search.ProductSearchClient.get_product_set
get_product_set(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1.types.product_search_service.GetProductSetRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.vision_v1.types.product_search_service.ProductSet
Gets information associated with a ProductSet.
See more: google.cloud.vision_v1.services.product_search.ProductSearchClient.get_product_set
google.cloud.vision_v1.services.product_search.ProductSearchClient.get_reference_image
get_reference_image(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1.types.product_search_service.GetReferenceImageRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.vision_v1.types.product_search_service.ReferenceImage
Gets information associated with a ReferenceImage.
See more: google.cloud.vision_v1.services.product_search.ProductSearchClient.get_reference_image
google.cloud.vision_v1.services.product_search.ProductSearchClient.import_product_sets
import_product_sets(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1.types.product_search_service.ImportProductSetsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
input_config: typing.Optional[
google.cloud.vision_v1.types.product_search_service.ImportProductSetsInputConfig
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.operation.Operation
Asynchronous API that imports a list of reference images to specified product sets based on a list of image information.
See more: google.cloud.vision_v1.services.product_search.ProductSearchClient.import_product_sets
google.cloud.vision_v1.services.product_search.ProductSearchClient.list_product_sets
list_product_sets(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1.types.product_search_service.ListProductSetsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.vision_v1.services.product_search.pagers.ListProductSetsPager
Lists ProductSets in an unspecified order.
See more: google.cloud.vision_v1.services.product_search.ProductSearchClient.list_product_sets
google.cloud.vision_v1.services.product_search.ProductSearchClient.list_products
list_products(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1.types.product_search_service.ListProductsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.vision_v1.services.product_search.pagers.ListProductsPager
Lists products in an unspecified order.
See more: google.cloud.vision_v1.services.product_search.ProductSearchClient.list_products
google.cloud.vision_v1.services.product_search.ProductSearchClient.list_products_in_product_set
list_products_in_product_set(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1.types.product_search_service.ListProductsInProductSetRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.vision_v1.services.product_search.pagers.ListProductsInProductSetPager
)
Lists the Products in a ProductSet, in an unspecified order.
See more: google.cloud.vision_v1.services.product_search.ProductSearchClient.list_products_in_product_set
google.cloud.vision_v1.services.product_search.ProductSearchClient.list_reference_images
list_reference_images(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1.types.product_search_service.ListReferenceImagesRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.vision_v1.services.product_search.pagers.ListReferenceImagesPager
Lists reference images.
See more: google.cloud.vision_v1.services.product_search.ProductSearchClient.list_reference_images
google.cloud.vision_v1.services.product_search.ProductSearchClient.parse_common_billing_account_path
parse_common_billing_account_path(path: str) -> typing.Dict[str, str]
Parse a billing_account path into its component segments.
See more: google.cloud.vision_v1.services.product_search.ProductSearchClient.parse_common_billing_account_path
google.cloud.vision_v1.services.product_search.ProductSearchClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
See more: google.cloud.vision_v1.services.product_search.ProductSearchClient.parse_common_folder_path
google.cloud.vision_v1.services.product_search.ProductSearchClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
See more: google.cloud.vision_v1.services.product_search.ProductSearchClient.parse_common_location_path
google.cloud.vision_v1.services.product_search.ProductSearchClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
See more: google.cloud.vision_v1.services.product_search.ProductSearchClient.parse_common_organization_path
google.cloud.vision_v1.services.product_search.ProductSearchClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
See more: google.cloud.vision_v1.services.product_search.ProductSearchClient.parse_common_project_path
google.cloud.vision_v1.services.product_search.ProductSearchClient.parse_product_path
parse_product_path(path: str) -> typing.Dict[str, str]
Parses a product path into its component segments.
See more: google.cloud.vision_v1.services.product_search.ProductSearchClient.parse_product_path
google.cloud.vision_v1.services.product_search.ProductSearchClient.parse_product_set_path
parse_product_set_path(path: str) -> typing.Dict[str, str]
Parses a product_set path into its component segments.
See more: google.cloud.vision_v1.services.product_search.ProductSearchClient.parse_product_set_path
google.cloud.vision_v1.services.product_search.ProductSearchClient.parse_reference_image_path
parse_reference_image_path(path: str) -> typing.Dict[str, str]
Parses a reference_image path into its component segments.
See more: google.cloud.vision_v1.services.product_search.ProductSearchClient.parse_reference_image_path
google.cloud.vision_v1.services.product_search.ProductSearchClient.product_path
product_path(project: str, location: str, product: str) -> str
Returns a fully-qualified product string.
See more: google.cloud.vision_v1.services.product_search.ProductSearchClient.product_path
google.cloud.vision_v1.services.product_search.ProductSearchClient.product_set_path
product_set_path(project: str, location: str, product_set: str) -> str
Returns a fully-qualified product_set string.
See more: google.cloud.vision_v1.services.product_search.ProductSearchClient.product_set_path
google.cloud.vision_v1.services.product_search.ProductSearchClient.purge_products
purge_products(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1.types.product_search_service.PurgeProductsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.operation.Operation
Asynchronous API to delete all Products in a ProductSet or all Products that are in no ProductSet.
See more: google.cloud.vision_v1.services.product_search.ProductSearchClient.purge_products
google.cloud.vision_v1.services.product_search.ProductSearchClient.reference_image_path
reference_image_path(
project: str, location: str, product: str, reference_image: str
) -> str
Returns a fully-qualified reference_image string.
See more: google.cloud.vision_v1.services.product_search.ProductSearchClient.reference_image_path
google.cloud.vision_v1.services.product_search.ProductSearchClient.remove_product_from_product_set
remove_product_from_product_set(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1.types.product_search_service.RemoveProductFromProductSetRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
product: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Removes a Product from the specified ProductSet.
See more: google.cloud.vision_v1.services.product_search.ProductSearchClient.remove_product_from_product_set
google.cloud.vision_v1.services.product_search.ProductSearchClient.update_product
update_product(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1.types.product_search_service.UpdateProductRequest,
dict,
]
] = None,
*,
product: typing.Optional[
google.cloud.vision_v1.types.product_search_service.Product
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.vision_v1.types.product_search_service.Product
Makes changes to a Product resource.
See more: google.cloud.vision_v1.services.product_search.ProductSearchClient.update_product
google.cloud.vision_v1.services.product_search.ProductSearchClient.update_product_set
update_product_set(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1.types.product_search_service.UpdateProductSetRequest,
dict,
]
] = None,
*,
product_set: typing.Optional[
google.cloud.vision_v1.types.product_search_service.ProductSet
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.vision_v1.types.product_search_service.ProductSet
Makes changes to a ProductSet resource.
See more: google.cloud.vision_v1.services.product_search.ProductSearchClient.update_product_set
google.cloud.vision_v1.services.product_search.pagers.ListProductSetsAsyncPager
ListProductSetsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.vision_v1.types.product_search_service.ListProductSetsResponse
],
],
request: google.cloud.vision_v1.types.product_search_service.ListProductSetsRequest,
response: google.cloud.vision_v1.types.product_search_service.ListProductSetsResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
See more: google.cloud.vision_v1.services.product_search.pagers.ListProductSetsAsyncPager
google.cloud.vision_v1.services.product_search.pagers.ListProductSetsPager
ListProductSetsPager(
method: typing.Callable[
[...],
google.cloud.vision_v1.types.product_search_service.ListProductSetsResponse,
],
request: google.cloud.vision_v1.types.product_search_service.ListProductSetsRequest,
response: google.cloud.vision_v1.types.product_search_service.ListProductSetsResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.vision_v1.services.product_search.pagers.ListProductSetsPager
google.cloud.vision_v1.services.product_search.pagers.ListProductsAsyncPager
ListProductsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.vision_v1.types.product_search_service.ListProductsResponse
],
],
request: google.cloud.vision_v1.types.product_search_service.ListProductsRequest,
response: google.cloud.vision_v1.types.product_search_service.ListProductsResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
See more: google.cloud.vision_v1.services.product_search.pagers.ListProductsAsyncPager
google.cloud.vision_v1.services.product_search.pagers.ListProductsInProductSetAsyncPager
ListProductsInProductSetAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.vision_v1.types.product_search_service.ListProductsInProductSetResponse
],
],
request: google.cloud.vision_v1.types.product_search_service.ListProductsInProductSetRequest,
response: google.cloud.vision_v1.types.product_search_service.ListProductsInProductSetResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
See more: google.cloud.vision_v1.services.product_search.pagers.ListProductsInProductSetAsyncPager
google.cloud.vision_v1.services.product_search.pagers.ListProductsInProductSetPager
ListProductsInProductSetPager(
method: typing.Callable[
[...],
google.cloud.vision_v1.types.product_search_service.ListProductsInProductSetResponse,
],
request: google.cloud.vision_v1.types.product_search_service.ListProductsInProductSetRequest,
response: google.cloud.vision_v1.types.product_search_service.ListProductsInProductSetResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.vision_v1.services.product_search.pagers.ListProductsInProductSetPager
google.cloud.vision_v1.services.product_search.pagers.ListProductsPager
ListProductsPager(
method: typing.Callable[
[...], google.cloud.vision_v1.types.product_search_service.ListProductsResponse
],
request: google.cloud.vision_v1.types.product_search_service.ListProductsRequest,
response: google.cloud.vision_v1.types.product_search_service.ListProductsResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.vision_v1.services.product_search.pagers.ListProductsPager
google.cloud.vision_v1.services.product_search.pagers.ListReferenceImagesAsyncPager
ListReferenceImagesAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.vision_v1.types.product_search_service.ListReferenceImagesResponse
],
],
request: google.cloud.vision_v1.types.product_search_service.ListReferenceImagesRequest,
response: google.cloud.vision_v1.types.product_search_service.ListReferenceImagesResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
See more: google.cloud.vision_v1.services.product_search.pagers.ListReferenceImagesAsyncPager
google.cloud.vision_v1.services.product_search.pagers.ListReferenceImagesPager
ListReferenceImagesPager(
method: typing.Callable[
[...],
google.cloud.vision_v1.types.product_search_service.ListReferenceImagesResponse,
],
request: google.cloud.vision_v1.types.product_search_service.ListReferenceImagesRequest,
response: google.cloud.vision_v1.types.product_search_service.ListReferenceImagesResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.vision_v1.services.product_search.pagers.ListReferenceImagesPager
google.cloud.vision_v1p1beta1.services.image_annotator.ImageAnnotatorAsyncClient
ImageAnnotatorAsyncClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.vision_v1p1beta1.services.image_annotator.transports.base.ImageAnnotatorTransport, typing.Callable[[...], google.cloud.vision_v1p1beta1.services.image_annotator.transports.base.ImageAnnotatorTransport]]] = 'grpc_asyncio', client_options: typing.Optional[google.api_core.client_options.ClientOptions] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the image annotator async client.
See more: google.cloud.vision_v1p1beta1.services.image_annotator.ImageAnnotatorAsyncClient
google.cloud.vision_v1p1beta1.services.image_annotator.ImageAnnotatorAsyncClient.batch_annotate_images
batch_annotate_images(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p1beta1.types.image_annotator.BatchAnnotateImagesRequest,
dict,
]
] = None,
*,
requests: typing.Optional[
typing.MutableSequence[
google.cloud.vision_v1p1beta1.types.image_annotator.AnnotateImageRequest
]
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.vision_v1p1beta1.types.image_annotator.BatchAnnotateImagesResponse
Run image detection and annotation for a batch of images.
google.cloud.vision_v1p1beta1.services.image_annotator.ImageAnnotatorAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.vision_v1p1beta1.services.image_annotator.ImageAnnotatorAsyncClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.vision_v1p1beta1.services.image_annotator.ImageAnnotatorAsyncClient.common_folder_path
google.cloud.vision_v1p1beta1.services.image_annotator.ImageAnnotatorAsyncClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.vision_v1p1beta1.services.image_annotator.ImageAnnotatorAsyncClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.vision_v1p1beta1.services.image_annotator.ImageAnnotatorAsyncClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.vision_v1p1beta1.services.image_annotator.ImageAnnotatorAsyncClient.common_project_path
google.cloud.vision_v1p1beta1.services.image_annotator.ImageAnnotatorAsyncClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.vision_v1p1beta1.services.image_annotator.ImageAnnotatorAsyncClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
google.cloud.vision_v1p1beta1.services.image_annotator.ImageAnnotatorAsyncClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.vision_v1p1beta1.services.image_annotator.ImageAnnotatorAsyncClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Return the API endpoint and client cert source for mutual TLS.
google.cloud.vision_v1p1beta1.services.image_annotator.ImageAnnotatorAsyncClient.get_transport_class
get_transport_class() -> (
typing.Type[
google.cloud.vision_v1p1beta1.services.image_annotator.transports.base.ImageAnnotatorTransport
]
)
Returns an appropriate transport class.
See more: google.cloud.vision_v1p1beta1.services.image_annotator.ImageAnnotatorAsyncClient.get_transport_class
google.cloud.vision_v1p1beta1.services.image_annotator.ImageAnnotatorAsyncClient.parse_common_billing_account_path
parse_common_billing_account_path(path: str) -> typing.Dict[str, str]
Parse a billing_account path into its component segments.
google.cloud.vision_v1p1beta1.services.image_annotator.ImageAnnotatorAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.vision_v1p1beta1.services.image_annotator.ImageAnnotatorAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.vision_v1p1beta1.services.image_annotator.ImageAnnotatorAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.vision_v1p1beta1.services.image_annotator.ImageAnnotatorAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.vision_v1p1beta1.services.image_annotator.ImageAnnotatorClient
ImageAnnotatorClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.vision_v1p1beta1.services.image_annotator.transports.base.ImageAnnotatorTransport, typing.Callable[[...], google.cloud.vision_v1p1beta1.services.image_annotator.transports.base.ImageAnnotatorTransport]]] = None, client_options: typing.Optional[typing.Union[google.api_core.client_options.ClientOptions, dict]] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the image annotator client.
See more: google.cloud.vision_v1p1beta1.services.image_annotator.ImageAnnotatorClient
google.cloud.vision_v1p1beta1.services.image_annotator.ImageAnnotatorClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.vision_v1p1beta1.services.image_annotator.ImageAnnotatorClient.exit
google.cloud.vision_v1p1beta1.services.image_annotator.ImageAnnotatorClient.batch_annotate_images
batch_annotate_images(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p1beta1.types.image_annotator.BatchAnnotateImagesRequest,
dict,
]
] = None,
*,
requests: typing.Optional[
typing.MutableSequence[
google.cloud.vision_v1p1beta1.types.image_annotator.AnnotateImageRequest
]
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.vision_v1p1beta1.types.image_annotator.BatchAnnotateImagesResponse
Run image detection and annotation for a batch of images.
See more: google.cloud.vision_v1p1beta1.services.image_annotator.ImageAnnotatorClient.batch_annotate_images
google.cloud.vision_v1p1beta1.services.image_annotator.ImageAnnotatorClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.vision_v1p1beta1.services.image_annotator.ImageAnnotatorClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.vision_v1p1beta1.services.image_annotator.ImageAnnotatorClient.common_folder_path
google.cloud.vision_v1p1beta1.services.image_annotator.ImageAnnotatorClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.vision_v1p1beta1.services.image_annotator.ImageAnnotatorClient.common_location_path
google.cloud.vision_v1p1beta1.services.image_annotator.ImageAnnotatorClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.vision_v1p1beta1.services.image_annotator.ImageAnnotatorClient.common_organization_path
google.cloud.vision_v1p1beta1.services.image_annotator.ImageAnnotatorClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.vision_v1p1beta1.services.image_annotator.ImageAnnotatorClient.common_project_path
google.cloud.vision_v1p1beta1.services.image_annotator.ImageAnnotatorClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.vision_v1p1beta1.services.image_annotator.ImageAnnotatorClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
google.cloud.vision_v1p1beta1.services.image_annotator.ImageAnnotatorClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.vision_v1p1beta1.services.image_annotator.ImageAnnotatorClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Deprecated.
google.cloud.vision_v1p1beta1.services.image_annotator.ImageAnnotatorClient.parse_common_billing_account_path
parse_common_billing_account_path(path: str) -> typing.Dict[str, str]
Parse a billing_account path into its component segments.
google.cloud.vision_v1p1beta1.services.image_annotator.ImageAnnotatorClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
See more: google.cloud.vision_v1p1beta1.services.image_annotator.ImageAnnotatorClient.parse_common_folder_path
google.cloud.vision_v1p1beta1.services.image_annotator.ImageAnnotatorClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.vision_v1p1beta1.services.image_annotator.ImageAnnotatorClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.vision_v1p1beta1.services.image_annotator.ImageAnnotatorClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.vision_v1p2beta1.services.image_annotator.ImageAnnotatorAsyncClient
ImageAnnotatorAsyncClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.vision_v1p2beta1.services.image_annotator.transports.base.ImageAnnotatorTransport, typing.Callable[[...], google.cloud.vision_v1p2beta1.services.image_annotator.transports.base.ImageAnnotatorTransport]]] = 'grpc_asyncio', client_options: typing.Optional[google.api_core.client_options.ClientOptions] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the image annotator async client.
See more: google.cloud.vision_v1p2beta1.services.image_annotator.ImageAnnotatorAsyncClient
google.cloud.vision_v1p2beta1.services.image_annotator.ImageAnnotatorAsyncClient.async_batch_annotate_files
async_batch_annotate_files(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p2beta1.types.image_annotator.AsyncBatchAnnotateFilesRequest,
dict,
]
] = None,
*,
requests: typing.Optional[
typing.MutableSequence[
google.cloud.vision_v1p2beta1.types.image_annotator.AsyncAnnotateFileRequest
]
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.operation_async.AsyncOperation
Run async image detection and annotation for a list of generic files (e.g.
google.cloud.vision_v1p2beta1.services.image_annotator.ImageAnnotatorAsyncClient.batch_annotate_images
batch_annotate_images(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p2beta1.types.image_annotator.BatchAnnotateImagesRequest,
dict,
]
] = None,
*,
requests: typing.Optional[
typing.MutableSequence[
google.cloud.vision_v1p2beta1.types.image_annotator.AnnotateImageRequest
]
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.vision_v1p2beta1.types.image_annotator.BatchAnnotateImagesResponse
Run image detection and annotation for a batch of images.
google.cloud.vision_v1p2beta1.services.image_annotator.ImageAnnotatorAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.vision_v1p2beta1.services.image_annotator.ImageAnnotatorAsyncClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.vision_v1p2beta1.services.image_annotator.ImageAnnotatorAsyncClient.common_folder_path
google.cloud.vision_v1p2beta1.services.image_annotator.ImageAnnotatorAsyncClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.vision_v1p2beta1.services.image_annotator.ImageAnnotatorAsyncClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.vision_v1p2beta1.services.image_annotator.ImageAnnotatorAsyncClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.vision_v1p2beta1.services.image_annotator.ImageAnnotatorAsyncClient.common_project_path
google.cloud.vision_v1p2beta1.services.image_annotator.ImageAnnotatorAsyncClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.vision_v1p2beta1.services.image_annotator.ImageAnnotatorAsyncClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
google.cloud.vision_v1p2beta1.services.image_annotator.ImageAnnotatorAsyncClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.vision_v1p2beta1.services.image_annotator.ImageAnnotatorAsyncClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Return the API endpoint and client cert source for mutual TLS.
google.cloud.vision_v1p2beta1.services.image_annotator.ImageAnnotatorAsyncClient.get_transport_class
get_transport_class() -> (
typing.Type[
google.cloud.vision_v1p2beta1.services.image_annotator.transports.base.ImageAnnotatorTransport
]
)
Returns an appropriate transport class.
See more: google.cloud.vision_v1p2beta1.services.image_annotator.ImageAnnotatorAsyncClient.get_transport_class
google.cloud.vision_v1p2beta1.services.image_annotator.ImageAnnotatorAsyncClient.parse_common_billing_account_path
parse_common_billing_account_path(path: str) -> typing.Dict[str, str]
Parse a billing_account path into its component segments.
google.cloud.vision_v1p2beta1.services.image_annotator.ImageAnnotatorAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.vision_v1p2beta1.services.image_annotator.ImageAnnotatorAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.vision_v1p2beta1.services.image_annotator.ImageAnnotatorAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.vision_v1p2beta1.services.image_annotator.ImageAnnotatorAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.vision_v1p2beta1.services.image_annotator.ImageAnnotatorClient
ImageAnnotatorClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.vision_v1p2beta1.services.image_annotator.transports.base.ImageAnnotatorTransport, typing.Callable[[...], google.cloud.vision_v1p2beta1.services.image_annotator.transports.base.ImageAnnotatorTransport]]] = None, client_options: typing.Optional[typing.Union[google.api_core.client_options.ClientOptions, dict]] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the image annotator client.
See more: google.cloud.vision_v1p2beta1.services.image_annotator.ImageAnnotatorClient
google.cloud.vision_v1p2beta1.services.image_annotator.ImageAnnotatorClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.vision_v1p2beta1.services.image_annotator.ImageAnnotatorClient.exit
google.cloud.vision_v1p2beta1.services.image_annotator.ImageAnnotatorClient.async_batch_annotate_files
async_batch_annotate_files(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p2beta1.types.image_annotator.AsyncBatchAnnotateFilesRequest,
dict,
]
] = None,
*,
requests: typing.Optional[
typing.MutableSequence[
google.cloud.vision_v1p2beta1.types.image_annotator.AsyncAnnotateFileRequest
]
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.operation.Operation
Run async image detection and annotation for a list of generic files (e.g.
google.cloud.vision_v1p2beta1.services.image_annotator.ImageAnnotatorClient.batch_annotate_images
batch_annotate_images(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p2beta1.types.image_annotator.BatchAnnotateImagesRequest,
dict,
]
] = None,
*,
requests: typing.Optional[
typing.MutableSequence[
google.cloud.vision_v1p2beta1.types.image_annotator.AnnotateImageRequest
]
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.vision_v1p2beta1.types.image_annotator.BatchAnnotateImagesResponse
Run image detection and annotation for a batch of images.
See more: google.cloud.vision_v1p2beta1.services.image_annotator.ImageAnnotatorClient.batch_annotate_images
google.cloud.vision_v1p2beta1.services.image_annotator.ImageAnnotatorClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.vision_v1p2beta1.services.image_annotator.ImageAnnotatorClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.vision_v1p2beta1.services.image_annotator.ImageAnnotatorClient.common_folder_path
google.cloud.vision_v1p2beta1.services.image_annotator.ImageAnnotatorClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.vision_v1p2beta1.services.image_annotator.ImageAnnotatorClient.common_location_path
google.cloud.vision_v1p2beta1.services.image_annotator.ImageAnnotatorClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.vision_v1p2beta1.services.image_annotator.ImageAnnotatorClient.common_organization_path
google.cloud.vision_v1p2beta1.services.image_annotator.ImageAnnotatorClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.vision_v1p2beta1.services.image_annotator.ImageAnnotatorClient.common_project_path
google.cloud.vision_v1p2beta1.services.image_annotator.ImageAnnotatorClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.vision_v1p2beta1.services.image_annotator.ImageAnnotatorClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
google.cloud.vision_v1p2beta1.services.image_annotator.ImageAnnotatorClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.vision_v1p2beta1.services.image_annotator.ImageAnnotatorClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Deprecated.
google.cloud.vision_v1p2beta1.services.image_annotator.ImageAnnotatorClient.parse_common_billing_account_path
parse_common_billing_account_path(path: str) -> typing.Dict[str, str]
Parse a billing_account path into its component segments.
google.cloud.vision_v1p2beta1.services.image_annotator.ImageAnnotatorClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
See more: google.cloud.vision_v1p2beta1.services.image_annotator.ImageAnnotatorClient.parse_common_folder_path
google.cloud.vision_v1p2beta1.services.image_annotator.ImageAnnotatorClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.vision_v1p2beta1.services.image_annotator.ImageAnnotatorClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.vision_v1p2beta1.services.image_annotator.ImageAnnotatorClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.vision_v1p3beta1.services.image_annotator.ImageAnnotatorAsyncClient
ImageAnnotatorAsyncClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.vision_v1p3beta1.services.image_annotator.transports.base.ImageAnnotatorTransport, typing.Callable[[...], google.cloud.vision_v1p3beta1.services.image_annotator.transports.base.ImageAnnotatorTransport]]] = 'grpc_asyncio', client_options: typing.Optional[google.api_core.client_options.ClientOptions] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the image annotator async client.
See more: google.cloud.vision_v1p3beta1.services.image_annotator.ImageAnnotatorAsyncClient
google.cloud.vision_v1p3beta1.services.image_annotator.ImageAnnotatorAsyncClient.async_batch_annotate_files
async_batch_annotate_files(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p3beta1.types.image_annotator.AsyncBatchAnnotateFilesRequest,
dict,
]
] = None,
*,
requests: typing.Optional[
typing.MutableSequence[
google.cloud.vision_v1p3beta1.types.image_annotator.AsyncAnnotateFileRequest
]
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.operation_async.AsyncOperation
Run asynchronous image detection and annotation for a list of generic files, such as PDF files, which may contain multiple pages and multiple images per page.
google.cloud.vision_v1p3beta1.services.image_annotator.ImageAnnotatorAsyncClient.batch_annotate_images
batch_annotate_images(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p3beta1.types.image_annotator.BatchAnnotateImagesRequest,
dict,
]
] = None,
*,
requests: typing.Optional[
typing.MutableSequence[
google.cloud.vision_v1p3beta1.types.image_annotator.AnnotateImageRequest
]
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.vision_v1p3beta1.types.image_annotator.BatchAnnotateImagesResponse
Run image detection and annotation for a batch of images.
google.cloud.vision_v1p3beta1.services.image_annotator.ImageAnnotatorAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.vision_v1p3beta1.services.image_annotator.ImageAnnotatorAsyncClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.vision_v1p3beta1.services.image_annotator.ImageAnnotatorAsyncClient.common_folder_path
google.cloud.vision_v1p3beta1.services.image_annotator.ImageAnnotatorAsyncClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.vision_v1p3beta1.services.image_annotator.ImageAnnotatorAsyncClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.vision_v1p3beta1.services.image_annotator.ImageAnnotatorAsyncClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.vision_v1p3beta1.services.image_annotator.ImageAnnotatorAsyncClient.common_project_path
google.cloud.vision_v1p3beta1.services.image_annotator.ImageAnnotatorAsyncClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.vision_v1p3beta1.services.image_annotator.ImageAnnotatorAsyncClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
google.cloud.vision_v1p3beta1.services.image_annotator.ImageAnnotatorAsyncClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.vision_v1p3beta1.services.image_annotator.ImageAnnotatorAsyncClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Return the API endpoint and client cert source for mutual TLS.
google.cloud.vision_v1p3beta1.services.image_annotator.ImageAnnotatorAsyncClient.get_transport_class
get_transport_class() -> (
typing.Type[
google.cloud.vision_v1p3beta1.services.image_annotator.transports.base.ImageAnnotatorTransport
]
)
Returns an appropriate transport class.
See more: google.cloud.vision_v1p3beta1.services.image_annotator.ImageAnnotatorAsyncClient.get_transport_class
google.cloud.vision_v1p3beta1.services.image_annotator.ImageAnnotatorAsyncClient.parse_common_billing_account_path
parse_common_billing_account_path(path: str) -> typing.Dict[str, str]
Parse a billing_account path into its component segments.
google.cloud.vision_v1p3beta1.services.image_annotator.ImageAnnotatorAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.vision_v1p3beta1.services.image_annotator.ImageAnnotatorAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.vision_v1p3beta1.services.image_annotator.ImageAnnotatorAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.vision_v1p3beta1.services.image_annotator.ImageAnnotatorAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.vision_v1p3beta1.services.image_annotator.ImageAnnotatorAsyncClient.parse_product_path
parse_product_path(path: str) -> typing.Dict[str, str]
Parses a product path into its component segments.
See more: google.cloud.vision_v1p3beta1.services.image_annotator.ImageAnnotatorAsyncClient.parse_product_path
google.cloud.vision_v1p3beta1.services.image_annotator.ImageAnnotatorAsyncClient.parse_product_set_path
parse_product_set_path(path: str) -> typing.Dict[str, str]
Parses a product_set path into its component segments.
google.cloud.vision_v1p3beta1.services.image_annotator.ImageAnnotatorAsyncClient.product_path
product_path(project: str, location: str, product: str) -> str
Returns a fully-qualified product string.
See more: google.cloud.vision_v1p3beta1.services.image_annotator.ImageAnnotatorAsyncClient.product_path
google.cloud.vision_v1p3beta1.services.image_annotator.ImageAnnotatorAsyncClient.product_set_path
product_set_path(project: str, location: str, product_set: str) -> str
Returns a fully-qualified product_set string.
See more: google.cloud.vision_v1p3beta1.services.image_annotator.ImageAnnotatorAsyncClient.product_set_path
google.cloud.vision_v1p3beta1.services.image_annotator.ImageAnnotatorClient
ImageAnnotatorClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.vision_v1p3beta1.services.image_annotator.transports.base.ImageAnnotatorTransport, typing.Callable[[...], google.cloud.vision_v1p3beta1.services.image_annotator.transports.base.ImageAnnotatorTransport]]] = None, client_options: typing.Optional[typing.Union[google.api_core.client_options.ClientOptions, dict]] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the image annotator client.
See more: google.cloud.vision_v1p3beta1.services.image_annotator.ImageAnnotatorClient
google.cloud.vision_v1p3beta1.services.image_annotator.ImageAnnotatorClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.vision_v1p3beta1.services.image_annotator.ImageAnnotatorClient.exit
google.cloud.vision_v1p3beta1.services.image_annotator.ImageAnnotatorClient.async_batch_annotate_files
async_batch_annotate_files(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p3beta1.types.image_annotator.AsyncBatchAnnotateFilesRequest,
dict,
]
] = None,
*,
requests: typing.Optional[
typing.MutableSequence[
google.cloud.vision_v1p3beta1.types.image_annotator.AsyncAnnotateFileRequest
]
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.operation.Operation
Run asynchronous image detection and annotation for a list of generic files, such as PDF files, which may contain multiple pages and multiple images per page.
google.cloud.vision_v1p3beta1.services.image_annotator.ImageAnnotatorClient.batch_annotate_images
batch_annotate_images(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p3beta1.types.image_annotator.BatchAnnotateImagesRequest,
dict,
]
] = None,
*,
requests: typing.Optional[
typing.MutableSequence[
google.cloud.vision_v1p3beta1.types.image_annotator.AnnotateImageRequest
]
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.vision_v1p3beta1.types.image_annotator.BatchAnnotateImagesResponse
Run image detection and annotation for a batch of images.
See more: google.cloud.vision_v1p3beta1.services.image_annotator.ImageAnnotatorClient.batch_annotate_images
google.cloud.vision_v1p3beta1.services.image_annotator.ImageAnnotatorClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.vision_v1p3beta1.services.image_annotator.ImageAnnotatorClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.vision_v1p3beta1.services.image_annotator.ImageAnnotatorClient.common_folder_path
google.cloud.vision_v1p3beta1.services.image_annotator.ImageAnnotatorClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.vision_v1p3beta1.services.image_annotator.ImageAnnotatorClient.common_location_path
google.cloud.vision_v1p3beta1.services.image_annotator.ImageAnnotatorClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.vision_v1p3beta1.services.image_annotator.ImageAnnotatorClient.common_organization_path
google.cloud.vision_v1p3beta1.services.image_annotator.ImageAnnotatorClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.vision_v1p3beta1.services.image_annotator.ImageAnnotatorClient.common_project_path
google.cloud.vision_v1p3beta1.services.image_annotator.ImageAnnotatorClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.vision_v1p3beta1.services.image_annotator.ImageAnnotatorClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
google.cloud.vision_v1p3beta1.services.image_annotator.ImageAnnotatorClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.vision_v1p3beta1.services.image_annotator.ImageAnnotatorClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Deprecated.
google.cloud.vision_v1p3beta1.services.image_annotator.ImageAnnotatorClient.parse_common_billing_account_path
parse_common_billing_account_path(path: str) -> typing.Dict[str, str]
Parse a billing_account path into its component segments.
google.cloud.vision_v1p3beta1.services.image_annotator.ImageAnnotatorClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
See more: google.cloud.vision_v1p3beta1.services.image_annotator.ImageAnnotatorClient.parse_common_folder_path
google.cloud.vision_v1p3beta1.services.image_annotator.ImageAnnotatorClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.vision_v1p3beta1.services.image_annotator.ImageAnnotatorClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.vision_v1p3beta1.services.image_annotator.ImageAnnotatorClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.vision_v1p3beta1.services.image_annotator.ImageAnnotatorClient.parse_product_path
parse_product_path(path: str) -> typing.Dict[str, str]
Parses a product path into its component segments.
See more: google.cloud.vision_v1p3beta1.services.image_annotator.ImageAnnotatorClient.parse_product_path
google.cloud.vision_v1p3beta1.services.image_annotator.ImageAnnotatorClient.parse_product_set_path
parse_product_set_path(path: str) -> typing.Dict[str, str]
Parses a product_set path into its component segments.
See more: google.cloud.vision_v1p3beta1.services.image_annotator.ImageAnnotatorClient.parse_product_set_path
google.cloud.vision_v1p3beta1.services.image_annotator.ImageAnnotatorClient.product_path
product_path(project: str, location: str, product: str) -> str
Returns a fully-qualified product string.
See more: google.cloud.vision_v1p3beta1.services.image_annotator.ImageAnnotatorClient.product_path
google.cloud.vision_v1p3beta1.services.image_annotator.ImageAnnotatorClient.product_set_path
product_set_path(project: str, location: str, product_set: str) -> str
Returns a fully-qualified product_set string.
See more: google.cloud.vision_v1p3beta1.services.image_annotator.ImageAnnotatorClient.product_set_path
google.cloud.vision_v1p3beta1.services.product_search.ProductSearchAsyncClient
ProductSearchAsyncClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.vision_v1p3beta1.services.product_search.transports.base.ProductSearchTransport, typing.Callable[[...], google.cloud.vision_v1p3beta1.services.product_search.transports.base.ProductSearchTransport]]] = 'grpc_asyncio', client_options: typing.Optional[google.api_core.client_options.ClientOptions] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the product search async client.
See more: google.cloud.vision_v1p3beta1.services.product_search.ProductSearchAsyncClient
google.cloud.vision_v1p3beta1.services.product_search.ProductSearchAsyncClient.add_product_to_product_set
add_product_to_product_set(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p3beta1.types.product_search_service.AddProductToProductSetRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
product: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Adds a Product to the specified ProductSet.
google.cloud.vision_v1p3beta1.services.product_search.ProductSearchAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.vision_v1p3beta1.services.product_search.ProductSearchAsyncClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.vision_v1p3beta1.services.product_search.ProductSearchAsyncClient.common_folder_path
google.cloud.vision_v1p3beta1.services.product_search.ProductSearchAsyncClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.vision_v1p3beta1.services.product_search.ProductSearchAsyncClient.common_location_path
google.cloud.vision_v1p3beta1.services.product_search.ProductSearchAsyncClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.vision_v1p3beta1.services.product_search.ProductSearchAsyncClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.vision_v1p3beta1.services.product_search.ProductSearchAsyncClient.common_project_path
google.cloud.vision_v1p3beta1.services.product_search.ProductSearchAsyncClient.create_product
create_product(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p3beta1.types.product_search_service.CreateProductRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
product: typing.Optional[
google.cloud.vision_v1p3beta1.types.product_search_service.Product
] = None,
product_id: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.vision_v1p3beta1.types.product_search_service.Product
Creates and returns a new product resource.
See more: google.cloud.vision_v1p3beta1.services.product_search.ProductSearchAsyncClient.create_product
google.cloud.vision_v1p3beta1.services.product_search.ProductSearchAsyncClient.create_product_set
create_product_set(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p3beta1.types.product_search_service.CreateProductSetRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
product_set: typing.Optional[
google.cloud.vision_v1p3beta1.types.product_search_service.ProductSet
] = None,
product_set_id: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.vision_v1p3beta1.types.product_search_service.ProductSet
Creates and returns a new ProductSet resource.
See more: google.cloud.vision_v1p3beta1.services.product_search.ProductSearchAsyncClient.create_product_set
google.cloud.vision_v1p3beta1.services.product_search.ProductSearchAsyncClient.create_reference_image
create_reference_image(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p3beta1.types.product_search_service.CreateReferenceImageRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
reference_image: typing.Optional[
google.cloud.vision_v1p3beta1.types.product_search_service.ReferenceImage
] = None,
reference_image_id: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.vision_v1p3beta1.types.product_search_service.ReferenceImage
Creates and returns a new ReferenceImage resource.
google.cloud.vision_v1p3beta1.services.product_search.ProductSearchAsyncClient.delete_product
delete_product(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p3beta1.types.product_search_service.DeleteProductRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Permanently deletes a product and its reference images.
See more: google.cloud.vision_v1p3beta1.services.product_search.ProductSearchAsyncClient.delete_product
google.cloud.vision_v1p3beta1.services.product_search.ProductSearchAsyncClient.delete_product_set
delete_product_set(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p3beta1.types.product_search_service.DeleteProductSetRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Permanently deletes a ProductSet.
See more: google.cloud.vision_v1p3beta1.services.product_search.ProductSearchAsyncClient.delete_product_set
google.cloud.vision_v1p3beta1.services.product_search.ProductSearchAsyncClient.delete_reference_image
delete_reference_image(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p3beta1.types.product_search_service.DeleteReferenceImageRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Permanently deletes a reference image.
google.cloud.vision_v1p3beta1.services.product_search.ProductSearchAsyncClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.vision_v1p3beta1.services.product_search.ProductSearchAsyncClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
google.cloud.vision_v1p3beta1.services.product_search.ProductSearchAsyncClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.vision_v1p3beta1.services.product_search.ProductSearchAsyncClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Return the API endpoint and client cert source for mutual TLS.
google.cloud.vision_v1p3beta1.services.product_search.ProductSearchAsyncClient.get_product
get_product(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p3beta1.types.product_search_service.GetProductRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.vision_v1p3beta1.types.product_search_service.Product
Gets information associated with a Product.
See more: google.cloud.vision_v1p3beta1.services.product_search.ProductSearchAsyncClient.get_product
google.cloud.vision_v1p3beta1.services.product_search.ProductSearchAsyncClient.get_product_set
get_product_set(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p3beta1.types.product_search_service.GetProductSetRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.vision_v1p3beta1.types.product_search_service.ProductSet
Gets information associated with a ProductSet.
See more: google.cloud.vision_v1p3beta1.services.product_search.ProductSearchAsyncClient.get_product_set
google.cloud.vision_v1p3beta1.services.product_search.ProductSearchAsyncClient.get_reference_image
get_reference_image(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p3beta1.types.product_search_service.GetReferenceImageRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.vision_v1p3beta1.types.product_search_service.ReferenceImage
Gets information associated with a ReferenceImage.
See more: google.cloud.vision_v1p3beta1.services.product_search.ProductSearchAsyncClient.get_reference_image
google.cloud.vision_v1p3beta1.services.product_search.ProductSearchAsyncClient.get_transport_class
get_transport_class() -> (
typing.Type[
google.cloud.vision_v1p3beta1.services.product_search.transports.base.ProductSearchTransport
]
)
Returns an appropriate transport class.
See more: google.cloud.vision_v1p3beta1.services.product_search.ProductSearchAsyncClient.get_transport_class
google.cloud.vision_v1p3beta1.services.product_search.ProductSearchAsyncClient.import_product_sets
import_product_sets(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p3beta1.types.product_search_service.ImportProductSetsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
input_config: typing.Optional[
google.cloud.vision_v1p3beta1.types.product_search_service.ImportProductSetsInputConfig
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.operation_async.AsyncOperation
Asynchronous API that imports a list of reference images to specified product sets based on a list of image information.
See more: google.cloud.vision_v1p3beta1.services.product_search.ProductSearchAsyncClient.import_product_sets
google.cloud.vision_v1p3beta1.services.product_search.ProductSearchAsyncClient.list_product_sets
list_product_sets(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p3beta1.types.product_search_service.ListProductSetsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.vision_v1p3beta1.services.product_search.pagers.ListProductSetsAsyncPager
)
Lists ProductSets in an unspecified order.
See more: google.cloud.vision_v1p3beta1.services.product_search.ProductSearchAsyncClient.list_product_sets
google.cloud.vision_v1p3beta1.services.product_search.ProductSearchAsyncClient.list_products
list_products(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p3beta1.types.product_search_service.ListProductsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.vision_v1p3beta1.services.product_search.pagers.ListProductsAsyncPager
)
Lists products in an unspecified order.
See more: google.cloud.vision_v1p3beta1.services.product_search.ProductSearchAsyncClient.list_products
google.cloud.vision_v1p3beta1.services.product_search.ProductSearchAsyncClient.list_products_in_product_set
list_products_in_product_set(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p3beta1.types.product_search_service.ListProductsInProductSetRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.vision_v1p3beta1.services.product_search.pagers.ListProductsInProductSetAsyncPager
)
Lists the Products in a ProductSet, in an unspecified order.
google.cloud.vision_v1p3beta1.services.product_search.ProductSearchAsyncClient.list_reference_images
list_reference_images(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p3beta1.types.product_search_service.ListReferenceImagesRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.vision_v1p3beta1.services.product_search.pagers.ListReferenceImagesAsyncPager
)
Lists reference images.
See more: google.cloud.vision_v1p3beta1.services.product_search.ProductSearchAsyncClient.list_reference_images
google.cloud.vision_v1p3beta1.services.product_search.ProductSearchAsyncClient.parse_common_billing_account_path
parse_common_billing_account_path(path: str) -> typing.Dict[str, str]
Parse a billing_account path into its component segments.
google.cloud.vision_v1p3beta1.services.product_search.ProductSearchAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.vision_v1p3beta1.services.product_search.ProductSearchAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.vision_v1p3beta1.services.product_search.ProductSearchAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.vision_v1p3beta1.services.product_search.ProductSearchAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.vision_v1p3beta1.services.product_search.ProductSearchAsyncClient.parse_product_path
parse_product_path(path: str) -> typing.Dict[str, str]
Parses a product path into its component segments.
See more: google.cloud.vision_v1p3beta1.services.product_search.ProductSearchAsyncClient.parse_product_path
google.cloud.vision_v1p3beta1.services.product_search.ProductSearchAsyncClient.parse_product_set_path
parse_product_set_path(path: str) -> typing.Dict[str, str]
Parses a product_set path into its component segments.
google.cloud.vision_v1p3beta1.services.product_search.ProductSearchAsyncClient.parse_reference_image_path
parse_reference_image_path(path: str) -> typing.Dict[str, str]
Parses a reference_image path into its component segments.
google.cloud.vision_v1p3beta1.services.product_search.ProductSearchAsyncClient.product_path
product_path(project: str, location: str, product: str) -> str
Returns a fully-qualified product string.
See more: google.cloud.vision_v1p3beta1.services.product_search.ProductSearchAsyncClient.product_path
google.cloud.vision_v1p3beta1.services.product_search.ProductSearchAsyncClient.product_set_path
product_set_path(project: str, location: str, product_set: str) -> str
Returns a fully-qualified product_set string.
See more: google.cloud.vision_v1p3beta1.services.product_search.ProductSearchAsyncClient.product_set_path
google.cloud.vision_v1p3beta1.services.product_search.ProductSearchAsyncClient.reference_image_path
reference_image_path(
project: str, location: str, product: str, reference_image: str
) -> str
Returns a fully-qualified reference_image string.
See more: google.cloud.vision_v1p3beta1.services.product_search.ProductSearchAsyncClient.reference_image_path
google.cloud.vision_v1p3beta1.services.product_search.ProductSearchAsyncClient.remove_product_from_product_set
remove_product_from_product_set(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p3beta1.types.product_search_service.RemoveProductFromProductSetRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
product: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Removes a Product from the specified ProductSet.
google.cloud.vision_v1p3beta1.services.product_search.ProductSearchAsyncClient.update_product
update_product(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p3beta1.types.product_search_service.UpdateProductRequest,
dict,
]
] = None,
*,
product: typing.Optional[
google.cloud.vision_v1p3beta1.types.product_search_service.Product
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.vision_v1p3beta1.types.product_search_service.Product
Makes changes to a Product resource.
See more: google.cloud.vision_v1p3beta1.services.product_search.ProductSearchAsyncClient.update_product
google.cloud.vision_v1p3beta1.services.product_search.ProductSearchAsyncClient.update_product_set
update_product_set(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p3beta1.types.product_search_service.UpdateProductSetRequest,
dict,
]
] = None,
*,
product_set: typing.Optional[
google.cloud.vision_v1p3beta1.types.product_search_service.ProductSet
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.vision_v1p3beta1.types.product_search_service.ProductSet
Makes changes to a ProductSet resource.
See more: google.cloud.vision_v1p3beta1.services.product_search.ProductSearchAsyncClient.update_product_set
google.cloud.vision_v1p3beta1.services.product_search.ProductSearchClient
ProductSearchClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.vision_v1p3beta1.services.product_search.transports.base.ProductSearchTransport, typing.Callable[[...], google.cloud.vision_v1p3beta1.services.product_search.transports.base.ProductSearchTransport]]] = None, client_options: typing.Optional[typing.Union[google.api_core.client_options.ClientOptions, dict]] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the product search client.
See more: google.cloud.vision_v1p3beta1.services.product_search.ProductSearchClient
google.cloud.vision_v1p3beta1.services.product_search.ProductSearchClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.vision_v1p3beta1.services.product_search.ProductSearchClient.exit
google.cloud.vision_v1p3beta1.services.product_search.ProductSearchClient.add_product_to_product_set
add_product_to_product_set(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p3beta1.types.product_search_service.AddProductToProductSetRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
product: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Adds a Product to the specified ProductSet.
See more: google.cloud.vision_v1p3beta1.services.product_search.ProductSearchClient.add_product_to_product_set
google.cloud.vision_v1p3beta1.services.product_search.ProductSearchClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.vision_v1p3beta1.services.product_search.ProductSearchClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.vision_v1p3beta1.services.product_search.ProductSearchClient.common_folder_path
google.cloud.vision_v1p3beta1.services.product_search.ProductSearchClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.vision_v1p3beta1.services.product_search.ProductSearchClient.common_location_path
google.cloud.vision_v1p3beta1.services.product_search.ProductSearchClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.vision_v1p3beta1.services.product_search.ProductSearchClient.common_organization_path
google.cloud.vision_v1p3beta1.services.product_search.ProductSearchClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.vision_v1p3beta1.services.product_search.ProductSearchClient.common_project_path
google.cloud.vision_v1p3beta1.services.product_search.ProductSearchClient.create_product
create_product(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p3beta1.types.product_search_service.CreateProductRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
product: typing.Optional[
google.cloud.vision_v1p3beta1.types.product_search_service.Product
] = None,
product_id: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.vision_v1p3beta1.types.product_search_service.Product
Creates and returns a new product resource.
See more: google.cloud.vision_v1p3beta1.services.product_search.ProductSearchClient.create_product
google.cloud.vision_v1p3beta1.services.product_search.ProductSearchClient.create_product_set
create_product_set(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p3beta1.types.product_search_service.CreateProductSetRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
product_set: typing.Optional[
google.cloud.vision_v1p3beta1.types.product_search_service.ProductSet
] = None,
product_set_id: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.vision_v1p3beta1.types.product_search_service.ProductSet
Creates and returns a new ProductSet resource.
See more: google.cloud.vision_v1p3beta1.services.product_search.ProductSearchClient.create_product_set
google.cloud.vision_v1p3beta1.services.product_search.ProductSearchClient.create_reference_image
create_reference_image(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p3beta1.types.product_search_service.CreateReferenceImageRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
reference_image: typing.Optional[
google.cloud.vision_v1p3beta1.types.product_search_service.ReferenceImage
] = None,
reference_image_id: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.vision_v1p3beta1.types.product_search_service.ReferenceImage
Creates and returns a new ReferenceImage resource.
See more: google.cloud.vision_v1p3beta1.services.product_search.ProductSearchClient.create_reference_image
google.cloud.vision_v1p3beta1.services.product_search.ProductSearchClient.delete_product
delete_product(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p3beta1.types.product_search_service.DeleteProductRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Permanently deletes a product and its reference images.
See more: google.cloud.vision_v1p3beta1.services.product_search.ProductSearchClient.delete_product
google.cloud.vision_v1p3beta1.services.product_search.ProductSearchClient.delete_product_set
delete_product_set(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p3beta1.types.product_search_service.DeleteProductSetRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Permanently deletes a ProductSet.
See more: google.cloud.vision_v1p3beta1.services.product_search.ProductSearchClient.delete_product_set
google.cloud.vision_v1p3beta1.services.product_search.ProductSearchClient.delete_reference_image
delete_reference_image(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p3beta1.types.product_search_service.DeleteReferenceImageRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Permanently deletes a reference image.
See more: google.cloud.vision_v1p3beta1.services.product_search.ProductSearchClient.delete_reference_image
google.cloud.vision_v1p3beta1.services.product_search.ProductSearchClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
See more: google.cloud.vision_v1p3beta1.services.product_search.ProductSearchClient.from_service_account_file
google.cloud.vision_v1p3beta1.services.product_search.ProductSearchClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
See more: google.cloud.vision_v1p3beta1.services.product_search.ProductSearchClient.from_service_account_info
google.cloud.vision_v1p3beta1.services.product_search.ProductSearchClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
See more: google.cloud.vision_v1p3beta1.services.product_search.ProductSearchClient.from_service_account_json
google.cloud.vision_v1p3beta1.services.product_search.ProductSearchClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Deprecated.
google.cloud.vision_v1p3beta1.services.product_search.ProductSearchClient.get_product
get_product(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p3beta1.types.product_search_service.GetProductRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.vision_v1p3beta1.types.product_search_service.Product
Gets information associated with a Product.
See more: google.cloud.vision_v1p3beta1.services.product_search.ProductSearchClient.get_product
google.cloud.vision_v1p3beta1.services.product_search.ProductSearchClient.get_product_set
get_product_set(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p3beta1.types.product_search_service.GetProductSetRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.vision_v1p3beta1.types.product_search_service.ProductSet
Gets information associated with a ProductSet.
See more: google.cloud.vision_v1p3beta1.services.product_search.ProductSearchClient.get_product_set
google.cloud.vision_v1p3beta1.services.product_search.ProductSearchClient.get_reference_image
get_reference_image(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p3beta1.types.product_search_service.GetReferenceImageRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.vision_v1p3beta1.types.product_search_service.ReferenceImage
Gets information associated with a ReferenceImage.
See more: google.cloud.vision_v1p3beta1.services.product_search.ProductSearchClient.get_reference_image
google.cloud.vision_v1p3beta1.services.product_search.ProductSearchClient.import_product_sets
import_product_sets(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p3beta1.types.product_search_service.ImportProductSetsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
input_config: typing.Optional[
google.cloud.vision_v1p3beta1.types.product_search_service.ImportProductSetsInputConfig
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.operation.Operation
Asynchronous API that imports a list of reference images to specified product sets based on a list of image information.
See more: google.cloud.vision_v1p3beta1.services.product_search.ProductSearchClient.import_product_sets
google.cloud.vision_v1p3beta1.services.product_search.ProductSearchClient.list_product_sets
list_product_sets(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p3beta1.types.product_search_service.ListProductSetsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.vision_v1p3beta1.services.product_search.pagers.ListProductSetsPager
Lists ProductSets in an unspecified order.
See more: google.cloud.vision_v1p3beta1.services.product_search.ProductSearchClient.list_product_sets
google.cloud.vision_v1p3beta1.services.product_search.ProductSearchClient.list_products
list_products(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p3beta1.types.product_search_service.ListProductsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.vision_v1p3beta1.services.product_search.pagers.ListProductsPager
Lists products in an unspecified order.
See more: google.cloud.vision_v1p3beta1.services.product_search.ProductSearchClient.list_products
google.cloud.vision_v1p3beta1.services.product_search.ProductSearchClient.list_products_in_product_set
list_products_in_product_set(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p3beta1.types.product_search_service.ListProductsInProductSetRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.vision_v1p3beta1.services.product_search.pagers.ListProductsInProductSetPager
)
Lists the Products in a ProductSet, in an unspecified order.
google.cloud.vision_v1p3beta1.services.product_search.ProductSearchClient.list_reference_images
list_reference_images(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p3beta1.types.product_search_service.ListReferenceImagesRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.vision_v1p3beta1.services.product_search.pagers.ListReferenceImagesPager
)
Lists reference images.
See more: google.cloud.vision_v1p3beta1.services.product_search.ProductSearchClient.list_reference_images
google.cloud.vision_v1p3beta1.services.product_search.ProductSearchClient.parse_common_billing_account_path
parse_common_billing_account_path(path: str) -> typing.Dict[str, str]
Parse a billing_account path into its component segments.
google.cloud.vision_v1p3beta1.services.product_search.ProductSearchClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
See more: google.cloud.vision_v1p3beta1.services.product_search.ProductSearchClient.parse_common_folder_path
google.cloud.vision_v1p3beta1.services.product_search.ProductSearchClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
See more: google.cloud.vision_v1p3beta1.services.product_search.ProductSearchClient.parse_common_location_path
google.cloud.vision_v1p3beta1.services.product_search.ProductSearchClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.vision_v1p3beta1.services.product_search.ProductSearchClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
See more: google.cloud.vision_v1p3beta1.services.product_search.ProductSearchClient.parse_common_project_path
google.cloud.vision_v1p3beta1.services.product_search.ProductSearchClient.parse_product_path
parse_product_path(path: str) -> typing.Dict[str, str]
Parses a product path into its component segments.
See more: google.cloud.vision_v1p3beta1.services.product_search.ProductSearchClient.parse_product_path
google.cloud.vision_v1p3beta1.services.product_search.ProductSearchClient.parse_product_set_path
parse_product_set_path(path: str) -> typing.Dict[str, str]
Parses a product_set path into its component segments.
See more: google.cloud.vision_v1p3beta1.services.product_search.ProductSearchClient.parse_product_set_path
google.cloud.vision_v1p3beta1.services.product_search.ProductSearchClient.parse_reference_image_path
parse_reference_image_path(path: str) -> typing.Dict[str, str]
Parses a reference_image path into its component segments.
See more: google.cloud.vision_v1p3beta1.services.product_search.ProductSearchClient.parse_reference_image_path
google.cloud.vision_v1p3beta1.services.product_search.ProductSearchClient.product_path
product_path(project: str, location: str, product: str) -> str
Returns a fully-qualified product string.
See more: google.cloud.vision_v1p3beta1.services.product_search.ProductSearchClient.product_path
google.cloud.vision_v1p3beta1.services.product_search.ProductSearchClient.product_set_path
product_set_path(project: str, location: str, product_set: str) -> str
Returns a fully-qualified product_set string.
See more: google.cloud.vision_v1p3beta1.services.product_search.ProductSearchClient.product_set_path
google.cloud.vision_v1p3beta1.services.product_search.ProductSearchClient.reference_image_path
reference_image_path(
project: str, location: str, product: str, reference_image: str
) -> str
Returns a fully-qualified reference_image string.
See more: google.cloud.vision_v1p3beta1.services.product_search.ProductSearchClient.reference_image_path
google.cloud.vision_v1p3beta1.services.product_search.ProductSearchClient.remove_product_from_product_set
remove_product_from_product_set(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p3beta1.types.product_search_service.RemoveProductFromProductSetRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
product: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Removes a Product from the specified ProductSet.
google.cloud.vision_v1p3beta1.services.product_search.ProductSearchClient.update_product
update_product(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p3beta1.types.product_search_service.UpdateProductRequest,
dict,
]
] = None,
*,
product: typing.Optional[
google.cloud.vision_v1p3beta1.types.product_search_service.Product
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.vision_v1p3beta1.types.product_search_service.Product
Makes changes to a Product resource.
See more: google.cloud.vision_v1p3beta1.services.product_search.ProductSearchClient.update_product
google.cloud.vision_v1p3beta1.services.product_search.ProductSearchClient.update_product_set
update_product_set(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p3beta1.types.product_search_service.UpdateProductSetRequest,
dict,
]
] = None,
*,
product_set: typing.Optional[
google.cloud.vision_v1p3beta1.types.product_search_service.ProductSet
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.vision_v1p3beta1.types.product_search_service.ProductSet
Makes changes to a ProductSet resource.
See more: google.cloud.vision_v1p3beta1.services.product_search.ProductSearchClient.update_product_set
google.cloud.vision_v1p3beta1.services.product_search.pagers.ListProductSetsAsyncPager
ListProductSetsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.vision_v1p3beta1.types.product_search_service.ListProductSetsResponse
],
],
request: google.cloud.vision_v1p3beta1.types.product_search_service.ListProductSetsRequest,
response: google.cloud.vision_v1p3beta1.types.product_search_service.ListProductSetsResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
See more: google.cloud.vision_v1p3beta1.services.product_search.pagers.ListProductSetsAsyncPager
google.cloud.vision_v1p3beta1.services.product_search.pagers.ListProductSetsPager
ListProductSetsPager(
method: typing.Callable[
[...],
google.cloud.vision_v1p3beta1.types.product_search_service.ListProductSetsResponse,
],
request: google.cloud.vision_v1p3beta1.types.product_search_service.ListProductSetsRequest,
response: google.cloud.vision_v1p3beta1.types.product_search_service.ListProductSetsResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.vision_v1p3beta1.services.product_search.pagers.ListProductSetsPager
google.cloud.vision_v1p3beta1.services.product_search.pagers.ListProductsAsyncPager
ListProductsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.vision_v1p3beta1.types.product_search_service.ListProductsResponse
],
],
request: google.cloud.vision_v1p3beta1.types.product_search_service.ListProductsRequest,
response: google.cloud.vision_v1p3beta1.types.product_search_service.ListProductsResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
See more: google.cloud.vision_v1p3beta1.services.product_search.pagers.ListProductsAsyncPager
google.cloud.vision_v1p3beta1.services.product_search.pagers.ListProductsInProductSetAsyncPager
ListProductsInProductSetAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.vision_v1p3beta1.types.product_search_service.ListProductsInProductSetResponse
],
],
request: google.cloud.vision_v1p3beta1.types.product_search_service.ListProductsInProductSetRequest,
response: google.cloud.vision_v1p3beta1.types.product_search_service.ListProductsInProductSetResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
See more: google.cloud.vision_v1p3beta1.services.product_search.pagers.ListProductsInProductSetAsyncPager
google.cloud.vision_v1p3beta1.services.product_search.pagers.ListProductsInProductSetPager
ListProductsInProductSetPager(
method: typing.Callable[
[...],
google.cloud.vision_v1p3beta1.types.product_search_service.ListProductsInProductSetResponse,
],
request: google.cloud.vision_v1p3beta1.types.product_search_service.ListProductsInProductSetRequest,
response: google.cloud.vision_v1p3beta1.types.product_search_service.ListProductsInProductSetResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.vision_v1p3beta1.services.product_search.pagers.ListProductsInProductSetPager
google.cloud.vision_v1p3beta1.services.product_search.pagers.ListProductsPager
ListProductsPager(
method: typing.Callable[
[...],
google.cloud.vision_v1p3beta1.types.product_search_service.ListProductsResponse,
],
request: google.cloud.vision_v1p3beta1.types.product_search_service.ListProductsRequest,
response: google.cloud.vision_v1p3beta1.types.product_search_service.ListProductsResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.vision_v1p3beta1.services.product_search.pagers.ListProductsPager
google.cloud.vision_v1p3beta1.services.product_search.pagers.ListReferenceImagesAsyncPager
ListReferenceImagesAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.vision_v1p3beta1.types.product_search_service.ListReferenceImagesResponse
],
],
request: google.cloud.vision_v1p3beta1.types.product_search_service.ListReferenceImagesRequest,
response: google.cloud.vision_v1p3beta1.types.product_search_service.ListReferenceImagesResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
See more: google.cloud.vision_v1p3beta1.services.product_search.pagers.ListReferenceImagesAsyncPager
google.cloud.vision_v1p3beta1.services.product_search.pagers.ListReferenceImagesPager
ListReferenceImagesPager(
method: typing.Callable[
[...],
google.cloud.vision_v1p3beta1.types.product_search_service.ListReferenceImagesResponse,
],
request: google.cloud.vision_v1p3beta1.types.product_search_service.ListReferenceImagesRequest,
response: google.cloud.vision_v1p3beta1.types.product_search_service.ListReferenceImagesResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.vision_v1p3beta1.services.product_search.pagers.ListReferenceImagesPager
google.cloud.vision_v1p4beta1.services.image_annotator.ImageAnnotatorAsyncClient
ImageAnnotatorAsyncClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.vision_v1p4beta1.services.image_annotator.transports.base.ImageAnnotatorTransport, typing.Callable[[...], google.cloud.vision_v1p4beta1.services.image_annotator.transports.base.ImageAnnotatorTransport]]] = 'grpc_asyncio', client_options: typing.Optional[google.api_core.client_options.ClientOptions] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the image annotator async client.
See more: google.cloud.vision_v1p4beta1.services.image_annotator.ImageAnnotatorAsyncClient
google.cloud.vision_v1p4beta1.services.image_annotator.ImageAnnotatorAsyncClient.async_batch_annotate_files
async_batch_annotate_files(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p4beta1.types.image_annotator.AsyncBatchAnnotateFilesRequest,
dict,
]
] = None,
*,
requests: typing.Optional[
typing.MutableSequence[
google.cloud.vision_v1p4beta1.types.image_annotator.AsyncAnnotateFileRequest
]
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.operation_async.AsyncOperation
Run asynchronous image detection and annotation for a list of generic files, such as PDF files, which may contain multiple pages and multiple images per page.
google.cloud.vision_v1p4beta1.services.image_annotator.ImageAnnotatorAsyncClient.async_batch_annotate_images
async_batch_annotate_images(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p4beta1.types.image_annotator.AsyncBatchAnnotateImagesRequest,
dict,
]
] = None,
*,
requests: typing.Optional[
typing.MutableSequence[
google.cloud.vision_v1p4beta1.types.image_annotator.AnnotateImageRequest
]
] = None,
output_config: typing.Optional[
google.cloud.vision_v1p4beta1.types.image_annotator.OutputConfig
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.operation_async.AsyncOperation
Run asynchronous image detection and annotation for a list of images.
google.cloud.vision_v1p4beta1.services.image_annotator.ImageAnnotatorAsyncClient.batch_annotate_files
batch_annotate_files(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p4beta1.types.image_annotator.BatchAnnotateFilesRequest,
dict,
]
] = None,
*,
requests: typing.Optional[
typing.MutableSequence[
google.cloud.vision_v1p4beta1.types.image_annotator.AnnotateFileRequest
]
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.vision_v1p4beta1.types.image_annotator.BatchAnnotateFilesResponse
Service that performs image detection and annotation for a batch of files.
google.cloud.vision_v1p4beta1.services.image_annotator.ImageAnnotatorAsyncClient.batch_annotate_images
batch_annotate_images(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p4beta1.types.image_annotator.BatchAnnotateImagesRequest,
dict,
]
] = None,
*,
requests: typing.Optional[
typing.MutableSequence[
google.cloud.vision_v1p4beta1.types.image_annotator.AnnotateImageRequest
]
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.vision_v1p4beta1.types.image_annotator.BatchAnnotateImagesResponse
Run image detection and annotation for a batch of images.
google.cloud.vision_v1p4beta1.services.image_annotator.ImageAnnotatorAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.vision_v1p4beta1.services.image_annotator.ImageAnnotatorAsyncClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.vision_v1p4beta1.services.image_annotator.ImageAnnotatorAsyncClient.common_folder_path
google.cloud.vision_v1p4beta1.services.image_annotator.ImageAnnotatorAsyncClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.vision_v1p4beta1.services.image_annotator.ImageAnnotatorAsyncClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.vision_v1p4beta1.services.image_annotator.ImageAnnotatorAsyncClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.vision_v1p4beta1.services.image_annotator.ImageAnnotatorAsyncClient.common_project_path
google.cloud.vision_v1p4beta1.services.image_annotator.ImageAnnotatorAsyncClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.vision_v1p4beta1.services.image_annotator.ImageAnnotatorAsyncClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
google.cloud.vision_v1p4beta1.services.image_annotator.ImageAnnotatorAsyncClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.vision_v1p4beta1.services.image_annotator.ImageAnnotatorAsyncClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Return the API endpoint and client cert source for mutual TLS.
google.cloud.vision_v1p4beta1.services.image_annotator.ImageAnnotatorAsyncClient.get_transport_class
get_transport_class() -> (
typing.Type[
google.cloud.vision_v1p4beta1.services.image_annotator.transports.base.ImageAnnotatorTransport
]
)
Returns an appropriate transport class.
See more: google.cloud.vision_v1p4beta1.services.image_annotator.ImageAnnotatorAsyncClient.get_transport_class
google.cloud.vision_v1p4beta1.services.image_annotator.ImageAnnotatorAsyncClient.parse_common_billing_account_path
parse_common_billing_account_path(path: str) -> typing.Dict[str, str]
Parse a billing_account path into its component segments.
google.cloud.vision_v1p4beta1.services.image_annotator.ImageAnnotatorAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.vision_v1p4beta1.services.image_annotator.ImageAnnotatorAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.vision_v1p4beta1.services.image_annotator.ImageAnnotatorAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.vision_v1p4beta1.services.image_annotator.ImageAnnotatorAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.vision_v1p4beta1.services.image_annotator.ImageAnnotatorAsyncClient.parse_product_path
parse_product_path(path: str) -> typing.Dict[str, str]
Parses a product path into its component segments.
See more: google.cloud.vision_v1p4beta1.services.image_annotator.ImageAnnotatorAsyncClient.parse_product_path
google.cloud.vision_v1p4beta1.services.image_annotator.ImageAnnotatorAsyncClient.parse_product_set_path
parse_product_set_path(path: str) -> typing.Dict[str, str]
Parses a product_set path into its component segments.
google.cloud.vision_v1p4beta1.services.image_annotator.ImageAnnotatorAsyncClient.product_path
product_path(project: str, location: str, product: str) -> str
Returns a fully-qualified product string.
See more: google.cloud.vision_v1p4beta1.services.image_annotator.ImageAnnotatorAsyncClient.product_path
google.cloud.vision_v1p4beta1.services.image_annotator.ImageAnnotatorAsyncClient.product_set_path
product_set_path(project: str, location: str, product_set: str) -> str
Returns a fully-qualified product_set string.
See more: google.cloud.vision_v1p4beta1.services.image_annotator.ImageAnnotatorAsyncClient.product_set_path
google.cloud.vision_v1p4beta1.services.image_annotator.ImageAnnotatorClient
ImageAnnotatorClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.vision_v1p4beta1.services.image_annotator.transports.base.ImageAnnotatorTransport, typing.Callable[[...], google.cloud.vision_v1p4beta1.services.image_annotator.transports.base.ImageAnnotatorTransport]]] = None, client_options: typing.Optional[typing.Union[google.api_core.client_options.ClientOptions, dict]] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the image annotator client.
See more: google.cloud.vision_v1p4beta1.services.image_annotator.ImageAnnotatorClient
google.cloud.vision_v1p4beta1.services.image_annotator.ImageAnnotatorClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.vision_v1p4beta1.services.image_annotator.ImageAnnotatorClient.exit
google.cloud.vision_v1p4beta1.services.image_annotator.ImageAnnotatorClient.async_batch_annotate_files
async_batch_annotate_files(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p4beta1.types.image_annotator.AsyncBatchAnnotateFilesRequest,
dict,
]
] = None,
*,
requests: typing.Optional[
typing.MutableSequence[
google.cloud.vision_v1p4beta1.types.image_annotator.AsyncAnnotateFileRequest
]
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.operation.Operation
Run asynchronous image detection and annotation for a list of generic files, such as PDF files, which may contain multiple pages and multiple images per page.
google.cloud.vision_v1p4beta1.services.image_annotator.ImageAnnotatorClient.async_batch_annotate_images
async_batch_annotate_images(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p4beta1.types.image_annotator.AsyncBatchAnnotateImagesRequest,
dict,
]
] = None,
*,
requests: typing.Optional[
typing.MutableSequence[
google.cloud.vision_v1p4beta1.types.image_annotator.AnnotateImageRequest
]
] = None,
output_config: typing.Optional[
google.cloud.vision_v1p4beta1.types.image_annotator.OutputConfig
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.operation.Operation
Run asynchronous image detection and annotation for a list of images.
google.cloud.vision_v1p4beta1.services.image_annotator.ImageAnnotatorClient.batch_annotate_files
batch_annotate_files(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p4beta1.types.image_annotator.BatchAnnotateFilesRequest,
dict,
]
] = None,
*,
requests: typing.Optional[
typing.MutableSequence[
google.cloud.vision_v1p4beta1.types.image_annotator.AnnotateFileRequest
]
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.vision_v1p4beta1.types.image_annotator.BatchAnnotateFilesResponse
Service that performs image detection and annotation for a batch of files.
See more: google.cloud.vision_v1p4beta1.services.image_annotator.ImageAnnotatorClient.batch_annotate_files
google.cloud.vision_v1p4beta1.services.image_annotator.ImageAnnotatorClient.batch_annotate_images
batch_annotate_images(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p4beta1.types.image_annotator.BatchAnnotateImagesRequest,
dict,
]
] = None,
*,
requests: typing.Optional[
typing.MutableSequence[
google.cloud.vision_v1p4beta1.types.image_annotator.AnnotateImageRequest
]
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.vision_v1p4beta1.types.image_annotator.BatchAnnotateImagesResponse
Run image detection and annotation for a batch of images.
See more: google.cloud.vision_v1p4beta1.services.image_annotator.ImageAnnotatorClient.batch_annotate_images
google.cloud.vision_v1p4beta1.services.image_annotator.ImageAnnotatorClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.vision_v1p4beta1.services.image_annotator.ImageAnnotatorClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.vision_v1p4beta1.services.image_annotator.ImageAnnotatorClient.common_folder_path
google.cloud.vision_v1p4beta1.services.image_annotator.ImageAnnotatorClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.vision_v1p4beta1.services.image_annotator.ImageAnnotatorClient.common_location_path
google.cloud.vision_v1p4beta1.services.image_annotator.ImageAnnotatorClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.vision_v1p4beta1.services.image_annotator.ImageAnnotatorClient.common_organization_path
google.cloud.vision_v1p4beta1.services.image_annotator.ImageAnnotatorClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.vision_v1p4beta1.services.image_annotator.ImageAnnotatorClient.common_project_path
google.cloud.vision_v1p4beta1.services.image_annotator.ImageAnnotatorClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.vision_v1p4beta1.services.image_annotator.ImageAnnotatorClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
google.cloud.vision_v1p4beta1.services.image_annotator.ImageAnnotatorClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.vision_v1p4beta1.services.image_annotator.ImageAnnotatorClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Deprecated.
google.cloud.vision_v1p4beta1.services.image_annotator.ImageAnnotatorClient.parse_common_billing_account_path
parse_common_billing_account_path(path: str) -> typing.Dict[str, str]
Parse a billing_account path into its component segments.
google.cloud.vision_v1p4beta1.services.image_annotator.ImageAnnotatorClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
See more: google.cloud.vision_v1p4beta1.services.image_annotator.ImageAnnotatorClient.parse_common_folder_path
google.cloud.vision_v1p4beta1.services.image_annotator.ImageAnnotatorClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.vision_v1p4beta1.services.image_annotator.ImageAnnotatorClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.vision_v1p4beta1.services.image_annotator.ImageAnnotatorClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.vision_v1p4beta1.services.image_annotator.ImageAnnotatorClient.parse_product_path
parse_product_path(path: str) -> typing.Dict[str, str]
Parses a product path into its component segments.
See more: google.cloud.vision_v1p4beta1.services.image_annotator.ImageAnnotatorClient.parse_product_path
google.cloud.vision_v1p4beta1.services.image_annotator.ImageAnnotatorClient.parse_product_set_path
parse_product_set_path(path: str) -> typing.Dict[str, str]
Parses a product_set path into its component segments.
See more: google.cloud.vision_v1p4beta1.services.image_annotator.ImageAnnotatorClient.parse_product_set_path
google.cloud.vision_v1p4beta1.services.image_annotator.ImageAnnotatorClient.product_path
product_path(project: str, location: str, product: str) -> str
Returns a fully-qualified product string.
See more: google.cloud.vision_v1p4beta1.services.image_annotator.ImageAnnotatorClient.product_path
google.cloud.vision_v1p4beta1.services.image_annotator.ImageAnnotatorClient.product_set_path
product_set_path(project: str, location: str, product_set: str) -> str
Returns a fully-qualified product_set string.
See more: google.cloud.vision_v1p4beta1.services.image_annotator.ImageAnnotatorClient.product_set_path
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchAsyncClient
ProductSearchAsyncClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.vision_v1p4beta1.services.product_search.transports.base.ProductSearchTransport, typing.Callable[[...], google.cloud.vision_v1p4beta1.services.product_search.transports.base.ProductSearchTransport]]] = 'grpc_asyncio', client_options: typing.Optional[google.api_core.client_options.ClientOptions] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the product search async client.
See more: google.cloud.vision_v1p4beta1.services.product_search.ProductSearchAsyncClient
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchAsyncClient.add_product_to_product_set
add_product_to_product_set(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p4beta1.types.product_search_service.AddProductToProductSetRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
product: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Adds a Product to the specified ProductSet.
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchAsyncClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.vision_v1p4beta1.services.product_search.ProductSearchAsyncClient.common_folder_path
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchAsyncClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.vision_v1p4beta1.services.product_search.ProductSearchAsyncClient.common_location_path
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchAsyncClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchAsyncClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.vision_v1p4beta1.services.product_search.ProductSearchAsyncClient.common_project_path
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchAsyncClient.create_product
create_product(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p4beta1.types.product_search_service.CreateProductRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
product: typing.Optional[
google.cloud.vision_v1p4beta1.types.product_search_service.Product
] = None,
product_id: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.vision_v1p4beta1.types.product_search_service.Product
Creates and returns a new product resource.
See more: google.cloud.vision_v1p4beta1.services.product_search.ProductSearchAsyncClient.create_product
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchAsyncClient.create_product_set
create_product_set(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p4beta1.types.product_search_service.CreateProductSetRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
product_set: typing.Optional[
google.cloud.vision_v1p4beta1.types.product_search_service.ProductSet
] = None,
product_set_id: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.vision_v1p4beta1.types.product_search_service.ProductSet
Creates and returns a new ProductSet resource.
See more: google.cloud.vision_v1p4beta1.services.product_search.ProductSearchAsyncClient.create_product_set
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchAsyncClient.create_reference_image
create_reference_image(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p4beta1.types.product_search_service.CreateReferenceImageRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
reference_image: typing.Optional[
google.cloud.vision_v1p4beta1.types.product_search_service.ReferenceImage
] = None,
reference_image_id: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.vision_v1p4beta1.types.product_search_service.ReferenceImage
Creates and returns a new ReferenceImage resource.
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchAsyncClient.delete_product
delete_product(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p4beta1.types.product_search_service.DeleteProductRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Permanently deletes a product and its reference images.
See more: google.cloud.vision_v1p4beta1.services.product_search.ProductSearchAsyncClient.delete_product
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchAsyncClient.delete_product_set
delete_product_set(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p4beta1.types.product_search_service.DeleteProductSetRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Permanently deletes a ProductSet.
See more: google.cloud.vision_v1p4beta1.services.product_search.ProductSearchAsyncClient.delete_product_set
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchAsyncClient.delete_reference_image
delete_reference_image(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p4beta1.types.product_search_service.DeleteReferenceImageRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Permanently deletes a reference image.
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchAsyncClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchAsyncClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchAsyncClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchAsyncClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Return the API endpoint and client cert source for mutual TLS.
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchAsyncClient.get_product
get_product(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p4beta1.types.product_search_service.GetProductRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.vision_v1p4beta1.types.product_search_service.Product
Gets information associated with a Product.
See more: google.cloud.vision_v1p4beta1.services.product_search.ProductSearchAsyncClient.get_product
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchAsyncClient.get_product_set
get_product_set(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p4beta1.types.product_search_service.GetProductSetRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.vision_v1p4beta1.types.product_search_service.ProductSet
Gets information associated with a ProductSet.
See more: google.cloud.vision_v1p4beta1.services.product_search.ProductSearchAsyncClient.get_product_set
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchAsyncClient.get_reference_image
get_reference_image(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p4beta1.types.product_search_service.GetReferenceImageRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.vision_v1p4beta1.types.product_search_service.ReferenceImage
Gets information associated with a ReferenceImage.
See more: google.cloud.vision_v1p4beta1.services.product_search.ProductSearchAsyncClient.get_reference_image
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchAsyncClient.get_transport_class
get_transport_class() -> (
typing.Type[
google.cloud.vision_v1p4beta1.services.product_search.transports.base.ProductSearchTransport
]
)
Returns an appropriate transport class.
See more: google.cloud.vision_v1p4beta1.services.product_search.ProductSearchAsyncClient.get_transport_class
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchAsyncClient.import_product_sets
import_product_sets(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p4beta1.types.product_search_service.ImportProductSetsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
input_config: typing.Optional[
google.cloud.vision_v1p4beta1.types.product_search_service.ImportProductSetsInputConfig
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.operation_async.AsyncOperation
Asynchronous API that imports a list of reference images to specified product sets based on a list of image information.
See more: google.cloud.vision_v1p4beta1.services.product_search.ProductSearchAsyncClient.import_product_sets
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchAsyncClient.list_product_sets
list_product_sets(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p4beta1.types.product_search_service.ListProductSetsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.vision_v1p4beta1.services.product_search.pagers.ListProductSetsAsyncPager
)
Lists ProductSets in an unspecified order.
See more: google.cloud.vision_v1p4beta1.services.product_search.ProductSearchAsyncClient.list_product_sets
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchAsyncClient.list_products
list_products(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p4beta1.types.product_search_service.ListProductsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.vision_v1p4beta1.services.product_search.pagers.ListProductsAsyncPager
)
Lists products in an unspecified order.
See more: google.cloud.vision_v1p4beta1.services.product_search.ProductSearchAsyncClient.list_products
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchAsyncClient.list_products_in_product_set
list_products_in_product_set(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p4beta1.types.product_search_service.ListProductsInProductSetRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.vision_v1p4beta1.services.product_search.pagers.ListProductsInProductSetAsyncPager
)
Lists the Products in a ProductSet, in an unspecified order.
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchAsyncClient.list_reference_images
list_reference_images(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p4beta1.types.product_search_service.ListReferenceImagesRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.vision_v1p4beta1.services.product_search.pagers.ListReferenceImagesAsyncPager
)
Lists reference images.
See more: google.cloud.vision_v1p4beta1.services.product_search.ProductSearchAsyncClient.list_reference_images
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchAsyncClient.parse_common_billing_account_path
parse_common_billing_account_path(path: str) -> typing.Dict[str, str]
Parse a billing_account path into its component segments.
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchAsyncClient.parse_product_path
parse_product_path(path: str) -> typing.Dict[str, str]
Parses a product path into its component segments.
See more: google.cloud.vision_v1p4beta1.services.product_search.ProductSearchAsyncClient.parse_product_path
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchAsyncClient.parse_product_set_path
parse_product_set_path(path: str) -> typing.Dict[str, str]
Parses a product_set path into its component segments.
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchAsyncClient.parse_reference_image_path
parse_reference_image_path(path: str) -> typing.Dict[str, str]
Parses a reference_image path into its component segments.
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchAsyncClient.product_path
product_path(project: str, location: str, product: str) -> str
Returns a fully-qualified product string.
See more: google.cloud.vision_v1p4beta1.services.product_search.ProductSearchAsyncClient.product_path
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchAsyncClient.product_set_path
product_set_path(project: str, location: str, product_set: str) -> str
Returns a fully-qualified product_set string.
See more: google.cloud.vision_v1p4beta1.services.product_search.ProductSearchAsyncClient.product_set_path
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchAsyncClient.purge_products
purge_products(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p4beta1.types.product_search_service.PurgeProductsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.operation_async.AsyncOperation
Asynchronous API to delete all Products in a ProductSet or all Products that are in no ProductSet.
See more: google.cloud.vision_v1p4beta1.services.product_search.ProductSearchAsyncClient.purge_products
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchAsyncClient.reference_image_path
reference_image_path(
project: str, location: str, product: str, reference_image: str
) -> str
Returns a fully-qualified reference_image string.
See more: google.cloud.vision_v1p4beta1.services.product_search.ProductSearchAsyncClient.reference_image_path
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchAsyncClient.remove_product_from_product_set
remove_product_from_product_set(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p4beta1.types.product_search_service.RemoveProductFromProductSetRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
product: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Removes a Product from the specified ProductSet.
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchAsyncClient.update_product
update_product(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p4beta1.types.product_search_service.UpdateProductRequest,
dict,
]
] = None,
*,
product: typing.Optional[
google.cloud.vision_v1p4beta1.types.product_search_service.Product
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.vision_v1p4beta1.types.product_search_service.Product
Makes changes to a Product resource.
See more: google.cloud.vision_v1p4beta1.services.product_search.ProductSearchAsyncClient.update_product
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchAsyncClient.update_product_set
update_product_set(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p4beta1.types.product_search_service.UpdateProductSetRequest,
dict,
]
] = None,
*,
product_set: typing.Optional[
google.cloud.vision_v1p4beta1.types.product_search_service.ProductSet
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary_async.AsyncRetry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.vision_v1p4beta1.types.product_search_service.ProductSet
Makes changes to a ProductSet resource.
See more: google.cloud.vision_v1p4beta1.services.product_search.ProductSearchAsyncClient.update_product_set
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchClient
ProductSearchClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.vision_v1p4beta1.services.product_search.transports.base.ProductSearchTransport, typing.Callable[[...], google.cloud.vision_v1p4beta1.services.product_search.transports.base.ProductSearchTransport]]] = None, client_options: typing.Optional[typing.Union[google.api_core.client_options.ClientOptions, dict]] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo =
Instantiates the product search client.
See more: google.cloud.vision_v1p4beta1.services.product_search.ProductSearchClient
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.vision_v1p4beta1.services.product_search.ProductSearchClient.exit
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchClient.add_product_to_product_set
add_product_to_product_set(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p4beta1.types.product_search_service.AddProductToProductSetRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
product: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Adds a Product to the specified ProductSet.
See more: google.cloud.vision_v1p4beta1.services.product_search.ProductSearchClient.add_product_to_product_set
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.vision_v1p4beta1.services.product_search.ProductSearchClient.common_folder_path
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.vision_v1p4beta1.services.product_search.ProductSearchClient.common_location_path
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.vision_v1p4beta1.services.product_search.ProductSearchClient.common_organization_path
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.vision_v1p4beta1.services.product_search.ProductSearchClient.common_project_path
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchClient.create_product
create_product(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p4beta1.types.product_search_service.CreateProductRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
product: typing.Optional[
google.cloud.vision_v1p4beta1.types.product_search_service.Product
] = None,
product_id: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.vision_v1p4beta1.types.product_search_service.Product
Creates and returns a new product resource.
See more: google.cloud.vision_v1p4beta1.services.product_search.ProductSearchClient.create_product
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchClient.create_product_set
create_product_set(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p4beta1.types.product_search_service.CreateProductSetRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
product_set: typing.Optional[
google.cloud.vision_v1p4beta1.types.product_search_service.ProductSet
] = None,
product_set_id: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.vision_v1p4beta1.types.product_search_service.ProductSet
Creates and returns a new ProductSet resource.
See more: google.cloud.vision_v1p4beta1.services.product_search.ProductSearchClient.create_product_set
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchClient.create_reference_image
create_reference_image(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p4beta1.types.product_search_service.CreateReferenceImageRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
reference_image: typing.Optional[
google.cloud.vision_v1p4beta1.types.product_search_service.ReferenceImage
] = None,
reference_image_id: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.vision_v1p4beta1.types.product_search_service.ReferenceImage
Creates and returns a new ReferenceImage resource.
See more: google.cloud.vision_v1p4beta1.services.product_search.ProductSearchClient.create_reference_image
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchClient.delete_product
delete_product(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p4beta1.types.product_search_service.DeleteProductRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Permanently deletes a product and its reference images.
See more: google.cloud.vision_v1p4beta1.services.product_search.ProductSearchClient.delete_product
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchClient.delete_product_set
delete_product_set(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p4beta1.types.product_search_service.DeleteProductSetRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Permanently deletes a ProductSet.
See more: google.cloud.vision_v1p4beta1.services.product_search.ProductSearchClient.delete_product_set
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchClient.delete_reference_image
delete_reference_image(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p4beta1.types.product_search_service.DeleteReferenceImageRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Permanently deletes a reference image.
See more: google.cloud.vision_v1p4beta1.services.product_search.ProductSearchClient.delete_reference_image
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
See more: google.cloud.vision_v1p4beta1.services.product_search.ProductSearchClient.from_service_account_file
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
See more: google.cloud.vision_v1p4beta1.services.product_search.ProductSearchClient.from_service_account_info
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
See more: google.cloud.vision_v1p4beta1.services.product_search.ProductSearchClient.from_service_account_json
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Deprecated.
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchClient.get_product
get_product(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p4beta1.types.product_search_service.GetProductRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.vision_v1p4beta1.types.product_search_service.Product
Gets information associated with a Product.
See more: google.cloud.vision_v1p4beta1.services.product_search.ProductSearchClient.get_product
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchClient.get_product_set
get_product_set(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p4beta1.types.product_search_service.GetProductSetRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.vision_v1p4beta1.types.product_search_service.ProductSet
Gets information associated with a ProductSet.
See more: google.cloud.vision_v1p4beta1.services.product_search.ProductSearchClient.get_product_set
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchClient.get_reference_image
get_reference_image(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p4beta1.types.product_search_service.GetReferenceImageRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.vision_v1p4beta1.types.product_search_service.ReferenceImage
Gets information associated with a ReferenceImage.
See more: google.cloud.vision_v1p4beta1.services.product_search.ProductSearchClient.get_reference_image
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchClient.import_product_sets
import_product_sets(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p4beta1.types.product_search_service.ImportProductSetsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
input_config: typing.Optional[
google.cloud.vision_v1p4beta1.types.product_search_service.ImportProductSetsInputConfig
] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.operation.Operation
Asynchronous API that imports a list of reference images to specified product sets based on a list of image information.
See more: google.cloud.vision_v1p4beta1.services.product_search.ProductSearchClient.import_product_sets
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchClient.list_product_sets
list_product_sets(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p4beta1.types.product_search_service.ListProductSetsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.vision_v1p4beta1.services.product_search.pagers.ListProductSetsPager
Lists ProductSets in an unspecified order.
See more: google.cloud.vision_v1p4beta1.services.product_search.ProductSearchClient.list_product_sets
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchClient.list_products
list_products(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p4beta1.types.product_search_service.ListProductsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.vision_v1p4beta1.services.product_search.pagers.ListProductsPager
Lists products in an unspecified order.
See more: google.cloud.vision_v1p4beta1.services.product_search.ProductSearchClient.list_products
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchClient.list_products_in_product_set
list_products_in_product_set(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p4beta1.types.product_search_service.ListProductsInProductSetRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.vision_v1p4beta1.services.product_search.pagers.ListProductsInProductSetPager
)
Lists the Products in a ProductSet, in an unspecified order.
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchClient.list_reference_images
list_reference_images(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p4beta1.types.product_search_service.ListReferenceImagesRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> (
google.cloud.vision_v1p4beta1.services.product_search.pagers.ListReferenceImagesPager
)
Lists reference images.
See more: google.cloud.vision_v1p4beta1.services.product_search.ProductSearchClient.list_reference_images
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchClient.parse_common_billing_account_path
parse_common_billing_account_path(path: str) -> typing.Dict[str, str]
Parse a billing_account path into its component segments.
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
See more: google.cloud.vision_v1p4beta1.services.product_search.ProductSearchClient.parse_common_folder_path
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
See more: google.cloud.vision_v1p4beta1.services.product_search.ProductSearchClient.parse_common_location_path
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
See more: google.cloud.vision_v1p4beta1.services.product_search.ProductSearchClient.parse_common_project_path
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchClient.parse_product_path
parse_product_path(path: str) -> typing.Dict[str, str]
Parses a product path into its component segments.
See more: google.cloud.vision_v1p4beta1.services.product_search.ProductSearchClient.parse_product_path
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchClient.parse_product_set_path
parse_product_set_path(path: str) -> typing.Dict[str, str]
Parses a product_set path into its component segments.
See more: google.cloud.vision_v1p4beta1.services.product_search.ProductSearchClient.parse_product_set_path
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchClient.parse_reference_image_path
parse_reference_image_path(path: str) -> typing.Dict[str, str]
Parses a reference_image path into its component segments.
See more: google.cloud.vision_v1p4beta1.services.product_search.ProductSearchClient.parse_reference_image_path
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchClient.product_path
product_path(project: str, location: str, product: str) -> str
Returns a fully-qualified product string.
See more: google.cloud.vision_v1p4beta1.services.product_search.ProductSearchClient.product_path
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchClient.product_set_path
product_set_path(project: str, location: str, product_set: str) -> str
Returns a fully-qualified product_set string.
See more: google.cloud.vision_v1p4beta1.services.product_search.ProductSearchClient.product_set_path
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchClient.purge_products
purge_products(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p4beta1.types.product_search_service.PurgeProductsRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.api_core.operation.Operation
Asynchronous API to delete all Products in a ProductSet or all Products that are in no ProductSet.
See more: google.cloud.vision_v1p4beta1.services.product_search.ProductSearchClient.purge_products
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchClient.reference_image_path
reference_image_path(
project: str, location: str, product: str, reference_image: str
) -> str
Returns a fully-qualified reference_image string.
See more: google.cloud.vision_v1p4beta1.services.product_search.ProductSearchClient.reference_image_path
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchClient.remove_product_from_product_set
remove_product_from_product_set(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p4beta1.types.product_search_service.RemoveProductFromProductSetRequest,
dict,
]
] = None,
*,
name: typing.Optional[str] = None,
product: typing.Optional[str] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> None
Removes a Product from the specified ProductSet.
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchClient.update_product
update_product(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p4beta1.types.product_search_service.UpdateProductRequest,
dict,
]
] = None,
*,
product: typing.Optional[
google.cloud.vision_v1p4beta1.types.product_search_service.Product
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.vision_v1p4beta1.types.product_search_service.Product
Makes changes to a Product resource.
See more: google.cloud.vision_v1p4beta1.services.product_search.ProductSearchClient.update_product
google.cloud.vision_v1p4beta1.services.product_search.ProductSearchClient.update_product_set
update_product_set(
request: typing.Optional[
typing.Union[
google.cloud.vision_v1p4beta1.types.product_search_service.UpdateProductSetRequest,
dict,
]
] = None,
*,
product_set: typing.Optional[
google.cloud.vision_v1p4beta1.types.product_search_service.ProductSet
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
retry: typing.Optional[
typing.Union[
google.api_core.retry.retry_unary.Retry,
google.api_core.gapic_v1.method._MethodDefault,
]
] = _MethodDefault._DEFAULT_VALUE,
timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
) -> google.cloud.vision_v1p4beta1.types.product_search_service.ProductSet
Makes changes to a ProductSet resource.
See more: google.cloud.vision_v1p4beta1.services.product_search.ProductSearchClient.update_product_set
google.cloud.vision_v1p4beta1.services.product_search.pagers.ListProductSetsAsyncPager
ListProductSetsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.vision_v1p4beta1.types.product_search_service.ListProductSetsResponse
],
],
request: google.cloud.vision_v1p4beta1.types.product_search_service.ListProductSetsRequest,
response: google.cloud.vision_v1p4beta1.types.product_search_service.ListProductSetsResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
See more: google.cloud.vision_v1p4beta1.services.product_search.pagers.ListProductSetsAsyncPager
google.cloud.vision_v1p4beta1.services.product_search.pagers.ListProductSetsPager
ListProductSetsPager(
method: typing.Callable[
[...],
google.cloud.vision_v1p4beta1.types.product_search_service.ListProductSetsResponse,
],
request: google.cloud.vision_v1p4beta1.types.product_search_service.ListProductSetsRequest,
response: google.cloud.vision_v1p4beta1.types.product_search_service.ListProductSetsResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.vision_v1p4beta1.services.product_search.pagers.ListProductSetsPager
google.cloud.vision_v1p4beta1.services.product_search.pagers.ListProductsAsyncPager
ListProductsAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.vision_v1p4beta1.types.product_search_service.ListProductsResponse
],
],
request: google.cloud.vision_v1p4beta1.types.product_search_service.ListProductsRequest,
response: google.cloud.vision_v1p4beta1.types.product_search_service.ListProductsResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
See more: google.cloud.vision_v1p4beta1.services.product_search.pagers.ListProductsAsyncPager
google.cloud.vision_v1p4beta1.services.product_search.pagers.ListProductsInProductSetAsyncPager
ListProductsInProductSetAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.vision_v1p4beta1.types.product_search_service.ListProductsInProductSetResponse
],
],
request: google.cloud.vision_v1p4beta1.types.product_search_service.ListProductsInProductSetRequest,
response: google.cloud.vision_v1p4beta1.types.product_search_service.ListProductsInProductSetResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
See more: google.cloud.vision_v1p4beta1.services.product_search.pagers.ListProductsInProductSetAsyncPager
google.cloud.vision_v1p4beta1.services.product_search.pagers.ListProductsInProductSetPager
ListProductsInProductSetPager(
method: typing.Callable[
[...],
google.cloud.vision_v1p4beta1.types.product_search_service.ListProductsInProductSetResponse,
],
request: google.cloud.vision_v1p4beta1.types.product_search_service.ListProductsInProductSetRequest,
response: google.cloud.vision_v1p4beta1.types.product_search_service.ListProductsInProductSetResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.vision_v1p4beta1.services.product_search.pagers.ListProductsInProductSetPager
google.cloud.vision_v1p4beta1.services.product_search.pagers.ListProductsPager
ListProductsPager(
method: typing.Callable[
[...],
google.cloud.vision_v1p4beta1.types.product_search_service.ListProductsResponse,
],
request: google.cloud.vision_v1p4beta1.types.product_search_service.ListProductsRequest,
response: google.cloud.vision_v1p4beta1.types.product_search_service.ListProductsResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.vision_v1p4beta1.services.product_search.pagers.ListProductsPager
google.cloud.vision_v1p4beta1.services.product_search.pagers.ListReferenceImagesAsyncPager
ListReferenceImagesAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.vision_v1p4beta1.types.product_search_service.ListReferenceImagesResponse
],
],
request: google.cloud.vision_v1p4beta1.types.product_search_service.ListReferenceImagesRequest,
response: google.cloud.vision_v1p4beta1.types.product_search_service.ListReferenceImagesResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
See more: google.cloud.vision_v1p4beta1.services.product_search.pagers.ListReferenceImagesAsyncPager
google.cloud.vision_v1p4beta1.services.product_search.pagers.ListReferenceImagesPager
ListReferenceImagesPager(
method: typing.Callable[
[...],
google.cloud.vision_v1p4beta1.types.product_search_service.ListReferenceImagesResponse,
],
request: google.cloud.vision_v1p4beta1.types.product_search_service.ListReferenceImagesRequest,
response: google.cloud.vision_v1p4beta1.types.product_search_service.ListReferenceImagesResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.vision_v1p4beta1.services.product_search.pagers.ListReferenceImagesPager