GetAuthorizationPolicyResult constructor

const GetAuthorizationPolicyResult({
  1. required String action,
  2. required String createTime,
  3. required String description,
  4. required Map<String, String> labels,
  5. required String name,
  6. required List<RuleResponse> rules,
  7. required String updateTime,
})

Creates a new GetAuthorizationPolicyResult. action The action to take when a rule match is found. Possible values are "ALLOW" or "DENY". createTime The timestamp when the resource was created. description Optional. Free-text description of the resource. labels Optional. Set of label tags associated with the AuthorizationPolicy resource. name Name of the AuthorizationPolicy resource. It matches pattern projects/{project}/locations/{location}/authorizationPolicies/. rules Optional. List of rules to match. Note that at least one of the rules must match in order for the action specified in the 'action' field to be taken. A rule is a match if there is a matching source and destination. If left blank, the action specified in the action field will be applied on every request. updateTime The timestamp when the resource was updated.

Implementation

const GetAuthorizationPolicyResult({
  required this.action,
  required this.createTime,
  required this.description,
  required this.labels,
  required this.name,
  required this.rules,
  required this.updateTime,
});