Class ProjectsResource.LocationsResource.ListRequest
Lists information about the supported locations for this service. This method lists locations based on
the resource scope provided in the [ListLocationsRequest.name] field: * Global locations: If name
is empty, the method lists the public locations available to all projects. * Project-specific
locations: If name follows the format projects/{project}, the method lists locations visible to
that specific project. This includes public, private, or other project-specific locations enabled for
the project. For gRPC and client library implementations, the resource name is passed as the name
field. For direct service calls, the resource name is incorporated into the request path based on the
specific service implementation and version.
Inheritance
Inherited Members
Namespace: Google.Apis.Datastream.v1
Assembly: Google.Apis.Datastream.v1.dll
Syntax
public class ProjectsResource.LocationsResource.ListRequest : DatastreamBaseServiceRequest<ListLocationsResponse>, IClientServiceRequest<ListLocationsResponse>, IClientServiceRequest
Constructors
ListRequest(IClientService, string)
Constructs a new List request.
Declaration
public ListRequest(IClientService service, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| string | name |
Properties
ExtraLocationTypes
Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.
Declaration
[RequestParameter("extraLocationTypes", RequestParameterType.Query)]
public virtual Repeatable<string> ExtraLocationTypes { get; set; }
Property Value
| Type | Description |
|---|---|
| Repeatable<string> |
Filter
A filter to narrow down results to a preferred subset. The filtering language accepts strings like
"displayName=tokyo", and is documented in more detail in AIP-160.
Declaration
[RequestParameter("filter", RequestParameterType.Query)]
public virtual string Filter { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
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
Name
The resource that owns the locations collection, if applicable.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
PageSize
The maximum number of results to return. If not set, the service selects a default.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
PageToken
A page token received from the next_page_token field in the response. Send that page token to
receive the subsequent page.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()