GetEndpointPolicyResult class
Result data returned by getEndpointPolicy.
Constructors
-
GetEndpointPolicyResult({required String authorizationPolicy, required String clientTlsPolicy, required String createTime, required String description, required EndpointMatcherResponse endpointMatcher, required Map<
String, String> labels, required String name, required String serverTlsPolicy, required TrafficPortSelectorResponse trafficPortSelector, required String type, required String updateTime}) -
Creates a new GetEndpointPolicyResult.
authorizationPolicyOptional. This field specifies the URL of AuthorizationPolicy resource that applies authorization policies to the inbound traffic at the matched endpoints. Refer to Authorization. If this field is not specified, authorization is disabled(no authz checks) for this endpoint.clientTlsPolicyOptional. A URL referring to a ClientTlsPolicy resource. ClientTlsPolicy can be set to specify the authentication for traffic from the proxy to the actual endpoints. More specifically, it is applied to the outgoing traffic from the proxy to the endpoint. This is typically used for sidecar model where the proxy identifies itself as endpoint to the control plane, with the connection between sidecar and endpoint requiring authentication. If this field is not set, authentication is disabled(open). Applicable only when EndpointPolicyType is SIDECAR_PROXY.createTimeThe timestamp when the resource was created.descriptionOptional. A free-text description of the resource. Max length 1024 characters.endpointMatcherA matcher that selects endpoints to which the policies should be applied.labelsOptional. Set of label tags associated with the EndpointPolicy resource.nameName of the EndpointPolicy resource. It matches patternprojects/{project}/locations/global/endpointPolicies/{endpoint_policy}.serverTlsPolicyOptional. A URL referring to ServerTlsPolicy resource. ServerTlsPolicy is used to determine the authentication policy to be applied to terminate the inbound traffic at the identified backends. If this field is not set, authentication is disabled(open) for this endpoint.trafficPortSelectorOptional. Port selector for the (matched) endpoints. If no port selector is provided, the matched config is applied to all ports.typeThe type of endpoint policy. This is primarily used to validate the configuration.updateTimeThe timestamp when the resource was updated.const -
GetEndpointPolicyResult.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
Optional. This field specifies the URL of AuthorizationPolicy resource that applies authorization policies to the inbound traffic at the matched endpoints. Refer to Authorization. If this field is not specified, authorization is disabled(no authz checks) for this endpoint.
final
- clientTlsPolicy → String
-
Optional. A URL referring to a ClientTlsPolicy resource. ClientTlsPolicy can be set to specify the authentication for traffic from the proxy to the actual endpoints. More specifically, it is applied to the outgoing traffic from the proxy to the endpoint. This is typically used for sidecar model where the proxy identifies itself as endpoint to the control plane, with the connection between sidecar and endpoint requiring authentication. If this field is not set, authentication is disabled(open). Applicable only when EndpointPolicyType is SIDECAR_PROXY.
final
- createTime → String
-
The timestamp when the resource was created.
final
- description → String
-
Optional. A free-text description of the resource. Max length 1024 characters.
final
- endpointMatcher → EndpointMatcherResponse
-
A matcher that selects endpoints to which the policies should be applied.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
labels
→ Map<
String, String> -
Optional. Set of label tags associated with the EndpointPolicy resource.
final
- name → String
-
Name of the EndpointPolicy resource. It matches pattern
projects/{project}/locations/global/endpointPolicies/{endpoint_policy}.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- serverTlsPolicy → String
-
Optional. A URL referring to ServerTlsPolicy resource. ServerTlsPolicy is used to determine the authentication policy to be applied to terminate the inbound traffic at the identified backends. If this field is not set, authentication is disabled(open) for this endpoint.
final
- trafficPortSelector → TrafficPortSelectorResponse
-
Optional. Port selector for the (matched) endpoints. If no port selector is provided, the matched config is applied to all ports.
final
- type → String
-
The type of endpoint policy. This is primarily used to validate the configuration.
final
- updateTime → String
-
The timestamp when the resource was updated.
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