Show / Hide Table of Contents

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

Enables an Agent. The state of the Agent becomes ENABLED. Can be called on an Agent in the state DISABLED or 'SUSPENDED', otherwise it returns an error.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaAgent>
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaAgent>
ProjectsResource.LocationsResource.CollectionsResource.EnginesResource.AssistantsResource.AgentsResource.EnableAgentRequest
Implements
IClientServiceRequest<GoogleCloudDiscoveryengineV1alphaAgent>
IClientServiceRequest
Inherited Members
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaAgent>.Xgafv
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaAgent>.AccessToken
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaAgent>.Alt
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaAgent>.Callback
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaAgent>.Fields
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaAgent>.Key
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaAgent>.OauthToken
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaAgent>.PrettyPrint
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaAgent>.QuotaUser
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaAgent>.UploadType
DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaAgent>.UploadProtocol
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaAgent>.Execute()
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaAgent>.ExecuteAsStream()
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaAgent>.ExecuteAsync()
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaAgent>.ExecuteAsync(CancellationToken)
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaAgent>.ExecuteAsStreamAsync()
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaAgent>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaAgent>.CreateRequest(bool?)
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaAgent>.GenerateRequestUri()
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaAgent>.GetBody()
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaAgent>.GetDefaultETagAction(string)
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaAgent>.ETagAction
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaAgent>.ModifyRequest
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaAgent>.ValidateParameters
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaAgent>.ApiVersion
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaAgent>.RequestParameters
ClientServiceRequest<GoogleCloudDiscoveryengineV1alphaAgent>.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.EnableAgentRequest : DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaAgent>, IClientServiceRequest<GoogleCloudDiscoveryengineV1alphaAgent>, IClientServiceRequest

Constructors

EnableAgentRequest(IClientService, string)

Constructs a new EnableAgent request.

Declaration
public EnableAgentRequest(IClientService service, string name)
Parameters
Type Name Description
IClientService service
string name

Properties

HttpMethod

Gets the HTTP method.

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

MethodName

Gets the method name.

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

Name

Required. The name of the Agent to enable. 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<GoogleCloudDiscoveryengineV1alphaAgent>.RestPath

Methods

InitParameters()

Initializes EnableAgent parameter list.

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

Implements

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