class DocumentationRule extends Message

A documentation rule provides information about individual API elements.

Generated from protobuf message google.api.DocumentationRule

Methods

__construct()

No description

string
getSelector()

The selector is a comma-separated list of patterns. Each pattern is a qualified name of the element which may end in "*", indicating a wildcard.

$this
setSelector(string $var)

The selector is a comma-separated list of patterns. Each pattern is a qualified name of the element which may end in "*", indicating a wildcard.

string
getDescription()

Description of the selected API(s).

$this
setDescription(string $var)

Description of the selected API(s).

string
getDeprecationDescription()

Deprecation description of the selected element(s). It can be provided if an element is marked as deprecated.

$this
setDeprecationDescription(string $var)

Deprecation description of the selected element(s). It can be provided if an element is marked as deprecated.

Details

at line 43
__construct()

at line 59
string getSelector()

The selector is a comma-separated list of patterns. Each pattern is a qualified name of the element which may end in "*", indicating a wildcard.

Wildcards are only allowed at the end and for a whole component of the qualified name, i.e. "foo." is ok, but not "foo.b" or "foo..bar". To specify a default for all applicable elements, the whole pattern "" is used.

Generated from protobuf field string selector = 1;

Return Value

string

at line 76
$this setSelector(string $var)

The selector is a comma-separated list of patterns. Each pattern is a qualified name of the element which may end in "*", indicating a wildcard.

Wildcards are only allowed at the end and for a whole component of the qualified name, i.e. "foo." is ok, but not "foo.b" or "foo..bar". To specify a default for all applicable elements, the whole pattern "" is used.

Generated from protobuf field string selector = 1;

Parameters

string $var

Return Value

$this

at line 90
string getDescription()

Description of the selected API(s).

Generated from protobuf field string description = 2;

Return Value

string

at line 102
$this setDescription(string $var)

Description of the selected API(s).

Generated from protobuf field string description = 2;

Parameters

string $var

Return Value

$this

at line 117
string getDeprecationDescription()

Deprecation description of the selected element(s). It can be provided if an element is marked as deprecated.

Generated from protobuf field string deprecation_description = 3;

Return Value

string

at line 130
$this setDeprecationDescription(string $var)

Deprecation description of the selected element(s). It can be provided if an element is marked as deprecated.

Generated from protobuf field string deprecation_description = 3;

Parameters

string $var

Return Value

$this