A context rule provides information about the context for an individual API element.
Generated from protobuf message google.api.ContextRule
Methods |
public __construct( $data = NULL) Constructor.
|
public getAllowedRequestExtensions() A list of full type names or extension IDs of extensions allowed in grpc side channel from client to backend. Generated from protobuf field repeated string allowed_request_extensions = 4;
|
public getAllowedResponseExtensions() A list of full type names or extension IDs of extensions allowed in grpc side channel from backend to client. Generated from protobuf field repeated string allowed_response_extensions = 5;
|
public getProvided() A list of full type names of provided contexts. It is used to support propagating HTTP headers and ETags from the response extension. Generated from protobuf field repeated string provided = 3;
|
public getRequested() A list of full type names of requested contexts, only the requested context will be made available to the backend. Generated from protobuf field repeated string requested = 2;
|
public 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;
|
public setAllowedRequestExtensions( $var) A list of full type names or extension IDs of extensions allowed in grpc side channel from client to backend. Generated from protobuf field repeated string allowed_request_extensions = 4;
|
public setAllowedResponseExtensions( $var) A list of full type names or extension IDs of extensions allowed in grpc side channel from backend to client. Generated from protobuf field repeated string allowed_response_extensions = 5;
|
public setProvided( $var) A list of full type names of provided contexts. It is used to support propagating HTTP headers and ETags from the response extension. Generated from protobuf field repeated string provided = 3;
|
public setRequested( $var) A list of full type names of requested contexts, only the requested context will be made available to the backend. Generated from protobuf field repeated string requested = 2;
|
public setSelector( $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;
|
Properties |
protected $selector = '' 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; |
Methods |
Properties |
private $allowed_request_extensions = NULL A list of full type names or extension IDs of extensions allowed in grpc side channel from client to backend. Generated from protobuf field repeated string allowed_request_extensions = 4; |
private $allowed_response_extensions = NULL A list of full type names or extension IDs of extensions allowed in grpc side channel from backend to client. Generated from protobuf field repeated string allowed_response_extensions = 5; |
private $provided = NULL A list of full type names of provided contexts. It is used to support propagating HTTP headers and ETags from the response extension. Generated from protobuf field repeated string provided = 3; |
private $requested = NULL A list of full type names of requested contexts, only the requested context will be made available to the backend. Generated from protobuf field repeated string requested = 2; |