Cloud Vision V1p3beta1 API - Class Google::Cloud::Vision::V1p3beta1::ProductSet (v0.10.0)

Reference documentation and code samples for the Cloud Vision V1p3beta1 API class Google::Cloud::Vision::V1p3beta1::ProductSet.

A ProductSet contains Products. A ProductSet can contain a maximum of 1 million reference images. If the limit is exceeded, periodic indexing will fail.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#display_name

def display_name() -> ::String
Returns
  • (::String) — The user-provided name for this ProductSet. Must not be empty. Must be at most 4096 characters long.

#display_name=

def display_name=(value) -> ::String
Parameter
  • value (::String) — The user-provided name for this ProductSet. Must not be empty. Must be at most 4096 characters long.
Returns
  • (::String) — The user-provided name for this ProductSet. Must not be empty. Must be at most 4096 characters long.

#index_error

def index_error() -> ::Google::Rpc::Status
Returns
  • (::Google::Rpc::Status) — Output only. If there was an error with indexing the product set, the field is populated.

    This field is ignored when creating a ProductSet.

#index_time

def index_time() -> ::Google::Protobuf::Timestamp
Returns
  • (::Google::Protobuf::Timestamp) — Output only. The time at which this ProductSet was last indexed. Query results will reflect all updates before this time. If this ProductSet has never been indexed, this field is 0.

    This field is ignored when creating a ProductSet.

#name

def name() -> ::String
Returns
  • (::String) — The resource name of the ProductSet.

    Format is: projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID.

    This field is ignored when creating a ProductSet.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — The resource name of the ProductSet.

    Format is: projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID.

    This field is ignored when creating a ProductSet.

Returns
  • (::String) — The resource name of the ProductSet.

    Format is: projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID.

    This field is ignored when creating a ProductSet.