Show / Hide Table of Contents

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

Imports a file to an Agent. Currently only No-Code agents are supported.

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

Constructors

ImportRequest(IClientService, GoogleCloudDiscoveryengineV1alphaImportAgentFileRequest, string)

Constructs a new Import request.

Declaration
public ImportRequest(IClientService service, GoogleCloudDiscoveryengineV1alphaImportAgentFileRequest body, string parent)
Parameters
Type Name Description
IClientService service
GoogleCloudDiscoveryengineV1alphaImportAgentFileRequest body
string parent

Properties

HttpMethod

Gets the HTTP method.

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

MethodName

Gets the method name.

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

Parent

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

Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
Type Description
string

RestPath

Gets the REST path.

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

Methods

GetBody()

Returns the body of the request.

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

InitParameters()

Initializes Import parameter list.

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

Implements

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