Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class CorroborateContentRequest.
Request message for CorroborateContent.
Generated from protobuf message google.cloud.aiplatform.v1.CorroborateContentRequest
Namespace
Google \ Cloud \ AIPlatform \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
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: |
↳ content |
Content
Optional. Input content to corroborate, only text format is supported for now. |
↳ facts |
array<Fact>
Optional. Facts used to generate the text can also be used to corroborate the text. |
↳ parameters |
CorroborateContentRequest\Parameters
Optional. Parameters that can be set to override default settings per request. |
getParent
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 | |
---|---|
Type | Description |
string |
setParent
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}
.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getContent
Optional. Input content to corroborate, only text format is supported for now.
Returns | |
---|---|
Type | Description |
Content|null |
hasContent
clearContent
setContent
Optional. Input content to corroborate, only text format is supported for now.
Parameter | |
---|---|
Name | Description |
var |
Content
|
Returns | |
---|---|
Type | Description |
$this |
getFacts
Optional. Facts used to generate the text can also be used to corroborate the text.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setFacts
Optional. Facts used to generate the text can also be used to corroborate the text.
Parameter | |
---|---|
Name | Description |
var |
array<Fact>
|
Returns | |
---|---|
Type | Description |
$this |
getParameters
Optional. Parameters that can be set to override default settings per request.
Returns | |
---|---|
Type | Description |
CorroborateContentRequest\Parameters|null |
hasParameters
clearParameters
setParameters
Optional. Parameters that can be set to override default settings per request.
Parameter | |
---|---|
Name | Description |
var |
CorroborateContentRequest\Parameters
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameters | |
---|---|
Name | Description |
parent |
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:
|
content |
Content
Optional. Input content to corroborate, only text format is supported for now. |
facts |
array<Fact>
Optional. Facts used to generate the text can also be used to corroborate the text. |
Returns | |
---|---|
Type | Description |
CorroborateContentRequest |