Show / Hide Table of Contents

Class MethodPolicy

Defines policies applying to an RPC method.

Inheritance
object
MethodPolicy
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.ServiceConsumerManagement.v1beta1.Data
Assembly: Google.Apis.ServiceConsumerManagement.v1beta1.dll
Syntax
public class MethodPolicy : IDirectResponseSchema

Properties

ETag

The ETag of the item.

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

RequestPolicies

Policies that are applicable to the request message.

Declaration
[JsonProperty("requestPolicies")]
public virtual IList<FieldPolicy> RequestPolicies { get; set; }
Property Value
Type Description
IList<FieldPolicy>

Selector

Selects a method to which these policies should be enforced, for example, "google.pubsub.v1.Subscriber.CreateSubscription". Refer to selector for syntax details. NOTE: This field must not be set in the proto annotation. It will be automatically filled by the service config compiler .

Declaration
[JsonProperty("selector")]
public virtual string Selector { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX