MethodPolicy class final
Defines policies applying to an RPC method.
- Inheritance
-
- Object
- ProtoMessage
- MethodPolicy
Constructors
-
MethodPolicy({String selector = '', List<
FieldPolicy> requestPolicies = const []}) -
MethodPolicy.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- qualifiedName → String
-
The fully qualified name of this message, i.e.,
google.protobuf.Durationorgoogle.rpc.ErrorInfo.finalinherited -
requestPolicies
→ List<
FieldPolicy> -
Policies that are applicable to the request message.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selector → String
-
Selects a method to which these policies should be enforced, for example,
"google.pubsub.v1.Subscriber.CreateSubscription".
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Object -
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- fullyQualifiedName → const String