Class ProjectsResource.LocationsResource.ListRequest
List all locations that provides at least one type of CMLE capability.
Inheritance
ProjectsResource.LocationsResource.ListRequest
Inherited Members
Namespace: Google.Apis.CloudMachineLearningEngine.v1
Assembly: Google.Apis.CloudMachineLearningEngine.v1.dll
Syntax
public class ProjectsResource.LocationsResource.ListRequest : CloudMachineLearningEngineBaseServiceRequest<GoogleCloudMlV1ListLocationsResponse>, IClientServiceRequest<GoogleCloudMlV1ListLocationsResponse>, IClientServiceRequest
Constructors
ListRequest(IClientService, string)
Constructs a new List request.
Declaration
public ListRequest(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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudMachineLearningEngine.v1.Data.GoogleCloudMlV1ListLocationsResponse>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudMachineLearningEngine.v1.Data.GoogleCloudMlV1ListLocationsResponse>.MethodName
PageSize
Optional. The number of locations to retrieve per "page" of results. If there are more remaining
results than this number, the response message will contain a valid value in the next_page_token
field. The default value is 20, and the maximum page size is 100.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type | Description |
---|---|
int? |
PageToken
Optional. A page token to request the next page of results. You get the token from the
next_page_token
field of the response from the previous call.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type | Description |
---|---|
string |
Parent
Required. The name of the project for which available locations are to be listed (since some locations might be whitelisted for specific projects).
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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudMachineLearningEngine.v1.Data.GoogleCloudMlV1ListLocationsResponse>.RestPath
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()