Class MethodPolicy
Defines policies applying to an RPC method.
Implements
Inherited Members
Namespace: Google.Apis.ServiceUsage.v1beta1.Data
Assembly: Google.Apis.ServiceUsage.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 |