View Source GoogleApi.NetworkSecurity.V1.Model.AuthorizationPolicy (google_api_network_security v0.5.0)
AuthorizationPolicy is a resource that specifies how a server should authorize incoming connections. This resource in itself does not change the configuration unless it's attached to a target https proxy or endpoint config selector resource.
Attributes
-
action
(type:String.t
, default:nil
) - Required. The action to take when a rule match is found. Possible values are "ALLOW" or "DENY". -
createTime
(type:DateTime.t
, default:nil
) - Output only. The timestamp when the resource was created. -
description
(type:String.t
, default:nil
) - Optional. Free-text description of the resource. -
labels
(type:map()
, default:nil
) - Optional. Set of label tags associated with the AuthorizationPolicy resource. -
name
(type:String.t
, default:nil
) - Required. Name of the AuthorizationPolicy resource. It matches patternprojects/{project}/locations/{location}/authorizationPolicies/
. -
rules
(type:list(GoogleApi.NetworkSecurity.V1.Model.Rule.t)
, default:nil
) - 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 theaction
field will be applied on every request. -
updateTime
(type:DateTime.t
, default:nil
) - Output only. The timestamp when the resource was updated.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.NetworkSecurity.V1.Model.AuthorizationPolicy{ action: String.t() | nil, createTime: DateTime.t() | nil, description: String.t() | nil, labels: map() | nil, name: String.t() | nil, rules: [GoogleApi.NetworkSecurity.V1.Model.Rule.t()] | nil, updateTime: DateTime.t() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.