Vision AI V1 API - Class Google::Cloud::VisionAI::V1::ListCollectionsRequest (v0.1.0)

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

Request message for ListCollections.

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 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 ListCollectionsRequest call. Provide this to retrieve the subsequent page.

    When paginating, all other parameters provided to ListCollectionsRequest 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 ListCollectionsRequest call. Provide this to retrieve the subsequent page.

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

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

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

#parent

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

#parent=

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