Show / Hide Table of Contents

Class ProjectsResource.AgentResource.SearchRequest

Returns the list of agents. Since there is at most one conversational agent per project, this method is useful primarily for listing all agents across projects the caller has access to. One can achieve that with a wildcard project collection id "-". Refer to List Sub-Collections.

Inheritance
System.Object
ClientServiceRequest
ClientServiceRequest<GoogleCloudDialogflowV2SearchAgentsResponse>
DialogflowBaseServiceRequest<GoogleCloudDialogflowV2SearchAgentsResponse>
ProjectsResource.AgentResource.SearchRequest
Implements
IClientServiceRequest<GoogleCloudDialogflowV2SearchAgentsResponse>
IClientServiceRequest
Inherited Members
DialogflowBaseServiceRequest<GoogleCloudDialogflowV2SearchAgentsResponse>.Xgafv
DialogflowBaseServiceRequest<GoogleCloudDialogflowV2SearchAgentsResponse>.AccessToken
DialogflowBaseServiceRequest<GoogleCloudDialogflowV2SearchAgentsResponse>.Alt
DialogflowBaseServiceRequest<GoogleCloudDialogflowV2SearchAgentsResponse>.Callback
DialogflowBaseServiceRequest<GoogleCloudDialogflowV2SearchAgentsResponse>.Fields
DialogflowBaseServiceRequest<GoogleCloudDialogflowV2SearchAgentsResponse>.Key
DialogflowBaseServiceRequest<GoogleCloudDialogflowV2SearchAgentsResponse>.OauthToken
DialogflowBaseServiceRequest<GoogleCloudDialogflowV2SearchAgentsResponse>.PrettyPrint
DialogflowBaseServiceRequest<GoogleCloudDialogflowV2SearchAgentsResponse>.QuotaUser
DialogflowBaseServiceRequest<GoogleCloudDialogflowV2SearchAgentsResponse>.UploadType
DialogflowBaseServiceRequest<GoogleCloudDialogflowV2SearchAgentsResponse>.UploadProtocol
ClientServiceRequest<GoogleCloudDialogflowV2SearchAgentsResponse>.Execute()
ClientServiceRequest<GoogleCloudDialogflowV2SearchAgentsResponse>.ExecuteAsStream()
ClientServiceRequest<GoogleCloudDialogflowV2SearchAgentsResponse>.ExecuteAsync()
ClientServiceRequest<GoogleCloudDialogflowV2SearchAgentsResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<GoogleCloudDialogflowV2SearchAgentsResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<GoogleCloudDialogflowV2SearchAgentsResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<GoogleCloudDialogflowV2SearchAgentsResponse>.CreateRequest(Nullable<Boolean>)
ClientServiceRequest<GoogleCloudDialogflowV2SearchAgentsResponse>.GenerateRequestUri()
ClientServiceRequest<GoogleCloudDialogflowV2SearchAgentsResponse>.GetBody()
ClientServiceRequest<GoogleCloudDialogflowV2SearchAgentsResponse>.GetDefaultETagAction(String)
ClientServiceRequest<GoogleCloudDialogflowV2SearchAgentsResponse>.ETagAction
ClientServiceRequest<GoogleCloudDialogflowV2SearchAgentsResponse>.ModifyRequest
ClientServiceRequest<GoogleCloudDialogflowV2SearchAgentsResponse>.ValidateParameters
ClientServiceRequest<GoogleCloudDialogflowV2SearchAgentsResponse>.RequestParameters
ClientServiceRequest<GoogleCloudDialogflowV2SearchAgentsResponse>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Dialogflow.v2
Assembly: Google.Apis.Dialogflow.v2.dll
Syntax
public class SearchRequest : DialogflowBaseServiceRequest<GoogleCloudDialogflowV2SearchAgentsResponse>, IClientServiceRequest<GoogleCloudDialogflowV2SearchAgentsResponse>, IClientServiceRequest

Constructors

SearchRequest(IClientService, String)

Constructs a new Search request.

Declaration
public SearchRequest(IClientService service, string parent)
Parameters
Type Name Description
IClientService service
System.String parent

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2SearchAgentsResponse>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2SearchAgentsResponse>.MethodName

PageSize

Optional. The maximum number of items to return in a single page. By default 100 and at most 1000.

Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>

PageToken

The next_page_token value returned from a previous list request.

Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type Description
System.String

Parent

Required. The project to list agents from. Format: projects/.

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

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2SearchAgentsResponse>.RestPath

Methods

InitParameters()

Initializes Search parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.Dialogflow.v2.DialogflowBaseServiceRequest<Google.Apis.Dialogflow.v2.Data.GoogleCloudDialogflowV2SearchAgentsResponse>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In This Article
Back to top