GapicClientTrait
trait GapicClientTrait
Common functions used to work with various clients.
Traits
Methods
Initiates an orderly shutdown in which preexisting calls continue but new calls are immediately cancelled.
Get the transport for the client. This method is protected to support use by customized clients.
Get the credentials for the client. This method is protected to support use by customized clients.
Modify options passed to the client before calling setClientOptions.
Modify the unary callable.
Modify the streaming callable.
Details
in ValidationTrait at line 41
static array
validate(array $arr, array $requiredKeys)
in ValidationTrait at line 51
static array
validateNotNull(array $arr, array $requiredKeys)
at line 80
close()
Initiates an orderly shutdown in which preexisting calls continue but new calls are immediately cancelled.
at line 92
protected TransportInterface
getTransport()
Get the transport for the client. This method is protected to support use by customized clients.
at line 104
protected CredentialsWrapper
getCredentialsWrapper()
Get the credentials for the client. This method is protected to support use by customized clients.
at line 590
protected
modifyClientOptions(array $options)
Modify options passed to the client before calling setClientOptions.
at line 601
protected
modifyUnaryCallable(callable $callable)
Modify the unary callable.
at line 612
protected
modifyStreamingCallable(callable $callable)
Modify the streaming callable.