Class OrgPolicyViolationsPreviewServiceGrpc (0.49.0)

public final class OrgPolicyViolationsPreviewServiceGrpc

Violations Preview API service for OrgPolicy. An OrgPolicyViolationsPreview is a preview of the violations that will exist as soon as a proposed OrgPolicy change is submitted. To create an OrgPolicyViolationsPreview, the API user specifies the changes they wish to make and requests the generation of a preview via [GenerateViolationsPreview][]. the OrgPolicy Simulator service then scans the API user's currently existing resources to determine these resources violate the newly set OrgPolicy.

Inheritance

java.lang.Object > OrgPolicyViolationsPreviewServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(OrgPolicyViolationsPreviewServiceGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(OrgPolicyViolationsPreviewServiceGrpc.AsyncService service)
Parameter
Name Description
service OrgPolicyViolationsPreviewServiceGrpc.AsyncService
Returns
Type Description
io.grpc.ServerServiceDefinition

getCreateOrgPolicyViolationsPreviewMethod()

public static MethodDescriptor<CreateOrgPolicyViolationsPreviewRequest,Operation> getCreateOrgPolicyViolationsPreviewMethod()
Returns
Type Description
io.grpc.MethodDescriptor<CreateOrgPolicyViolationsPreviewRequest,Operation>

getGetOrgPolicyViolationsPreviewMethod()

public static MethodDescriptor<GetOrgPolicyViolationsPreviewRequest,OrgPolicyViolationsPreview> getGetOrgPolicyViolationsPreviewMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetOrgPolicyViolationsPreviewRequest,OrgPolicyViolationsPreview>

getListOrgPolicyViolationsMethod()

public static MethodDescriptor<ListOrgPolicyViolationsRequest,ListOrgPolicyViolationsResponse> getListOrgPolicyViolationsMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListOrgPolicyViolationsRequest,ListOrgPolicyViolationsResponse>

getListOrgPolicyViolationsPreviewsMethod()

public static MethodDescriptor<ListOrgPolicyViolationsPreviewsRequest,ListOrgPolicyViolationsPreviewsResponse> getListOrgPolicyViolationsPreviewsMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListOrgPolicyViolationsPreviewsRequest,ListOrgPolicyViolationsPreviewsResponse>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
Type Description
io.grpc.ServiceDescriptor

newBlockingStub(Channel channel)

public static OrgPolicyViolationsPreviewServiceGrpc.OrgPolicyViolationsPreviewServiceBlockingStub newBlockingStub(Channel channel)

Creates a new blocking-style stub that supports unary and streaming output calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
OrgPolicyViolationsPreviewServiceGrpc.OrgPolicyViolationsPreviewServiceBlockingStub

newBlockingV2Stub(Channel channel)

public static OrgPolicyViolationsPreviewServiceGrpc.OrgPolicyViolationsPreviewServiceBlockingV2Stub newBlockingV2Stub(Channel channel)

Creates a new blocking-style stub that supports all types of calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
OrgPolicyViolationsPreviewServiceGrpc.OrgPolicyViolationsPreviewServiceBlockingV2Stub

newFutureStub(Channel channel)

public static OrgPolicyViolationsPreviewServiceGrpc.OrgPolicyViolationsPreviewServiceFutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
OrgPolicyViolationsPreviewServiceGrpc.OrgPolicyViolationsPreviewServiceFutureStub

newStub(Channel channel)

public static OrgPolicyViolationsPreviewServiceGrpc.OrgPolicyViolationsPreviewServiceStub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
OrgPolicyViolationsPreviewServiceGrpc.OrgPolicyViolationsPreviewServiceStub