class SystemParameterRule extends Message

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

Generated from protobuf message google.api.SystemParameterRule

Methods

__construct(array $data = NULL)

Constructor.

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 56
__construct(array $data = NULL)

Constructor.

Parameters

array $data { Optional. Data for populating the Message object.

@type string $selector
      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.
@type \Google\Api\SystemParameter[]|\Google\Protobuf\Internal\RepeatedField $parameters
      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.

}

at line 69
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 83
$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 101
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 117
$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