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
- (::Google::Cloud::VisionAI::V1::Corpus) — Required. The corpus to be created.
#corpus=
def corpus=(value) -> ::Google::Cloud::VisionAI::V1::Corpus
Parameter
- value (::Google::Cloud::VisionAI::V1::Corpus) — Required. The corpus to be created.
Returns
- (::Google::Cloud::VisionAI::V1::Corpus) — Required. The corpus to be created.
#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}