MethodPolicyResponse class
Defines policies applying to an RPC method.
Constructors
-
MethodPolicyResponse({required Input<
List< requestPolicies, required Input<FieldPolicyResponse> >String> selector}) -
Creates a new MethodPolicyResponse.
requestPoliciesPolicies that are applicable to the request message.selectorSelects 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 .const -
MethodPolicyResponse.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
requestPolicies
→ Input<
List< FieldPolicyResponse> > -
Policies that are applicable to the request message.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
selector
→ Input<
String> -
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 .
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited