MethodPolicyResponse constructor

const MethodPolicyResponse({
  1. required Input<List<FieldPolicyResponse>> requestPolicies,
  2. required Input<String> selector,
})

Creates a new MethodPolicyResponse. requestPolicies Policies that are applicable to the request message. 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 .

Implementation

const MethodPolicyResponse({
  required this.requestPolicies,
  required this.selector,
});