Serializes and deserializes ApiCore LRO Response objects.

This trait should be used in a gRPC Connection class to normalize responses.

Trait
Methods
private deserializeResult( $operation, $type, $serializer, array $mappers)
 
Convert an operation response to an array

  • return array|null
private getOperationByName( $client, $name, $method = NULL)
 
Fetch an OperationResponse object from a gapic client.

  • return OperationResponse
private operationToArray( $operation, $serializer, array $lroMappers)
 
Convert a ApiCore OperationResponse object to an array.

  • return array
© 2020 Bruce Wells
Search Namespaces \ Classes
ConfigurationNumbers (0-9.) only