Class ListOSPolicyAssignmentsResponse (2.0.0)

public sealed class ListOSPolicyAssignmentsResponse : IPageResponse<OSPolicyAssignment>, IEnumerable<OSPolicyAssignment>, IEnumerable, IMessage<ListOSPolicyAssignmentsResponse>, IEquatable<ListOSPolicyAssignmentsResponse>, IDeepCloneable<ListOSPolicyAssignmentsResponse>, IBufferMessage, IMessage

A response message for listing all assignments under given parent.

Inheritance

Object > ListOSPolicyAssignmentsResponse

Namespace

Google.Cloud.OsConfig.V1

Assembly

Google.Cloud.OsConfig.V1.dll

Constructors

ListOSPolicyAssignmentsResponse()

public ListOSPolicyAssignmentsResponse()

ListOSPolicyAssignmentsResponse(ListOSPolicyAssignmentsResponse)

public ListOSPolicyAssignmentsResponse(ListOSPolicyAssignmentsResponse other)
Parameter
NameDescription
otherListOSPolicyAssignmentsResponse

Properties

NextPageToken

public string NextPageToken { get; set; }

The pagination token to retrieve the next page of OS policy assignments.

Property Value
TypeDescription
String

OsPolicyAssignments

public RepeatedField<OSPolicyAssignment> OsPolicyAssignments { get; }

The list of assignments

Property Value
TypeDescription
RepeatedField<OSPolicyAssignment>

Methods

GetEnumerator()

public IEnumerator<OSPolicyAssignment> GetEnumerator()

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

Returns
TypeDescription
IEnumerator<OSPolicyAssignment>

Explicit Interface Implementations

IEnumerable.GetEnumerator()

IEnumerator IEnumerable.GetEnumerator()
Returns
TypeDescription
System.Collections.IEnumerator