class AgentHeaderDescriptor

Encapsulates the custom GAPIC header information.

Constants

AGENT_HEADER_KEY

UNKNOWN_VERSION

Methods

__construct(array $headerInfo)

No description

array
getHeader()

Returns an associative array that contains GAPIC header metadata.

static string
getApiCoreVersion()

Returns the version string for ApiCore.

Details

at line 57
__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 $apiCoreVersion the ApiCore version.
@type string $grpcVersion the gRPC version.

}

at line 104
array getHeader()

Returns an associative array that contains GAPIC header metadata.

Return Value

array

at line 118
static string getApiCoreVersion()

Returns the version string for ApiCore.

Return Value

string