Class ProjectsResource.ListRequest
Lists projects that are direct children of the specified folder or organization resource. list()
provides
a strongly consistent view of the projects underneath the specified parent resource. list()
returns
projects sorted based upon the (ascending) lexical ordering of their display_name
. The caller must have
resourcemanager.projects.list
permission on the identified parent.
Inheritance
Inherited Members
Namespace: Google.Apis.CloudResourceManager.v3
Assembly: Google.Apis.CloudResourceManager.v3.dll
Syntax
public class ProjectsResource.ListRequest : CloudResourceManagerBaseServiceRequest<ListProjectsResponse>, IClientServiceRequest<ListProjectsResponse>, IClientServiceRequest
Constructors
ListRequest(IClientService)
Constructs a new List request.
Declaration
public ListRequest(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
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 projects to return in the response. The server can return fewer projects than requested. If unspecified, server picks an appropriate default.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type | Description |
---|---|
int? |
PageToken
Optional. A pagination token returned from a previous call to ListProjects that indicates from where listing should continue.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type | Description |
---|---|
string |
Parent
Required. The name of the parent resource whose projects are being listed. Only children of this parent
resource are listed; descendants are not listed. If the parent is a folder, use the value
folders/{folder_id}
. If the parent is an organization, use the value organizations/{org_id}
.
Declaration
[RequestParameter("parent", RequestParameterType.Query)]
public virtual string Parent { get; set; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
ShowDeleted
Optional. Indicate that projects in the DELETE_REQUESTED
state should also be returned. Normally only
ACTIVE
projects are returned.
Declaration
[RequestParameter("showDeleted", RequestParameterType.Query)]
public virtual bool? ShowDeleted { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()