Identity and Access Management (IAM) v1 API - Class ListRolesResponse (2.1.0)

public sealed class ListRolesResponse : IMessage<ListRolesResponse>, IEquatable<ListRolesResponse>, IDeepCloneable<ListRolesResponse>, IBufferMessage, IMessage, IPageResponse<Role>, IEnumerable<Role>, IEnumerable

Reference documentation and code samples for the Identity and Access Management (IAM) v1 API class ListRolesResponse.

The response containing the roles defined under a resource.

Inheritance

Object > ListRolesResponse

Namespace

Google.Cloud.Iam.Admin.V1

Assembly

Google.Cloud.Iam.Admin.V1.dll

Constructors

ListRolesResponse()

public ListRolesResponse()

ListRolesResponse(ListRolesResponse)

public ListRolesResponse(ListRolesResponse other)
Parameter
NameDescription
otherListRolesResponse

Properties

NextPageToken

public string NextPageToken { get; set; }

To retrieve the next page of results, set ListRolesRequest.page_token to this value.

Property Value
TypeDescription
String

Roles

public RepeatedField<Role> Roles { get; }

The Roles defined on this resource.

Property Value
TypeDescription
RepeatedField<Role>

Methods

GetEnumerator()

public IEnumerator<Role> GetEnumerator()

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

Returns
TypeDescription
IEnumerator<Role>

Explicit Interface Implementations

IEnumerable.GetEnumerator()

IEnumerator IEnumerable.GetEnumerator()
Returns
TypeDescription
IEnumerator