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
.
Implements
IMessage<ListProjectsResponse>, IEquatable<ListProjectsResponse>, IDeepCloneable<ListProjectsResponse>, IBufferMessage, IMessage, IPageResponse<Project>, IEnumerable<Project>, IEnumerableNamespace
Google.Cloud.ResourceManager.V3Assembly
Google.Cloud.ResourceManager.V3.dll
Constructors
ListProjectsResponse()
public ListProjectsResponse()
ListProjectsResponse(ListProjectsResponse)
public ListProjectsResponse(ListProjectsResponse other)
Parameter | |
---|---|
Name | Description |
other | ListProjectsResponse |
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 | |
---|---|
Type | Description |
String |
Projects
public RepeatedField<Project> Projects { get; }
The list of Projects under the parent. This list can be paginated.
Property Value | |
---|---|
Type | Description |
RepeatedField<Project> |
Methods
GetEnumerator()
public IEnumerator<Project> GetEnumerator()
Returns an enumerator that iterates through the resources in this response.
Returns | |
---|---|
Type | Description |
IEnumerator<Project> |
Explicit Interface Implementations
IEnumerable.GetEnumerator()
IEnumerator IEnumerable.GetEnumerator()
Returns | |
---|---|
Type | Description |
IEnumerator |