Class ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.AssistantsResource.AgentsResource.TransferAgentOwnerRequest
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.
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.DiscoveryEngine.v1alpha
Assembly: Google.Apis.DiscoveryEngine.v1alpha.dll
Syntax
public class ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.AssistantsResource.AgentsResource.TransferAgentOwnerRequest : DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaTransferAgentOwnerResponse>, IClientServiceRequest<GoogleCloudDiscoveryengineV1alphaTransferAgentOwnerResponse>, IClientServiceRequest
Constructors
TransferAgentOwnerRequest(IClientService, GoogleCloudDiscoveryengineV1alphaTransferAgentOwnerRequest, string)
Constructs a new TransferAgentOwner request.
Declaration
public TransferAgentOwnerRequest(IClientService service, GoogleCloudDiscoveryengineV1alphaTransferAgentOwnerRequest body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| GoogleCloudDiscoveryengineV1alphaTransferAgentOwnerRequest | body | |
| string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
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}
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| object |
Overrides
InitParameters()
Initializes TransferAgentOwner parameter list.
Declaration
protected override void InitParameters()