Class ProjectsResource
The "projects" collection of methods.
Inherited Members
Namespace: Google.Apis.Dialogflow.v2beta1
Assembly: Google.Apis.Dialogflow.v2beta1.dll
Syntax
public class ProjectsResource
Constructors
ProjectsResource(IClientService)
Constructs a new resource.
Declaration
public ProjectsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
Agent
Gets the Agent resource.
Declaration
public virtual ProjectsResource.AgentResource Agent { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.AgentResource |
AnswerRecords
Gets the AnswerRecords resource.
Declaration
public virtual ProjectsResource.AnswerRecordsResource AnswerRecords { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.AnswerRecordsResource |
ConversationProfiles
Gets the ConversationProfiles resource.
Declaration
public virtual ProjectsResource.ConversationProfilesResource ConversationProfiles { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.ConversationProfilesResource |
Conversations
Gets the Conversations resource.
Declaration
public virtual ProjectsResource.ConversationsResource Conversations { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.ConversationsResource |
Generators
Gets the Generators resource.
Declaration
public virtual ProjectsResource.GeneratorsResource Generators { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.GeneratorsResource |
KnowledgeBases
Gets the KnowledgeBases resource.
Declaration
public virtual ProjectsResource.KnowledgeBasesResource KnowledgeBases { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.KnowledgeBasesResource |
Locations
Gets the Locations resource.
Declaration
public virtual ProjectsResource.LocationsResource Locations { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource |
Operations
Gets the Operations resource.
Declaration
public virtual ProjectsResource.OperationsResource Operations { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.OperationsResource |
Suggestions
Gets the Suggestions resource.
Declaration
public virtual ProjectsResource.SuggestionsResource Suggestions { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.SuggestionsResource |
Methods
DeleteAgent(string)
Deletes the specified agent.
Declaration
public virtual ProjectsResource.DeleteAgentRequest DeleteAgent(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The project that the agent to delete is associated with. Format: |
Returns
Type | Description |
---|---|
ProjectsResource.DeleteAgentRequest |
GetAgent(string)
Retrieves the specified agent.
Declaration
public virtual ProjectsResource.GetAgentRequest GetAgent(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The project that the agent to fetch is associated with. Format: |
Returns
Type | Description |
---|---|
ProjectsResource.GetAgentRequest |
SetAgent(GoogleCloudDialogflowV2beta1Agent, string)
Creates/updates the specified agent. Note: You should always train an agent prior to sending it queries. See the training documentation.
Declaration
public virtual ProjectsResource.SetAgentRequest SetAgent(GoogleCloudDialogflowV2beta1Agent body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDialogflowV2beta1Agent | body | The body of the request. |
string | parent | Required. The project of this agent. Format: |
Returns
Type | Description |
---|---|
ProjectsResource.SetAgentRequest |