@@ -16,6 +16,7 @@ interface ServiceClientInterface
16
16
{
17
17
public function getContext () : ContextInterface ;
18
18
public function withContext (ContextInterface $ context ) : static ;
19
+ public function withAuthKey (\Stringable |string $ key ) : static ;
19
20
public function getConnection () : \Temporal \Client \GRPC \Connection \ConnectionInterface ;
20
21
public function getServerCapabilities () : ?\Temporal \Client \Common \ServerCapabilities ;
21
22
/**
@@ -585,7 +586,11 @@ public function QueryWorkflow(V1\QueryWorkflowRequest $arg, ContextInterface $ct
585
586
*/
586
587
public function DescribeWorkflowExecution (V1 \DescribeWorkflowExecutionRequest $ arg , ContextInterface $ ctx = null ) : V1 \DescribeWorkflowExecutionResponse ;
587
588
/**
588
- * DescribeTaskQueue returns information about the target task queue.
589
+ * DescribeTaskQueue returns the following information about the target task queue,
590
+ * broken down by Build ID:
591
+ * - List of pollers
592
+ * - Workflow Reachability status
593
+ * - Backlog info for Workflow and/or Activity tasks
589
594
*
590
595
* @param V1\DescribeTaskQueueRequest $arg
591
596
* @param ContextInterface|null $ctx
@@ -685,6 +690,8 @@ public function DeleteSchedule(V1\DeleteScheduleRequest $arg, ContextInterface $
685
690
*/
686
691
public function ListSchedules (V1 \ListSchedulesRequest $ arg , ContextInterface $ ctx = null ) : V1 \ListSchedulesResponse ;
687
692
/**
693
+ * Deprecated. Use `UpdateWorkerVersioningRules`.
694
+ *
688
695
* Allows users to specify sets of worker build id versions on a per task queue
689
696
* basis. Versions
690
697
* are ordered, and may be either compatible with some extant version, or a new
@@ -714,6 +721,7 @@ public function ListSchedules(V1\ListSchedulesRequest $arg, ContextInterface $ct
714
721
*/
715
722
public function UpdateWorkerBuildIdCompatibility (V1 \UpdateWorkerBuildIdCompatibilityRequest $ arg , ContextInterface $ ctx = null ) : V1 \UpdateWorkerBuildIdCompatibilityResponse ;
716
723
/**
724
+ * Deprecated. Use `GetWorkerVersioningRules`.
717
725
* Fetches the worker build id versioning sets for a task queue.
718
726
*
719
727
* @param V1\GetWorkerBuildIdCompatibilityRequest $arg
@@ -723,6 +731,33 @@ public function UpdateWorkerBuildIdCompatibility(V1\UpdateWorkerBuildIdCompatibi
723
731
*/
724
732
public function GetWorkerBuildIdCompatibility (V1 \GetWorkerBuildIdCompatibilityRequest $ arg , ContextInterface $ ctx = null ) : V1 \GetWorkerBuildIdCompatibilityResponse ;
725
733
/**
734
+ * Allows updating the Build ID assignment and redirect rules for a given Task
735
+ * Queue.
736
+ * WARNING: Worker Versioning is not yet stable and the API and behavior may change
737
+ * incompatibly.
738
+ * (-- api-linter: core::0127::http-annotation=disabled
739
+ * aip.dev/not-precedent: We do yet expose versioning API to HTTP. --)
740
+ *
741
+ * @param V1\UpdateWorkerVersioningRulesRequest $arg
742
+ * @param ContextInterface|null $ctx
743
+ * @return V1\UpdateWorkerVersioningRulesResponse
744
+ * @throws ServiceClientException
745
+ */
746
+ public function UpdateWorkerVersioningRules (V1 \UpdateWorkerVersioningRulesRequest $ arg , ContextInterface $ ctx = null ) : V1 \UpdateWorkerVersioningRulesResponse ;
747
+ /**
748
+ * Fetches the Build ID assignment and redirect rules for a Task Queue.
749
+ * WARNING: Worker Versioning is not yet stable and the API and behavior may change
750
+ * incompatibly.
751
+ *
752
+ * @param V1\GetWorkerVersioningRulesRequest $arg
753
+ * @param ContextInterface|null $ctx
754
+ * @return V1\GetWorkerVersioningRulesResponse
755
+ * @throws ServiceClientException
756
+ */
757
+ public function GetWorkerVersioningRules (V1 \GetWorkerVersioningRulesRequest $ arg , ContextInterface $ ctx = null ) : V1 \GetWorkerVersioningRulesResponse ;
758
+ /**
759
+ * Deprecated. Use `DescribeTaskQueue`.
760
+ *
726
761
* Fetches task reachability to determine whether a worker may be retired.
727
762
* The request may specify task queues to query for or let the server fetch all
728
763
* task queues mapped to the given
0 commit comments