Show / Hide Table of Contents

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
System.Object
ClientServiceRequest
ClientServiceRequest<ListProjectsResponse>
CloudResourceManagerBaseServiceRequest<ListProjectsResponse>
ProjectsResource.ListRequest
Implements
IClientServiceRequest<ListProjectsResponse>
IClientServiceRequest
Inherited Members
CloudResourceManagerBaseServiceRequest<ListProjectsResponse>.Xgafv
CloudResourceManagerBaseServiceRequest<ListProjectsResponse>.AccessToken
CloudResourceManagerBaseServiceRequest<ListProjectsResponse>.Alt
CloudResourceManagerBaseServiceRequest<ListProjectsResponse>.Callback
CloudResourceManagerBaseServiceRequest<ListProjectsResponse>.Fields
CloudResourceManagerBaseServiceRequest<ListProjectsResponse>.Key
CloudResourceManagerBaseServiceRequest<ListProjectsResponse>.OauthToken
CloudResourceManagerBaseServiceRequest<ListProjectsResponse>.PrettyPrint
CloudResourceManagerBaseServiceRequest<ListProjectsResponse>.QuotaUser
CloudResourceManagerBaseServiceRequest<ListProjectsResponse>.UploadType
CloudResourceManagerBaseServiceRequest<ListProjectsResponse>.UploadProtocol
ClientServiceRequest<ListProjectsResponse>.Execute()
ClientServiceRequest<ListProjectsResponse>.ExecuteAsStream()
ClientServiceRequest<ListProjectsResponse>.ExecuteAsync()
ClientServiceRequest<ListProjectsResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<ListProjectsResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<ListProjectsResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<ListProjectsResponse>.CreateRequest(Nullable<Boolean>)
ClientServiceRequest<ListProjectsResponse>.GenerateRequestUri()
ClientServiceRequest<ListProjectsResponse>.GetBody()
ClientServiceRequest<ListProjectsResponse>.GetDefaultETagAction(String)
ClientServiceRequest<ListProjectsResponse>.ETagAction
ClientServiceRequest<ListProjectsResponse>.ModifyRequest
ClientServiceRequest<ListProjectsResponse>.ValidateParameters
ClientServiceRequest<ListProjectsResponse>.RequestParameters
ClientServiceRequest<ListProjectsResponse>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.CloudResourceManager.v3
Assembly: Google.Apis.CloudResourceManager.v3.dll
Syntax
public class 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
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudResourceManager.v3.Data.ListProjectsResponse>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudResourceManager.v3.Data.ListProjectsResponse>.MethodName

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
System.Nullable<System.Int32>

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
System.String

Parent

Required. The name of the parent resource to list projects under. For example, setting this field to 'folders/1234' would list all projects directly under that folder.

Declaration
[RequestParameter("parent", RequestParameterType.Query)]
public virtual string Parent { get; set; }
Property Value
Type Description
System.String

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudResourceManager.v3.Data.ListProjectsResponse>.RestPath

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
System.Nullable<System.Boolean>

Methods

InitParameters()

Initializes List parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.CloudResourceManager.v3.CloudResourceManagerBaseServiceRequest<Google.Apis.CloudResourceManager.v3.Data.ListProjectsResponse>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In This Article
Back to top