Class ProjectsResource.AvailableLocationsResource.ListRequest
DECOMMISSIONED. If called, this endpoint will return a 404 error. Instead, use the applicable
resource-specific REST API (or associated documentation, as needed) to determine valid locations for
each resource used in your Project. Lists the valid "locations for default Google Cloud
resources" for the
specified Project (including a FirebaseProject). One of these locations can be selected as the Project's
location for default Google Cloud resources, which is the geographical location where the Project's
resources associated with Google App Engine (such as the default Cloud Firestore instance) will be
provisioned by default. However, if the location for default Google Cloud resources has already been set
for the Project, then this setting cannot be changed. This call checks for any possible location
restrictions for
the specified Project and, thus, might return a subset of all possible locations. To list all locations
(regardless of any restrictions), call the endpoint without specifying a unique project identifier (that
is, /v1beta1/{parent=projects/-}/listAvailableLocations
). To call ListAvailableLocations
with a
specified project, a member must be at minimum a Viewer of the Project. Calls without a specified
project do not require any specific project permissions.
Inheritance
Inherited Members
Namespace: Google.Apis.FirebaseManagement.v1beta1
Assembly: Google.Apis.FirebaseManagement.v1beta1.dll
Syntax
public class ProjectsResource.AvailableLocationsResource.ListRequest : FirebaseManagementBaseServiceRequest<ListAvailableLocationsResponse>, IClientServiceRequest<ListAvailableLocationsResponse>, 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
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
PageSize
The maximum number of locations to return in the response. The server may return fewer than this value at its discretion. If no value is specified (or too large a value is specified), then the server will impose its own limit. This value cannot be negative.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type | Description |
---|---|
int? |
PageToken
Token returned from a previous call to ListAvailableLocations
indicating where in the list of
locations to resume listing.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type | Description |
---|---|
string |
Parent
The FirebaseProject for which to list locations for default Google Cloud
resources, in the
format: projects/PROJECT_IDENTIFIER Refer to the FirebaseProject
name
field for details about PROJECT_IDENTIFIER values.
If no unique project identifier is specified (that is, projects/-
), the returned list does not
take into account org-specific or project-specific location restrictions.
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
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()