public sealed class ListProjectsRequest : IMessage<ListProjectsRequest>, IEquatable<ListProjectsRequest>, IDeepCloneable<ListProjectsRequest>, IBufferMessage, IMessage, IPageRequest
Reference documentation and code samples for the Cloud Resource Manager v3 API class ListProjectsRequest.
The request sent to the [ListProjects][google.cloud.resourcemanager.v3.Projects.ListProjects] method.
Implements
IMessageListProjectsRequest, IEquatableListProjectsRequest, IDeepCloneableListProjectsRequest, IBufferMessage, IMessage, IPageRequestNamespace
Google.Cloud.ResourceManager.V3Assembly
Google.Cloud.ResourceManager.V3.dll
Constructors
ListProjectsRequest()
public ListProjectsRequest()
ListProjectsRequest(ListProjectsRequest)
public ListProjectsRequest(ListProjectsRequest other)
Parameter | |
---|---|
Name | Description |
other |
ListProjectsRequest |
Properties
PageSize
public int PageSize { get; set; }
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.
Property Value | |
---|---|
Type | Description |
int |
PageToken
public string PageToken { get; set; }
Optional. A pagination token returned from a previous call to [ListProjects] [google.cloud.resourcemanager.v3.Projects.ListProjects] that indicates from where listing should continue.
Property Value | |
---|---|
Type | Description |
string |
Parent
public string Parent { get; set; }
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}
.
Property Value | |
---|---|
Type | Description |
string |
ParentAsResourceName
public IResourceName ParentAsResourceName { get; set; }
IResourceName-typed view over the Parent resource name property.
Property Value | |
---|---|
Type | Description |
IResourceName |
ShowDeleted
public bool ShowDeleted { get; set; }
Optional. Indicate that projects in the DELETE_REQUESTED
state should
also be returned. Normally only ACTIVE
projects are returned.
Property Value | |
---|---|
Type | Description |
bool |