Class HttpJsonSecurityPoliciesCallableFactory (1.63.0)

public class HttpJsonSecurityPoliciesCallableFactory implements HttpJsonStubCallableFactory<Operation,GlobalOperationsStub>

REST callable factory implementation for the SecurityPolicies service API.

This class is for advanced usage.

Inheritance

java.lang.Object > HttpJsonSecurityPoliciesCallableFactory

Implements

com.google.api.gax.httpjson.HttpJsonStubCallableFactory<com.google.cloud.compute.v1.Operation,com.google.cloud.compute.v1.stub.GlobalOperationsStub>

Constructors

HttpJsonSecurityPoliciesCallableFactory()

public HttpJsonSecurityPoliciesCallableFactory()

Methods

<RequestT,ResponseT,MetadataT>createOperationCallable(HttpJsonCallSettings<RequestT,Operation> httpJsonCallSettings, OperationCallSettings<RequestT,ResponseT,MetadataT> callSettings, ClientContext clientContext, GlobalOperationsStub operationsStub)

public OperationCallable<RequestT,ResponseT,MetadataT> <RequestT,ResponseT,MetadataT>createOperationCallable(HttpJsonCallSettings<RequestT,Operation> httpJsonCallSettings, OperationCallSettings<RequestT,ResponseT,MetadataT> callSettings, ClientContext clientContext, GlobalOperationsStub operationsStub)
Parameters
Name Description
httpJsonCallSettings HttpJsonCallSettings<RequestT,Operation>
callSettings OperationCallSettings<RequestT,ResponseT,MetadataT>
clientContext ClientContext
operationsStub GlobalOperationsStub
Returns
Type Description
OperationCallable<RequestT,ResponseT,MetadataT>

<RequestT,ResponseT,PagedListResponseT>createPagedCallable(HttpJsonCallSettings<RequestT,ResponseT> httpJsonCallSettings, PagedCallSettings<RequestT,ResponseT,PagedListResponseT> callSettings, ClientContext clientContext)

public UnaryCallable<RequestT,PagedListResponseT> <RequestT,ResponseT,PagedListResponseT>createPagedCallable(HttpJsonCallSettings<RequestT,ResponseT> httpJsonCallSettings, PagedCallSettings<RequestT,ResponseT,PagedListResponseT> callSettings, ClientContext clientContext)
Parameters
Name Description
httpJsonCallSettings HttpJsonCallSettings<RequestT,ResponseT>
callSettings PagedCallSettings<RequestT,ResponseT,PagedListResponseT>
clientContext ClientContext
Returns
Type Description
UnaryCallable<RequestT,PagedListResponseT>

<RequestT,ResponseT>createBatchingCallable(HttpJsonCallSettings<RequestT,ResponseT> httpJsonCallSettings, BatchingCallSettings<RequestT,ResponseT> callSettings, ClientContext clientContext)

public UnaryCallable<RequestT,ResponseT> <RequestT,ResponseT>createBatchingCallable(HttpJsonCallSettings<RequestT,ResponseT> httpJsonCallSettings, BatchingCallSettings<RequestT,ResponseT> callSettings, ClientContext clientContext)
Parameters
Name Description
httpJsonCallSettings HttpJsonCallSettings<RequestT,ResponseT>
callSettings BatchingCallSettings<RequestT,ResponseT>
clientContext ClientContext
Returns
Type Description
UnaryCallable<RequestT,ResponseT>

<RequestT,ResponseT>createServerStreamingCallable(HttpJsonCallSettings<RequestT,ResponseT> httpJsonCallSettings, ServerStreamingCallSettings<RequestT,ResponseT> callSettings, ClientContext clientContext)

public ServerStreamingCallable<RequestT,ResponseT> <RequestT,ResponseT>createServerStreamingCallable(HttpJsonCallSettings<RequestT,ResponseT> httpJsonCallSettings, ServerStreamingCallSettings<RequestT,ResponseT> callSettings, ClientContext clientContext)
Parameters
Name Description
httpJsonCallSettings HttpJsonCallSettings<RequestT,ResponseT>
callSettings ServerStreamingCallSettings<RequestT,ResponseT>
clientContext ClientContext
Returns
Type Description
ServerStreamingCallable<RequestT,ResponseT>

<RequestT,ResponseT>createUnaryCallable(HttpJsonCallSettings<RequestT,ResponseT> httpJsonCallSettings, UnaryCallSettings<RequestT,ResponseT> callSettings, ClientContext clientContext)

public UnaryCallable<RequestT,ResponseT> <RequestT,ResponseT>createUnaryCallable(HttpJsonCallSettings<RequestT,ResponseT> httpJsonCallSettings, UnaryCallSettings<RequestT,ResponseT> callSettings, ClientContext clientContext)
Parameters
Name Description
httpJsonCallSettings HttpJsonCallSettings<RequestT,ResponseT>
callSettings UnaryCallSettings<RequestT,ResponseT>
clientContext ClientContext
Returns
Type Description
UnaryCallable<RequestT,ResponseT>