class AgentHeaderDescriptor

Encapsulates the custom GAPIC header information.

Constants

AGENT_HEADER_KEY

GAX_VERSION

UNKNOWN_VERSION

Methods

__construct(array $headerInfo)

No description

getHeader()

Returns an associative array that contains GAPIC header metadata.

static 
getGaxVersion()

Returns the version string for GAX.

Details

at line 60
__construct(array $headerInfo)

Parameters

array $headerInfo { Optional.

@type string $phpVersion the PHP version.
@type string $libName the name of the client application.
@type string $libVersion the version of the client application.
@type string $gapicVersion the code generator version of the GAPIC library.
@type string $gaxVersion the GAX version.
@type string $grpcVersion the gRPC version.

}

at line 105
getHeader()

Returns an associative array that contains GAPIC header metadata.

at line 117
static getGaxVersion()

Returns the version string for GAX.