Package com.google.genai.gaos.operations
Class CreateTrigger.Async
java.lang.Object
com.google.genai.gaos.operations.CreateTrigger.Async
- All Implemented Interfaces:
Operations.AsyncOperation<CreateTriggerResponse>,Operations.AsyncRequestOperation<CreateTriggerRequest,CreateTriggerResponse>
- Enclosing class:
- CreateTrigger
public static class CreateTrigger.Async
extends Object
implements Operations.AsyncRequestOperation<CreateTriggerRequest,CreateTriggerResponse>
-
Constructor Summary
ConstructorsConstructorDescriptionAsync(SDKConfiguration sdkConfiguration, Options options, ScheduledExecutorService retryScheduler, Headers _headers) -
Method Summary
Modifier and TypeMethodDescriptionReturns the operation's cancellation relay, ornullif unsupported.doRequest(CreateTriggerRequest request) handleResponse(HttpResponse<InputStream> response)
-
Constructor Details
-
Async
public Async(@Nonnull SDKConfiguration sdkConfiguration, @Nullable Options options, @Nullable ScheduledExecutorService retryScheduler, Headers _headers)
-
-
Method Details
-
cancellationRelay
Description copied from interface:Operations.AsyncOperationReturns the operation's cancellation relay, ornullif unsupported.- Specified by:
cancellationRelayin interfaceOperations.AsyncOperation<CreateTriggerResponse>
-
doRequest
- Specified by:
doRequestin interfaceOperations.AsyncRequestOperation<CreateTriggerRequest,CreateTriggerResponse>
-
handleResponse
- Specified by:
handleResponsein interfaceOperations.AsyncOperation<CreateTriggerResponse>
-