Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class RestoreAgentRequest.
The request message for Agents.RestoreAgent.
Generated from protobuf message google.cloud.dialogflow.v2.RestoreAgentRequest
Namespace
Google \ Cloud \ Dialogflow \ V2Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. The project that the agent to restore is associated with. Format: |
↳ agent_uri |
string
The URI to a Google Cloud Storage file containing the agent to restore. Note: The URI must start with "gs://". Dialogflow performs a read operation for the Cloud Storage object on the caller's behalf, so your request authentication must have read permissions for the object. For more information, see Dialogflow access control. |
↳ agent_content |
string
Zip compressed raw byte content for agent. |
getParent
Required. The project that the agent to restore is associated with.
Format: projects/<Project ID>
.
Returns | |
---|---|
Type | Description |
string |
setParent
Required. The project that the agent to restore is associated with.
Format: projects/<Project ID>
.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getAgentUri
The URI to a Google Cloud Storage file containing the agent to restore.
Note: The URI must start with "gs://". Dialogflow performs a read operation for the Cloud Storage object on the caller's behalf, so your request authentication must have read permissions for the object. For more information, see Dialogflow access control.
Returns | |
---|---|
Type | Description |
string |
hasAgentUri
setAgentUri
The URI to a Google Cloud Storage file containing the agent to restore.
Note: The URI must start with "gs://". Dialogflow performs a read operation for the Cloud Storage object on the caller's behalf, so your request authentication must have read permissions for the object. For more information, see Dialogflow access control.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getAgentContent
Zip compressed raw byte content for agent.
Returns | |
---|---|
Type | Description |
string |
hasAgentContent
setAgentContent
Zip compressed raw byte content for agent.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getAgent
Returns | |
---|---|
Type | Description |
string |