Stackdriver Debugger Client - Class AliasContext (1.4.16)

Reference documentation and code samples for the Stackdriver Debugger Client class AliasContext.

An alias to a repo revision.

Example:

use Google\Cloud\Debugger\AliasContext;

$aliasContext = new AliasContext(AliasContext::KIND_FIXED, 'branch-alias');

Methods

__construct

Instantiate a new AliasContext.

Parameters
NameDescription
kind string

The alias kind.

name string

The alias name.

info

Return a serializable version of this object

Returns
TypeDescription
array

Constants

KIND_ANY

Value: \Google\Cloud\DevTools\Source\V1\AliasContext\Kind::ANY

KIND_FIXED

Value: \Google\Cloud\DevTools\Source\V1\AliasContext\Kind::FIXED

KIND_MOVABLE

Value: \Google\Cloud\DevTools\Source\V1\AliasContext\Kind::MOVABLE

KIND_OTHER

Value: \Google\Cloud\DevTools\Source\V1\AliasContext\Kind::OTHER