Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.AssistantsResource.AgentsResource

The "agents" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.AssistantsResource.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.DiscoveryEngine.v1alpha
Assembly: Google.Apis.DiscoveryEngine.v1alpha.dll
Syntax
public class ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.AssistantsResource.AgentsResource

Constructors

AgentsResource(IClientService)

Constructs a new resource.

Declaration
public AgentsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Properties

Files

Gets the Files resource.

Declaration
public virtual ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.AssistantsResource.AgentsResource.FilesResource Files { get; }
Property Value
Type Description
ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.AssistantsResource.AgentsResource.FilesResource

Operations

Gets the Operations resource.

Declaration
public virtual ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.AssistantsResource.AgentsResource.OperationsResource Operations { get; }
Property Value
Type Description
ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.AssistantsResource.AgentsResource.OperationsResource

Methods

Create(GoogleCloudDiscoveryengineV1alphaAgent, string)

Creates an Agent.

Declaration
public virtual ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.AssistantsResource.AgentsResource.CreateRequest Create(GoogleCloudDiscoveryengineV1alphaAgent body, string parent)
Parameters
Type Name Description
GoogleCloudDiscoveryengineV1alphaAgent body

The body of the request.

string parent

Required. The parent resource name. Format: projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}

Returns
Type Description
ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.AssistantsResource.AgentsResource.CreateRequest

Delete(string)

Deletes an Agent.

Declaration
public virtual ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.AssistantsResource.AgentsResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

Required. Resource name of Agent. Format: projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}/agents/{agent} If the caller does not have permission to delete the agent, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the agent to delete does not exist, a NOT_FOUND error is returned.

Returns
Type Description
ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.AssistantsResource.AgentsResource.DeleteRequest

Get(string)

Gets an Agent.

Declaration
public virtual ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.AssistantsResource.AgentsResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. Resource name of Agent. Format: projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}/agents/{agent}

Returns
Type Description
ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.AssistantsResource.AgentsResource.GetRequest

List(string)

Lists all Agents under an Assistant which were created by the caller.

Declaration
public virtual ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.AssistantsResource.AgentsResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. The parent resource name. Format: projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}

Returns
Type Description
ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.AssistantsResource.AgentsResource.ListRequest

Patch(GoogleCloudDiscoveryengineV1alphaAgent, string)

Updates an Agent

Declaration
public virtual ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.AssistantsResource.AgentsResource.PatchRequest Patch(GoogleCloudDiscoveryengineV1alphaAgent body, string name)
Parameters
Type Name Description
GoogleCloudDiscoveryengineV1alphaAgent body

The body of the request.

string name

Identifier. Resource name of the agent. Format: projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}/agents/{agent}

Returns
Type Description
ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.AssistantsResource.AgentsResource.PatchRequest

TransferAgentOwner(GoogleCloudDiscoveryengineV1alphaTransferAgentOwnerRequest, string)

Transfers ownership of an Agent to a new owner. The new owner becomes the agent's only owner. The previous owner loses access unless previous_owner_disposition keeps them as a user. The previous owner's schedules and event triggers on the agent are disabled (their configuration stays on the agent), and the new owner is notified. Requires the discoveryengine.agents.manage permission on the agent. Private agents cannot be transferred. A failed call can be retried with the same request; the retry completes the transfer.

Declaration
public virtual ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.AssistantsResource.AgentsResource.TransferAgentOwnerRequest TransferAgentOwner(GoogleCloudDiscoveryengineV1alphaTransferAgentOwnerRequest body, string name)
Parameters
Type Name Description
GoogleCloudDiscoveryengineV1alphaTransferAgentOwnerRequest body

The body of the request.

string name

Required. The name of the Agent whose ownership is being transferred. Format: projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}/agents/{agent}

Returns
Type Description
ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.AssistantsResource.AgentsResource.TransferAgentOwnerRequest
In this article
Back to top Generated by DocFX