class SystemParameterRule extends Message

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

Protobuf type 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.

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.

setParameters(array|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 64
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

at line 80
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 95
setParameters(array|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

array|RepeatedField $var