class AgentHeaderDescriptor

Encapsulates the custom GAPIC header information.

Constants

AGENT_HEADER_KEY

GAX_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 line 66
__construct(array $headerInfo)

Parameters

array $headerInfo { Required.

@type string $clientName the name of the client application.
@type string $clientVersion the version of the client application.
@type string $codeGenName the code generator name of the client library.
@type string $codeGenVersion the code generator version of the client library.
@type string $gaxVersion the GAX version.
@type string $phpVersion the PHP version.

}

at line line 79
getHeader()

Returns an associative array that contains GAPIC header metadata.

at line line 89
static getGaxVersion()

Returns the version string for GAX.