Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::CorroborateContentRequest.
Request message for CorroborateContent.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#content
def content() -> ::Google::Cloud::AIPlatform::V1::Content
Returns
- (::Google::Cloud::AIPlatform::V1::Content) — Optional. Input content to corroborate, only text format is supported for now.
#content=
def content=(value) -> ::Google::Cloud::AIPlatform::V1::Content
Parameter
- value (::Google::Cloud::AIPlatform::V1::Content) — Optional. Input content to corroborate, only text format is supported for now.
Returns
- (::Google::Cloud::AIPlatform::V1::Content) — Optional. Input content to corroborate, only text format is supported for now.
#facts
def facts() -> ::Array<::Google::Cloud::AIPlatform::V1::Fact>
Returns
- (::Array<::Google::Cloud::AIPlatform::V1::Fact>) — Optional. Facts used to generate the text can also be used to corroborate the text.
#facts=
def facts=(value) -> ::Array<::Google::Cloud::AIPlatform::V1::Fact>
Parameter
- value (::Array<::Google::Cloud::AIPlatform::V1::Fact>) — Optional. Facts used to generate the text can also be used to corroborate the text.
Returns
- (::Array<::Google::Cloud::AIPlatform::V1::Fact>) — Optional. Facts used to generate the text can also be used to corroborate the text.
#parameters
def parameters() -> ::Google::Cloud::AIPlatform::V1::CorroborateContentRequest::Parameters
Returns
- (::Google::Cloud::AIPlatform::V1::CorroborateContentRequest::Parameters) — Optional. Parameters that can be set to override default settings per request.
#parameters=
def parameters=(value) -> ::Google::Cloud::AIPlatform::V1::CorroborateContentRequest::Parameters
Parameter
- value (::Google::Cloud::AIPlatform::V1::CorroborateContentRequest::Parameters) — Optional. Parameters that can be set to override default settings per request.
Returns
- (::Google::Cloud::AIPlatform::V1::CorroborateContentRequest::Parameters) — Optional. Parameters that can be set to override default settings per request.
#parent
def parent() -> ::String
Returns
-
(::String) — Required. The resource name of the Location from which to corroborate text.
The users must have permission to make a call in the project.
Format:
projects/{project}/locations/{location}
.
#parent=
def parent=(value) -> ::String
Parameter
-
value (::String) — Required. The resource name of the Location from which to corroborate text.
The users must have permission to make a call in the project.
Format:
projects/{project}/locations/{location}
.
Returns
-
(::String) — Required. The resource name of the Location from which to corroborate text.
The users must have permission to make a call in the project.
Format:
projects/{project}/locations/{location}
.