Class ContextRule
A context rule provides information about the context for an individual API element.
Implements
Inherited Members
Namespace: Google.Apis.ServiceConsumerManagement.v1.Data
Assembly: Google.Apis.ServiceConsumerManagement.v1.dll
Syntax
public class ContextRule : IDirectResponseSchema
Properties
AllowedRequestExtensions
A list of full type names or extension IDs of extensions allowed in grpc side channel from client to backend.
Declaration
[JsonProperty("allowedRequestExtensions")]
public virtual IList<string> AllowedRequestExtensions { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
AllowedResponseExtensions
A list of full type names or extension IDs of extensions allowed in grpc side channel from backend to client.
Declaration
[JsonProperty("allowedResponseExtensions")]
public virtual IList<string> AllowedResponseExtensions { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Provided
A list of full type names of provided contexts. It is used to support propagating HTTP headers and ETags from the response extension.
Declaration
[JsonProperty("provided")]
public virtual IList<string> Provided { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
Requested
A list of full type names of requested contexts, only the requested context will be made available to the backend.
Declaration
[JsonProperty("requested")]
public virtual IList<string> Requested { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
Selector
Selects the methods to which this rule applies. Refer to selector for syntax details.
Declaration
[JsonProperty("selector")]
public virtual string Selector { get; set; }
Property Value
Type | Description |
---|---|
string |