Reference documentation and code samples for the Google Cloud Ces V1 Client class CreateGuardrailRequest.
Request message for AgentService.CreateGuardrail .
Generated from protobuf message google.cloud.ces.v1.CreateGuardrailRequest
Namespace
Google \ Cloud \ Ces \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The resource name of the app to create a guardrail in.
↳ guardrail_id
string
Optional. The ID to use for the guardrail, which will become the final component of the guardrail's resource name. If not provided, a unique ID will be automatically assigned for the guardrail.
↳ guardrail
getParent
Required. The resource name of the app to create a guardrail in.
string
setParent
Required. The resource name of the app to create a guardrail in.
var
string
$this
getGuardrailId
Optional. The ID to use for the guardrail, which will become the final component of the guardrail's resource name. If not provided, a unique ID will be automatically assigned for the guardrail.
string
setGuardrailId
Optional. The ID to use for the guardrail, which will become the final component of the guardrail's resource name. If not provided, a unique ID will be automatically assigned for the guardrail.
var
string
$this
getGuardrail
Required. The guardrail to create.
hasGuardrail
clearGuardrail
setGuardrail
Required. The guardrail to create.
$this
static::build
parent
string
Required. The resource name of the app to create a guardrail in. Please see AgentServiceClient::appName() for help formatting this field.
guardrail
guardrailId
string
Optional. The ID to use for the guardrail, which will become the final component of the guardrail's resource name. If not provided, a unique ID will be automatically assigned for the guardrail.
static::buildFromParentGuardrail
parent
string
Required. The resource name of the app to create a guardrail in. Please see AgentServiceClient::appName() for help formatting this field.
guardrail

