Cloud Vision V1 API - Class Google::Cloud::Vision::V1::ListProductsRequest (v0.9.0)

Reference documentation and code samples for the Cloud Vision V1 API class Google::Cloud::Vision::V1::ListProductsRequest.

Request message for the ListProducts method.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#page_size

def page_size() -> ::Integer
Returns
  • (::Integer) — The maximum number of items to return. Default 10, maximum 100.

#page_size=

def page_size=(value) -> ::Integer
Parameter
  • value (::Integer) — The maximum number of items to return. Default 10, maximum 100.
Returns
  • (::Integer) — The maximum number of items to return. Default 10, maximum 100.

#page_token

def page_token() -> ::String
Returns
  • (::String) — The next_page_token returned from a previous List request, if any.

#page_token=

def page_token=(value) -> ::String
Parameter
  • value (::String) — 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.

#parent

def parent() -> ::String
Returns
  • (::String) — Required. The project OR ProductSet from which Products should be listed.

    Format: projects/PROJECT_ID/locations/LOC_ID

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — 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