Class ProjectsResource.LocationsResource.AgentsResource
The "agents" collection of methods.
Inherited Members
Namespace: Google.Apis.Aiplatform.v1
Assembly: Google.Apis.Aiplatform.v1.dll
Syntax
public class ProjectsResource.LocationsResource.AgentsResource
Constructors
AgentsResource(IClientService)
Constructs a new resource.
Declaration
public AgentsResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
Create(GoogleCloudAiplatformV1Agent, string)
Creates an agent.
Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.CreateRequest Create(GoogleCloudAiplatformV1Agent body, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| GoogleCloudAiplatformV1Agent | body | The body of the request. |
| string | parent | Required. The resource name of the location to create the agent in. Format:
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.AgentsResource.CreateRequest |
Delete(string)
Deletes an agent.
Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.DeleteRequest Delete(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. The resource name of the agent to delete. Format:
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.AgentsResource.DeleteRequest |
Get(string)
Retrieves an agent.
Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.GetRequest Get(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. The resource name of the agent to retrieve. Format:
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.AgentsResource.GetRequest |
List(string)
Lists agents in a location.
Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.ListRequest List(string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| string | parent | Required. The resource name of the location to list agents from. Format:
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.AgentsResource.ListRequest |
Patch(GoogleCloudAiplatformV1Agent, string)
Updates an agent.
Declaration
public virtual ProjectsResource.LocationsResource.AgentsResource.PatchRequest Patch(GoogleCloudAiplatformV1Agent body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| GoogleCloudAiplatformV1Agent | body | The body of the request. |
| string | name | Identifier. The resource name of the agent. Format:
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.AgentsResource.PatchRequest |