Policy class Null safety

A policy for container image binary authorization.


Policy({List<AdmissionWhitelistPattern>? admissionWhitelistPatterns, Map<String, AdmissionRule>? clusterAdmissionRules, AdmissionRule? defaultAdmissionRule, String? description, String? globalPolicyEvaluationMode, Map<String, AdmissionRule>? istioServiceIdentityAdmissionRules, Map<String, AdmissionRule>? kubernetesNamespaceAdmissionRules, Map<String, AdmissionRule>? kubernetesServiceAccountAdmissionRules, String? name, String? updateTime})
Policy.fromJson(Map _json)


admissionWhitelistPatterns List<AdmissionWhitelistPattern>?
Admission policy allowlisting. [...]
read / write
clusterAdmissionRules Map<String, AdmissionRule>?
Per-cluster admission rules. [...]
read / write
defaultAdmissionRule AdmissionRule?
Default admission rule for a cluster without a per-cluster, per- kubernetes-service-account, or per-istio-service-identity admission rule. [...]
read / write
description String?
A descriptive comment. [...]
read / write
globalPolicyEvaluationMode String?
Controls the evaluation of a Google-maintained global admission policy for common system-level images. [...]
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
istioServiceIdentityAdmissionRules Map<String, AdmissionRule>?
Per-istio-service-identity admission rules. [...]
read / write
kubernetesNamespaceAdmissionRules Map<String, AdmissionRule>?
Per-kubernetes-namespace admission rules. [...]
read / write
kubernetesServiceAccountAdmissionRules Map<String, AdmissionRule>?
Per-kubernetes-service-account admission rules. [...]
read / write
name String?
The resource name, in the format projects / * /policy. [...]
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
updateTime String?
Time when the policy was last updated. [...]
read / write


noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
toJson() Map<String, dynamic>
toString() String
A string representation of this object. [...]


operator ==(Object other) bool
The equality operator. [...]