Class OrgPolicyClient.ListCustomConstraintsPage (2.95.0)

public static class OrgPolicyClient.ListCustomConstraintsPage extends AbstractPage<ListCustomConstraintsRequest,ListCustomConstraintsResponse,CustomConstraint,OrgPolicyClient.ListCustomConstraintsPage>

Inheritance

java.lang.Object > AbstractPage > OrgPolicyClient.ListCustomConstraintsPage

Methods

createPage(@Nullable PageContext<ListCustomConstraintsRequest,ListCustomConstraintsResponse,CustomConstraint> context, @Nullable ListCustomConstraintsResponse response)

protected OrgPolicyClient.ListCustomConstraintsPage createPage(@Nullable PageContext<ListCustomConstraintsRequest,ListCustomConstraintsResponse,CustomConstraint> context, @Nullable ListCustomConstraintsResponse response)
Parameters
Name Description
context @org.jspecify.annotations.Nullable com.google.api.gax.rpc.PageContext<ListCustomConstraintsRequest,ListCustomConstraintsResponse,CustomConstraint>
response @org.jspecify.annotations.Nullable com.google.cloud.orgpolicy.v2.ListCustomConstraintsResponse
Returns
Type Description
OrgPolicyClient.ListCustomConstraintsPage
Overrides

createPageAsync(@Nullable PageContext<ListCustomConstraintsRequest,ListCustomConstraintsResponse,CustomConstraint> context, ApiFuture<ListCustomConstraintsResponse> futureResponse)

public ApiFuture<OrgPolicyClient.ListCustomConstraintsPage> createPageAsync(@Nullable PageContext<ListCustomConstraintsRequest,ListCustomConstraintsResponse,CustomConstraint> context, ApiFuture<ListCustomConstraintsResponse> futureResponse)
Parameters
Name Description
context @org.jspecify.annotations.Nullable com.google.api.gax.rpc.PageContext<ListCustomConstraintsRequest,ListCustomConstraintsResponse,CustomConstraint>
futureResponse ApiFuture<ListCustomConstraintsResponse>
Returns
Type Description
ApiFuture<ListCustomConstraintsPage>
Overrides