Class CloudTasksUtils.GcpCloudTasksClient

    • Constructor Summary

      Constructors 
      Constructor Description
      GcpCloudTasksClient​(java.util.function.Supplier<com.google.cloud.tasks.v2.CloudTasksClient> clientSupplier)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.google.cloud.tasks.v2.Task enqueue​(java.lang.String projectId, java.lang.String locationId, java.lang.String queueName, com.google.cloud.tasks.v2.Task task)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GcpCloudTasksClient

        public GcpCloudTasksClient​(java.util.function.Supplier<com.google.cloud.tasks.v2.CloudTasksClient> clientSupplier)
    • Method Detail

      • enqueue

        public com.google.cloud.tasks.v2.Task enqueue​(java.lang.String projectId,
                                                      java.lang.String locationId,
                                                      java.lang.String queueName,
                                                      com.google.cloud.tasks.v2.Task task)
        Specified by:
        enqueue in class CloudTasksUtils.SerializableCloudTasksClient