Class ListProjectsResponse (1.2.0)

public sealed class ListProjectsResponse : IMessage<ListProjectsResponse>, IEquatable<ListProjectsResponse>, IDeepCloneable<ListProjectsResponse>, IBufferMessage, IMessage, IPageResponse<Project>, IEnumerable<Project>, IEnumerable

A page of the response received from the [ListProjects][google.cloud.resourcemanager.v3.Projects.ListProjects] method.

A paginated response where more pages are available has next_page_token set. This token can be used in a subsequent request to retrieve the next request page.

NOTE: A response may contain fewer elements than the request page_size and still have a next_page_token.

Inheritance

Object > ListProjectsResponse

Namespace

Google.Cloud.ResourceManager.V3

Assembly

Google.Cloud.ResourceManager.V3.dll

Constructors

ListProjectsResponse()

public ListProjectsResponse()

ListProjectsResponse(ListProjectsResponse)

public ListProjectsResponse(ListProjectsResponse other)
Parameter
NameDescription
otherListProjectsResponse

Properties

NextPageToken

public string NextPageToken { get; set; }

Pagination token.

If the result set is too large to fit in a single response, this token is returned. It encodes the position of the current result cursor. Feeding this value into a new list request with the page_token parameter gives the next page of the results.

When next_page_token is not filled in, there is no next page and the list returned is the last page in the result set.

Pagination tokens have a limited lifetime.

Property Value
TypeDescription
String

Projects

public RepeatedField<Project> Projects { get; }

The list of Projects under the parent. This list can be paginated.

Property Value
TypeDescription
RepeatedField<Project>

Methods

GetEnumerator()

public IEnumerator<Project> GetEnumerator()

Returns an enumerator that iterates through the resources in this response.

Returns
TypeDescription
IEnumerator<Project>

Explicit Interface Implementations

IEnumerable.GetEnumerator()

IEnumerator IEnumerable.GetEnumerator()
Returns
TypeDescription
IEnumerator