Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.AgentsResource

The "agents" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.AgentsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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: projects/{project}/locations/{location}.

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: projects/{project}/locations/{location}/agents/{agent}.

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: projects/{project}/locations/{location}/agents/{agent}.

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: projects/{project}/locations/{location}.

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: projects/{project}/locations/{location}/agents/{agent}.

Returns
Type Description
ProjectsResource.LocationsResource.AgentsResource.PatchRequest
In this article
Back to top Generated by DocFX