Class ProjectsResource.LocationsResource.AgentsResource.EnvironmentsResource.ExperimentsResource
The "experiments" collection of methods.
Inheritance
Inherited Members
Namespace: Google.Apis.Dialogflow.v3
Assembly: Google.Apis.Dialogflow.v3.dll
Syntax
public class ProjectsResource.LocationsResource.AgentsResource.EnvironmentsResource.ExperimentsResource
Constructors
ExperimentsResource(IClientService)
Constructs a new resource.
Declaration
public ExperimentsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(GoogleCloudDialogflowCxV3Experiment, string)
Creates an Experiment in the specified Environment.
Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.EnvironmentsResource.ExperimentsResource.CreateRequest Create(GoogleCloudDialogflowCxV3Experiment body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDialogflowCxV3Experiment | body | The body of the request. |
string | parent | Required. The Agent to create an Environment for. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.AgentsResource.EnvironmentsResource.ExperimentsResource.CreateRequest |
Delete(string)
Deletes the specified Experiment.
Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.EnvironmentsResource.ExperimentsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the Environment to delete. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.AgentsResource.EnvironmentsResource.ExperimentsResource.DeleteRequest |
Get(string)
Retrieves the specified Experiment.
Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.EnvironmentsResource.ExperimentsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the Environment. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.AgentsResource.EnvironmentsResource.ExperimentsResource.GetRequest |
List(string)
Returns the list of all experiments in the specified Environment.
Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.EnvironmentsResource.ExperimentsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The Environment to list all environments for. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.AgentsResource.EnvironmentsResource.ExperimentsResource.ListRequest |
Patch(GoogleCloudDialogflowCxV3Experiment, string)
Updates the specified Experiment.
Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.EnvironmentsResource.ExperimentsResource.PatchRequest Patch(GoogleCloudDialogflowCxV3Experiment body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDialogflowCxV3Experiment | body | The body of the request. |
string | name | The name of the experiment. Format: projects//locations//agents//environments//experiments/. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.AgentsResource.EnvironmentsResource.ExperimentsResource.PatchRequest |
Start(GoogleCloudDialogflowCxV3StartExperimentRequest, string)
Starts the specified Experiment. This rpc only changes the state of experiment from PENDING to RUNNING.
Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.EnvironmentsResource.ExperimentsResource.StartRequest Start(GoogleCloudDialogflowCxV3StartExperimentRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDialogflowCxV3StartExperimentRequest | body | The body of the request. |
string | name | Required. Resource name of the experiment to start. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.AgentsResource.EnvironmentsResource.ExperimentsResource.StartRequest |
Stop(GoogleCloudDialogflowCxV3StopExperimentRequest, string)
Stops the specified Experiment. This rpc only changes the state of experiment from RUNNING to DONE.
Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.EnvironmentsResource.ExperimentsResource.StopRequest Stop(GoogleCloudDialogflowCxV3StopExperimentRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDialogflowCxV3StopExperimentRequest | body | The body of the request. |
string | name | Required. Resource name of the experiment to stop. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.AgentsResource.EnvironmentsResource.ExperimentsResource.StopRequest |