Reference documentation and code samples for the Common Protos for Google Cloud APIs V1 Client class AliasContext.
An alias to a repo revision.
Generated from protobuf message google.devtools.source.v1.AliasContext
Namespace
Google \ Cloud \ DevTools \ Source \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ kind |
int
The alias kind. |
↳ name |
string
The alias name. |
getKind
The alias kind.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type Kind. |
setKind
The alias kind.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type Kind. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getName
The alias name.
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
The alias name.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|