Show / Hide Table of Contents

Class FoldersResource.ListRequest

Lists the Folders that are direct descendants of supplied parent resource. List provides a strongly consistent view of the Folders underneath the specified parent resource. List returns Folders sorted based upon the (ascending) lexical ordering of their display_name. The caller must have resourcemanager.folders.list permission on the identified parent.

Inheritance
System.Object
ClientServiceRequest
ClientServiceRequest<ListFoldersResponse>
CloudResourceManagerBaseServiceRequest<ListFoldersResponse>
FoldersResource.ListRequest
Implements
IClientServiceRequest<ListFoldersResponse>
IClientServiceRequest
Inherited Members
CloudResourceManagerBaseServiceRequest<ListFoldersResponse>.Xgafv
CloudResourceManagerBaseServiceRequest<ListFoldersResponse>.AccessToken
CloudResourceManagerBaseServiceRequest<ListFoldersResponse>.Alt
CloudResourceManagerBaseServiceRequest<ListFoldersResponse>.Callback
CloudResourceManagerBaseServiceRequest<ListFoldersResponse>.Fields
CloudResourceManagerBaseServiceRequest<ListFoldersResponse>.Key
CloudResourceManagerBaseServiceRequest<ListFoldersResponse>.OauthToken
CloudResourceManagerBaseServiceRequest<ListFoldersResponse>.PrettyPrint
CloudResourceManagerBaseServiceRequest<ListFoldersResponse>.QuotaUser
CloudResourceManagerBaseServiceRequest<ListFoldersResponse>.UploadType
CloudResourceManagerBaseServiceRequest<ListFoldersResponse>.UploadProtocol
ClientServiceRequest<ListFoldersResponse>.Execute()
ClientServiceRequest<ListFoldersResponse>.ExecuteAsStream()
ClientServiceRequest<ListFoldersResponse>.ExecuteAsync()
ClientServiceRequest<ListFoldersResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<ListFoldersResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<ListFoldersResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<ListFoldersResponse>.CreateRequest(Nullable<Boolean>)
ClientServiceRequest<ListFoldersResponse>.GenerateRequestUri()
ClientServiceRequest<ListFoldersResponse>.GetBody()
ClientServiceRequest<ListFoldersResponse>.GetDefaultETagAction(String)
ClientServiceRequest<ListFoldersResponse>.ETagAction
ClientServiceRequest<ListFoldersResponse>.ModifyRequest
ClientServiceRequest<ListFoldersResponse>.ValidateParameters
ClientServiceRequest<ListFoldersResponse>.RequestParameters
ClientServiceRequest<ListFoldersResponse>.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<ListFoldersResponse>, IClientServiceRequest<ListFoldersResponse>, 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.ListFoldersResponse>.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.ListFoldersResponse>.MethodName

PageSize

Optional. The maximum number of Folders to return in the response. 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 ListFolders that indicates where this listing should continue from.

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

Parent

Required. The resource name of the Organization or Folder whose Folders are being listed. Must be of the form folders/{folder_id} or organizations/{org_id}. Access to this method is controlled by checking the resourcemanager.folders.list permission on the parent.

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.ListFoldersResponse>.RestPath

ShowDeleted

Optional. Controls whether Folders in the DELETE_REQUESTED state should be returned. Defaults to false.

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.ListFoldersResponse>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In This Article
Back to top