Copied!
CloneableInstantiable
Methods
public __construct(array $options)
 
  • param array $options { Config options used to construct the transport. @type array $grpc @type array $grpcFallback @type array $rest }
public offsetExists( $offset) : bool
public offsetGet( $offset)
 
  • return mixed
  • attribute ReturnTypeWillChange
public offsetSet( $offset, $value) : void
 
  • throws \BadMethodCallException
public offsetUnset( $offset) : void
 
  • throws \BadMethodCallException
public setGrpc(Google\ApiCore\Options\TransportOptions\GrpcTransportOptions $grpc) : Google\ApiCore\Options\TransportOptions
 
  • param \GrpcTransportOptions $grpc
  • return $this
public setGrpcFallback(Google\ApiCore\Options\TransportOptions\GrpcFallbackTransportOptions $grpcFallback) : Google\ApiCore\Options\TransportOptions
 
  • param \GrpcFallbackTransportOptions $grpcFallback
  • return $this
public setRest(Google\ApiCore\Options\TransportOptions\RestTransportOptions $rest) : Google\ApiCore\Options\TransportOptions
 
  • param \RestTransportOptions $rest
  • return $this
public toArray() : array
Properties
private Google\ApiCore\Options\TransportOptions\GrpcTransportOptions $grpc
private Google\ApiCore\Options\TransportOptions\GrpcFallbackTransportOptions $grpcFallback
private Google\ApiCore\Options\TransportOptions\RestTransportOptions $rest
Methods
private fromArray(array $arr) : void
 

Sets the array of options as class properites.

  • param array $arr See the constructor for the list of supported options.
private static validateFileExists(string $filePath)
 
  • param string $filePath
  • throws \ValidationException
Methods
private static validateFileExists(string $filePath)
 
  • param string $filePath
  • throws \ValidationException
© 2026 Bruce Wells
Search Namespaces \ Classes
Configuration