Class: Google::Cloud::Vision::V1::ListProductsRequest

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

Overview

Request message for the ListProducts method.

Instance Attribute Summary collapse

Instance Attribute Details

#page_size::Integer

Returns The maximum number of items to return. Default 10, maximum 100.

Returns:

  • (::Integer)

    The maximum number of items to return. Default 10, maximum 100.



179
180
181
182
# File 'proto_docs/google/cloud/vision/v1/product_search_service.rb', line 179

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

#page_token::String

Returns The next_page_token returned from a previous List request, if any.

Returns:

  • (::String)

    The next_page_token returned from a previous List request, if any.



179
180
181
182
# File 'proto_docs/google/cloud/vision/v1/product_search_service.rb', line 179

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

#parent::String

Returns Required. The project OR ProductSet from which Products should be listed.

Format: projects/PROJECT_ID/locations/LOC_ID.

Returns:

  • (::String)

    Required. The project OR ProductSet from which Products should be listed.

    Format: projects/PROJECT_ID/locations/LOC_ID



179
180
181
182
# File 'proto_docs/google/cloud/vision/v1/product_search_service.rb', line 179

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