ContextRule
class ContextRule extends Message
A context rule provides information about the context for an individual API element.
Generated from protobuf message google.api.ContextRule
Methods
No description
Selects the methods to which this rule applies.
Selects the methods to which this rule applies.
A list of full type names of requested contexts.
A list of full type names of requested contexts.
A list of full type names of provided contexts.
A list of full type names of provided contexts.
Details
at line 39
__construct()
at line 51
string
getSelector()
Selects the methods to which this rule applies.
Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
Generated from protobuf field string selector = 1;
at line 64
$this
setSelector(string $var)
Selects the methods to which this rule applies.
Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
Generated from protobuf field string selector = 1;
at line 78
RepeatedField
getRequested()
A list of full type names of requested contexts.
Generated from protobuf field repeated string requested = 2;
at line 90
$this
setRequested(string[]|RepeatedField $var)
A list of full type names of requested contexts.
Generated from protobuf field repeated string requested = 2;
at line 104
RepeatedField
getProvided()
A list of full type names of provided contexts.
Generated from protobuf field repeated string provided = 3;
at line 116
$this
setProvided(string[]|RepeatedField $var)
A list of full type names of provided contexts.
Generated from protobuf field repeated string provided = 3;