Identity and Access Management (IAM) v1 API - Class ListRolesResponse (2.3.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
Name Description
other ListRolesResponse

Properties

NextPageToken

public string NextPageToken { get; set; }

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

Property Value
Type Description
string

Roles

public RepeatedField<Role> Roles { get; }

The Roles defined on this resource.

Property Value
Type Description
RepeatedFieldRole

Methods

GetEnumerator()

public IEnumerator<Role> GetEnumerator()

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

Returns
Type Description
IEnumeratorRole