Reference documentation and code samples for the Stackdriver Monitoring V3 Client class Link.
Links to content such as playbooks, repositories, and other resources.
Generated from protobuf message google.monitoring.v3.AlertPolicy.Documentation.Link
Namespace
Google \ Cloud \ Monitoring \ V3 \ AlertPolicy \ DocumentationMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ display_name |
string
A short display name for the link. The display name must not be empty or exceed 63 characters. Example: "playbook". |
↳ url |
string
The url of a webpage. A url can be templatized by using variables in the path or the query parameters. The total length of a URL should not exceed 2083 characters before and after variable expansion. Example: "https://my_domain.com/playbook?name=${resource.name}" |
getDisplayName
A short display name for the link. The display name must not be empty or exceed 63 characters. Example: "playbook".
Returns | |
---|---|
Type | Description |
string |
setDisplayName
A short display name for the link. The display name must not be empty or exceed 63 characters. Example: "playbook".
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getUrl
The url of a webpage.
A url can be templatized by using variables in the path or the query parameters. The total length of a URL should not exceed 2083 characters before and after variable expansion. Example: "https://my_domain.com/playbook?name=${resource.name}"
Returns | |
---|---|
Type | Description |
string |
setUrl
The url of a webpage.
A url can be templatized by using variables in the path or the query parameters. The total length of a URL should not exceed 2083 characters before and after variable expansion. Example: "https://my_domain.com/playbook?name=${resource.name}"
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |