Show / Hide Table of Contents

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
object
ClientServiceRequest
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaTransferAgentOwnerResponse>
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaTransferAgentOwnerResponse>
ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.AssistantsResource.AgentsResource.TransferAgentOwnerRequest
Implements
IClientServiceRequest<GoogleCloudDiscoveryengineV1alphaTransferAgentOwnerResponse>
IClientServiceRequest
Inherited Members
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaTransferAgentOwnerResponse>.Xgafv
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaTransferAgentOwnerResponse>.AccessToken
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaTransferAgentOwnerResponse>.Alt
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaTransferAgentOwnerResponse>.Callback
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaTransferAgentOwnerResponse>.Fields
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaTransferAgentOwnerResponse>.Key
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaTransferAgentOwnerResponse>.OauthToken
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaTransferAgentOwnerResponse>.PrettyPrint
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaTransferAgentOwnerResponse>.QuotaUser
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaTransferAgentOwnerResponse>.UploadType
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaTransferAgentOwnerResponse>.UploadProtocol
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaTransferAgentOwnerResponse>.Execute()
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaTransferAgentOwnerResponse>.ExecuteAsStream()
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaTransferAgentOwnerResponse>.ExecuteAsync()
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaTransferAgentOwnerResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaTransferAgentOwnerResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaTransferAgentOwnerResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaTransferAgentOwnerResponse>.CreateRequest(bool?)
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaTransferAgentOwnerResponse>.GenerateRequestUri()
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaTransferAgentOwnerResponse>.GetDefaultETagAction(string)
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaTransferAgentOwnerResponse>.ETagAction
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaTransferAgentOwnerResponse>.ModifyRequest
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaTransferAgentOwnerResponse>.ValidateParameters
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaTransferAgentOwnerResponse>.ApiVersion
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaTransferAgentOwnerResponse>.RequestParameters
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaTransferAgentOwnerResponse>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
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.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
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaTransferAgentOwnerResponse>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaTransferAgentOwnerResponse>.MethodName

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
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaTransferAgentOwnerResponse>.RestPath

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
object
Overrides
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaTransferAgentOwnerResponse>.GetBody()

InitParameters()

Initializes TransferAgentOwner parameter list.

Declaration
protected override void InitParameters()
Overrides
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaTransferAgentOwnerResponse>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX