Vision AI V1 API - Class Google::Cloud::VisionAI::V1::ListSearchHypernymsRequest (v0.3.0)

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

Request message for listing SearchHypernyms.

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 SearchHypernyms returned. The service may return fewer than this value. If unspecified, a page size of 50 will be used. 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 SearchHypernyms returned. The service may return fewer than this value. If unspecified, a page size of 50 will be used. The maximum value is 1000; values above 1000 will be coerced to 1000.
Returns
  • (::Integer) — The maximum number of SearchHypernyms returned. The service may return fewer than this value. If unspecified, a page size of 50 will be used. 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 SearchHypernym call. Provide this to retrieve the subsequent page.

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

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

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

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

#parent

def parent() -> ::String
Returns
  • (::String) — Required. The parent, which owns this collection of SearchHypernyms. Format: projects/{project_number}/locations/{location}/corpora/{corpus}

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — Required. The parent, which owns this collection of SearchHypernyms. Format: projects/{project_number}/locations/{location}/corpora/{corpus}
Returns
  • (::String) — Required. The parent, which owns this collection of SearchHypernyms. Format: projects/{project_number}/locations/{location}/corpora/{corpus}