Documentation

Link extends Message
in package

Describes a URL link.

Generated from protobuf message google.rpc.Help.Link

Table of Contents

Properties

$description  : mixed
Describes what the link offers.
$url  : mixed
The URL of the link.

Methods

__construct()  : mixed
Constructor.
getDescription()  : string
Describes what the link offers.
getUrl()  : string
The URL of the link.
setDescription()  : $this
Describes what the link offers.
setUrl()  : $this
The URL of the link.

Properties

$description

Describes what the link offers.

protected mixed $description = ''

Generated from protobuf field string description = 1 [json_name = "description"];

$url

The URL of the link.

protected mixed $url = ''

Generated from protobuf field string url = 2 [json_name = "url"];

Methods

__construct()

Constructor.

public __construct([array<string|int, mixed> $data = NULL ]) : mixed
Parameters
$data : array<string|int, mixed> = NULL

{ Optional. Data for populating the Message object.

@type string $description
      Describes what the link offers.
@type string $url
      The URL of the link.

}

getDescription()

Describes what the link offers.

public getDescription() : string

Generated from protobuf field string description = 1 [json_name = "description"];

Return values
string

getUrl()

The URL of the link.

public getUrl() : string

Generated from protobuf field string url = 2 [json_name = "url"];

Return values
string

setDescription()

Describes what the link offers.

public setDescription(string $var) : $this

Generated from protobuf field string description = 1 [json_name = "description"];

Parameters
$var : string
Return values
$this

setUrl()

The URL of the link.

public setUrl(string $var) : $this

Generated from protobuf field string url = 2 [json_name = "url"];

Parameters
$var : string
Return values
$this

        
On this page

Search results