Vision AI V1 API - Class Google::Cloud::VisionAI::V1::ViewCollectionItemsRequest (v0.2.0)

Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::ViewCollectionItemsRequest.

Request message for ViewCollectionItems.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#collection

def collection() -> ::String
Returns
  • (::String) — Required. The collection to view. Format: projects/{project_number}/locations/{location}/corpora/{corpus}/collections/{collection}

#collection=

def collection=(value) -> ::String
Parameter
  • value (::String) — Required. The collection to view. Format: projects/{project_number}/locations/{location}/corpora/{corpus}/collections/{collection}
Returns
  • (::String) — Required. The collection to view. Format: projects/{project_number}/locations/{location}/corpora/{corpus}/collections/{collection}

#page_size

def page_size() -> ::Integer
Returns
  • (::Integer) — The maximum number of collections to return. The service may return fewer than this value. If unspecified, at most 50 collections will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

#page_size=

def page_size=(value) -> ::Integer
Parameter
  • value (::Integer) — The maximum number of collections to return. The service may return fewer than this value. If unspecified, at most 50 collections will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
Returns
  • (::Integer) — The maximum number of collections to return. The service may return fewer than this value. If unspecified, at most 50 collections will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

#page_token

def page_token() -> ::String
Returns
  • (::String) — A page token, received from a previous ViewCollectionItemsRequest call. Provide this to retrieve the subsequent page.

    When paginating, all other parameters provided to ViewCollectionItemsRequest must match the call that provided the page token.

#page_token=

def page_token=(value) -> ::String
Parameter
  • value (::String) — A page token, received from a previous ViewCollectionItemsRequest call. Provide this to retrieve the subsequent page.

    When paginating, all other parameters provided to ViewCollectionItemsRequest must match the call that provided the page token.

Returns
  • (::String) — A page token, received from a previous ViewCollectionItemsRequest call. Provide this to retrieve the subsequent page.

    When paginating, all other parameters provided to ViewCollectionItemsRequest must match the call that provided the page token.