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

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

Request message for CreateSearchConfig.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#parent

def parent() -> ::String
Returns
  • (::String) — Required. The parent resource where this search configuration will be created. Format: projects/{project_number}/locations/{location_id}/corpora/{corpus_id}

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — Required. The parent resource where this search configuration will be created. Format: projects/{project_number}/locations/{location_id}/corpora/{corpus_id}
Returns
  • (::String) — Required. The parent resource where this search configuration will be created. Format: projects/{project_number}/locations/{location_id}/corpora/{corpus_id}

#search_config

def search_config() -> ::Google::Cloud::VisionAI::V1::SearchConfig
Returns

#search_config=

def search_config=(value) -> ::Google::Cloud::VisionAI::V1::SearchConfig
Parameter
Returns

#search_config_id

def search_config_id() -> ::String
Returns
  • (::String) — Required. ID to use for the new search config. Will become the final component of the SearchConfig's resource name. This value should be up to 63 characters, and valid characters are /[a-z][0-9]-_/. The first character must be a letter, the last could be a letter or a number.

#search_config_id=

def search_config_id=(value) -> ::String
Parameter
  • value (::String) — Required. ID to use for the new search config. Will become the final component of the SearchConfig's resource name. This value should be up to 63 characters, and valid characters are /[a-z][0-9]-_/. The first character must be a letter, the last could be a letter or a number.
Returns
  • (::String) — Required. ID to use for the new search config. Will become the final component of the SearchConfig's resource name. This value should be up to 63 characters, and valid characters are /[a-z][0-9]-_/. The first character must be a letter, the last could be a letter or a number.