Serializes and deserializes ApiCore LRO Response objects.

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

private deserializeMetadata( $operation, $type, $serializer, array $mappers)

Convert an operation metadata to an array

  • return array|null
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