class SystemParameterRule extends Message

Define a system parameter rule mapping system parameter definitions to methods.

Generated from protobuf message google.api.SystemParameterRule

Methods

__construct()

No description

string
getSelector()

Selects the methods to which this rule applies. Use '*' to indicate all methods in all APIs.

$this
setSelector(string $var)

Selects the methods to which this rule applies. Use '*' to indicate all methods in all APIs.

RepeatedField
getParameters()

Define parameters. Multiple names may be defined for a parameter.

$this
setParameters(SystemParameter[]|RepeatedField $var)

Define parameters. Multiple names may be defined for a parameter.

Details

at line 38
__construct()

at line 51
string getSelector()

Selects the methods to which this rule applies. Use '*' to indicate all methods in all APIs.

Refer to [selector][google.api.DocumentationRule.selector] for syntax details.

Generated from protobuf field string selector = 1;

Return Value

string

at line 65
$this setSelector(string $var)

Selects the methods to which this rule applies. Use '*' to indicate all methods in all APIs.

Refer to [selector][google.api.DocumentationRule.selector] for syntax details.

Generated from protobuf field string selector = 1;

Parameters

string $var

Return Value

$this

at line 83
RepeatedField getParameters()

Define parameters. Multiple names may be defined for a parameter.

For a given method call, only one of them should be used. If multiple names are used the behavior is implementation-dependent. If none of the specified names are present the behavior is parameter-dependent.

Generated from protobuf field repeated .google.api.SystemParameter parameters = 2;

Return Value

RepeatedField

at line 99
$this setParameters(SystemParameter[]|RepeatedField $var)

Define parameters. Multiple names may be defined for a parameter.

For a given method call, only one of them should be used. If multiple names are used the behavior is implementation-dependent. If none of the specified names are present the behavior is parameter-dependent.

Generated from protobuf field repeated .google.api.SystemParameter parameters = 2;

Parameters

SystemParameter[]|RepeatedField $var

Return Value

$this