Class ProjectsResource.LocationsResource
The "locations" collection of methods.
Inherited Members
Namespace: Google.Apis.Dialogflow.v2
Assembly: Google.Apis.Dialogflow.v2.dll
Syntax
public class ProjectsResource.LocationsResource
Constructors
LocationsResource(IClientService)
Constructs a new resource.
Declaration
public LocationsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
Agent
Gets the Agent resource.
Declaration
public virtual ProjectsResource.LocationsResource.AgentResource Agent { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.AgentResource |
AnswerRecords
Gets the AnswerRecords resource.
Declaration
public virtual ProjectsResource.LocationsResource.AnswerRecordsResource AnswerRecords { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.AnswerRecordsResource |
ConversationDatasets
Gets the ConversationDatasets resource.
Declaration
public virtual ProjectsResource.LocationsResource.ConversationDatasetsResource ConversationDatasets { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.ConversationDatasetsResource |
ConversationModels
Gets the ConversationModels resource.
Declaration
public virtual ProjectsResource.LocationsResource.ConversationModelsResource ConversationModels { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.ConversationModelsResource |
ConversationProfiles
Gets the ConversationProfiles resource.
Declaration
public virtual ProjectsResource.LocationsResource.ConversationProfilesResource ConversationProfiles { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.ConversationProfilesResource |
Conversations
Gets the Conversations resource.
Declaration
public virtual ProjectsResource.LocationsResource.ConversationsResource Conversations { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.ConversationsResource |
EncryptionSpec
Gets the EncryptionSpec resource.
Declaration
public virtual ProjectsResource.LocationsResource.EncryptionSpecResource EncryptionSpec { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.EncryptionSpecResource |
Generators
Gets the Generators resource.
Declaration
public virtual ProjectsResource.LocationsResource.GeneratorsResource Generators { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.GeneratorsResource |
KnowledgeBases
Gets the KnowledgeBases resource.
Declaration
public virtual ProjectsResource.LocationsResource.KnowledgeBasesResource KnowledgeBases { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.KnowledgeBasesResource |
Operations
Gets the Operations resource.
Declaration
public virtual ProjectsResource.LocationsResource.OperationsResource Operations { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.OperationsResource |
StatelessSuggestion
Gets the StatelessSuggestion resource.
Declaration
public virtual ProjectsResource.LocationsResource.StatelessSuggestionResource StatelessSuggestion { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.StatelessSuggestionResource |
Suggestions
Gets the Suggestions resource.
Declaration
public virtual ProjectsResource.LocationsResource.SuggestionsResource Suggestions { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.SuggestionsResource |
Methods
DeleteAgent(string)
Deletes the specified agent.
Declaration
public virtual ProjectsResource.LocationsResource.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.LocationsResource.DeleteAgentRequest |
Get(string)
Gets information about a location.
Declaration
public virtual ProjectsResource.LocationsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Resource name for the location. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.GetRequest |
GetAgent(string)
Retrieves the specified agent.
Declaration
public virtual ProjectsResource.LocationsResource.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.LocationsResource.GetAgentRequest |
GetEncryptionSpec(string)
Gets location-level encryption key specification.
Declaration
public virtual ProjectsResource.LocationsResource.GetEncryptionSpecRequest GetEncryptionSpec(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the encryption spec resource to get. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.GetEncryptionSpecRequest |
List(string)
Lists information about the supported locations for this service.
Declaration
public virtual ProjectsResource.LocationsResource.ListRequest List(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | The resource that owns the locations collection, if applicable. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ListRequest |
SetAgent(GoogleCloudDialogflowV2Agent, 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.LocationsResource.SetAgentRequest SetAgent(GoogleCloudDialogflowV2Agent body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDialogflowV2Agent | body | The body of the request. |
string | parent | Required. The project of this agent. Format: |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.SetAgentRequest |