Show / Hide Table of Contents

Class ContextRule

A context rule provides information about the context for an individual API element.

Inheritance
System.Object
ContextRule
Implements
IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.ServiceUsage.v1.Data
Assembly: Google.Apis.ServiceUsage.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
System.Collections.Generic.IList<System.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
System.Collections.Generic.IList<System.String>

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
System.String

Provided

A list of full type names of provided contexts.

Declaration
[JsonProperty("provided")]
public virtual IList<string> Provided { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<System.String>

Requested

A list of full type names of requested contexts.

Declaration
[JsonProperty("requested")]
public virtual IList<string> Requested { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<System.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
System.String

Implements

IDirectResponseSchema
In This Article
Back to top