EndpointPolicy class
EndpointPolicy is a resource that helps apply desired configuration on the endpoints that match specific criteria.
For example, this resource can be used to apply "authentication config" an all endpoints that serve on port 8080.
Constructors
-
EndpointPolicy({String? authorizationPolicy, String? clientTlsPolicy, String? createTime, String? description, EndpointMatcher? endpointMatcher, Map<
String, String> ? labels, String? name, String? serverTlsPolicy, TrafficPortSelector? trafficPortSelector, String? type, String? updateTime}) - EndpointPolicy.fromJson(Map json_)
Properties
-
This field specifies the URL of AuthorizationPolicy resource that applies
authorization policies to the inbound traffic at the matched endpoints.
getter/setter pair
- clientTlsPolicy ↔ String?
-
A URL referring to a ClientTlsPolicy resource.
getter/setter pair
- createTime ↔ String?
-
The timestamp when the resource was created.
getter/setter pair
- description ↔ String?
-
A free-text description of the resource.
getter/setter pair
- endpointMatcher ↔ EndpointMatcher?
-
A matcher that selects endpoints to which the policies should be applied.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
labels
↔ Map<
String, String> ? -
Set of label tags associated with the EndpointPolicy resource.
getter/setter pair
- name ↔ String?
-
Name of the EndpointPolicy resource.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- serverTlsPolicy ↔ String?
-
A URL referring to ServerTlsPolicy resource.
getter/setter pair
- trafficPortSelector ↔ TrafficPortSelector?
-
Port selector for the (matched) endpoints.
getter/setter pair
- type ↔ String?
-
The type of endpoint policy.
getter/setter pair
- updateTime ↔ String?
-
The timestamp when the resource was updated.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited