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

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

Request message of CreateCorpus API.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#corpus

def corpus() -> ::Google::Cloud::VisionAI::V1::Corpus
Returns

#corpus=

def corpus=(value) -> ::Google::Cloud::VisionAI::V1::Corpus
Parameter
Returns

#parent

def parent() -> ::String
Returns
  • (::String) — Required. Form: projects/{project_number}/locations/{location_id}

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — Required. Form: projects/{project_number}/locations/{location_id}
Returns
  • (::String) — Required. Form: projects/{project_number}/locations/{location_id}