Stackdriver Debugger Client - Class AliasContext (1.5.1)

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');

Namespace

Google \ Cloud \ Debugger

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