Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::UpdateCorpusRequest.
Request message for UpdateCorpus.
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 which replaces the resource on the server.
#corpus=
def corpus=(value) -> ::Google::Cloud::VisionAI::V1::Corpus
Parameter
- value (::Google::Cloud::VisionAI::V1::Corpus) — Required. The corpus which replaces the resource on the server.
Returns
- (::Google::Cloud::VisionAI::V1::Corpus) — Required. The corpus which replaces the resource on the server.
#update_mask
def update_mask() -> ::Google::Protobuf::FieldMask
Returns
- (::Google::Protobuf::FieldMask) — The list of fields to be updated.
#update_mask=
def update_mask=(value) -> ::Google::Protobuf::FieldMask
Parameter
- value (::Google::Protobuf::FieldMask) — The list of fields to be updated.
Returns
- (::Google::Protobuf::FieldMask) — The list of fields to be updated.