Class ProjectsResource.LocationsResource.CloudLocationsResource.SearchRequest
Searches for cloud locations from a given source location.
Inheritance
Inherited Members
Namespace: Google.Apis.CloudLocationFinder.v1alpha
Assembly: Google.Apis.CloudLocationFinder.v1alpha.dll
Syntax
public class ProjectsResource.LocationsResource.CloudLocationsResource.SearchRequest : CloudLocationFinderBaseServiceRequest<SearchCloudLocationsResponse>, IClientServiceRequest<SearchCloudLocationsResponse>, IClientServiceRequest
Constructors
SearchRequest(IClientService, string)
Constructs a new Search request.
Declaration
public SearchRequest(IClientService service, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| string | parent |
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
PageSize
Optional. The maximum number of cloud locations to return. The service might return fewer cloud locations than this value. If unspecified, server will pick an appropriate default.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
PageToken
Optional. A token identifying a page of results the server should return. Provide Page token returned by a previous 'ListCloudLocations' call to retrieve the next page of results. When paginating, all other parameters provided to 'ListCloudLocations' must match the call that provided the page token.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Parent
Required. The parent, which owns this collection of cloud locations. Format: projects/{project}/locations/{location}
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
| Type | Description |
|---|---|
| string |
Query
Optional. The query string in search query syntax. While filter is used to filter the search results by attributes, query is used to specify the search requirements.
Declaration
[RequestParameter("query", RequestParameterType.Query)]
public virtual string Query { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
SourceCloudLocation
Required. The source cloud location to search from. Example search can be searching nearby cloud locations from the source cloud location by latency.
Declaration
[RequestParameter("sourceCloudLocation", RequestParameterType.Query)]
public virtual string SourceCloudLocation { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
InitParameters()
Initializes Search parameter list.
Declaration
protected override void InitParameters()