Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class ImportAgentRequest.
The request message for Agents.ImportAgent.
Generated from protobuf message google.cloud.dialogflow.v2.ImportAgentRequest
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. The project that the agent to import is associated with. Format: |
↳ agent_uri |
string
The URI to a Google Cloud Storage file containing the agent to import. 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 import 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 import 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
The URI to a Google Cloud Storage file containing the agent to import.
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.
Generated from protobuf field string agent_uri = 2;
Returns | |
---|---|
Type | Description |
string |
hasAgentUri
setAgentUri
The URI to a Google Cloud Storage file containing the agent to import.
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.
Generated from protobuf field string agent_uri = 2;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getAgentContent
Zip compressed raw byte content for agent.
Generated from protobuf field bytes agent_content = 3;
Returns | |
---|---|
Type | Description |
string |
hasAgentContent
setAgentContent
Zip compressed raw byte content for agent.
Generated from protobuf field bytes agent_content = 3;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getAgent
Returns | |
---|---|
Type | Description |
string |