Closed bshaffer closed 3 months ago
See https://github.com/googleapis/gapic-generator-php/pull/712. Adds 3 options to the OperationsResponse class:
OperationsResponse
$getOperationRequest
$cancelOperationRequest
$deleteOperationRequest
These are used to form the request to the V2 Operations client
Pros
ReflectionMethod
Cons
longRunning
Alternatives Considered We could add a ReflectionMethod to determine the request class of the Operation methods (see https://github.com/googleapis/gax-php/pull/570)
See https://github.com/googleapis/gapic-generator-php/pull/712. Adds 3 options to the
OperationsResponse
class:$getOperationRequest
$cancelOperationRequest
$deleteOperationRequest
These are used to form the request to the V2 Operations client
Pros
ReflectionMethod
to determine first argument Request class, which is a hackCons
longRunning
descriptorsAlternatives Considered We could add a
ReflectionMethod
to determine the request class of the Operation methods (see https://github.com/googleapis/gax-php/pull/570)