Google API Common Protos Client - Class SystemParameterRule (4.8.3)

Reference documentation and code samples for the Google API Common Protos Client class SystemParameterRule.

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

Generated from protobuf message google.api.SystemParameterRule

Namespace

Google \ Api

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ selector string

Selects the methods to which this rule applies. Use '*' to indicate all methods in all APIs. Refer to selector for syntax details.

↳ parameters array<Google\Api\SystemParameter>

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.

getSelector

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

Refer to selector for syntax details.

Returns
Type Description
string

setSelector

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

Refer to selector for syntax details.

Parameter
Name Description
var string
Returns
Type Description
$this

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.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setParameters

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.

Parameter
Name Description
var array<Google\Api\SystemParameter>
Returns
Type Description
$this