ContextRule
class ContextRule extends Message
A context rule provides information about the context for an individual API element.
Protobuf type 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 63
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 75
RepeatedField
getRequested()
A list of full type names of requested contexts.
Generated from protobuf field repeated string requested = 2;
at line 86
setRequested(array|RepeatedField $var)
A list of full type names of requested contexts.
Generated from protobuf field repeated string requested = 2;
at line 98
RepeatedField
getProvided()
A list of full type names of provided contexts.
Generated from protobuf field repeated string provided = 3;
at line 109
setProvided(array|RepeatedField $var)
A list of full type names of provided contexts.
Generated from protobuf field repeated string provided = 3;