Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class ExportAgentRequest.
The request message for Agents.ExportAgent.
Generated from protobuf message google.cloud.dialogflow.v2.ExportAgentRequest
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. The project that the agent to export is associated with. Format: |
↳ agent_uri |
string
Required. The Google Cloud Storage URI to export the agent to. The format of this URI must be |
getParent
Required. The project that the agent to export is associated with.
Format: projects/<Project ID>
.
Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
Returns | |
---|---|
Type | Description |
string |
setParent
Required. The project that the agent to export is associated with.
Format: projects/<Project ID>
.
Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getAgentUri
Required. The Google Cloud Storage URI to export the agent to.
The format of this URI must be gs://<bucket-name>/<object-name>
.
If left unspecified, the serialized agent is returned inline.
Dialogflow performs a write operation for the Cloud Storage object
on the caller's behalf, so your request authentication must
have write permissions for the object. For more information, see
Dialogflow access
control.
Generated from protobuf field string agent_uri = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
string |
setAgentUri
Required. The Google Cloud Storage URI to export the agent to.
The format of this URI must be gs://<bucket-name>/<object-name>
.
If left unspecified, the serialized agent is returned inline.
Dialogflow performs a write operation for the Cloud Storage object
on the caller's behalf, so your request authentication must
have write permissions for the object. For more information, see
Dialogflow access
control.
Generated from protobuf field string agent_uri = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |