Stackdriver Monitoring V3 Client - Class Link (1.11.0)

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 \ Documentation

Methods

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}"

A short display name for the link. The display name must not be empty or exceed 63 characters. Example: "playbook".

Returns
Type Description
string

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

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

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