Class: Google::Cloud::Vision::V1p3beta1::ProductSet

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/vision/v1p3beta1/product_search_service.rb

Overview

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

Instance Attribute Summary collapse

Instance Attribute Details

#display_name::String

Returns 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.



105
106
107
108
# File 'proto_docs/google/cloud/vision/v1p3beta1/product_search_service.rb', line 105

class ProductSet
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#index_error::Google::Rpc::Status (readonly)

Returns Output only. If there was an error with indexing the product set, the field is populated.

This field is ignored when creating a ProductSet.

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.



105
106
107
108
# File 'proto_docs/google/cloud/vision/v1p3beta1/product_search_service.rb', line 105

class ProductSet
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#index_time::Google::Protobuf::Timestamp (readonly)

Returns 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.

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.



105
106
107
108
# File 'proto_docs/google/cloud/vision/v1p3beta1/product_search_service.rb', line 105

class ProductSet
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#name::String

Returns 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.



105
106
107
108
# File 'proto_docs/google/cloud/vision/v1p3beta1/product_search_service.rb', line 105

class ProductSet
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end