Class AuthorizationPolicy (1.0.0-beta02)

public sealed class AuthorizationPolicy : IMessage<AuthorizationPolicy>, IEquatable<AuthorizationPolicy>, IDeepCloneable<AuthorizationPolicy>, IBufferMessage, IMessage

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.

Inheritance

Object > AuthorizationPolicy

Namespace

Google.Cloud.NetworkSecurity.V1Beta1

Assembly

Google.Cloud.NetworkSecurity.V1Beta1.dll

Constructors

AuthorizationPolicy()

public AuthorizationPolicy()

AuthorizationPolicy(AuthorizationPolicy)

public AuthorizationPolicy(AuthorizationPolicy other)
Parameter
NameDescription
otherAuthorizationPolicy

Properties

Action

public AuthorizationPolicy.Types.Action Action { get; set; }

Required. The action to take when a rule match is found. Possible values are "ALLOW" or "DENY".

Property Value
TypeDescription
AuthorizationPolicy.Types.Action

AuthorizationPolicyName

public AuthorizationPolicyName AuthorizationPolicyName { get; set; }

AuthorizationPolicyName-typed view over the Name resource name property.

Property Value
TypeDescription
AuthorizationPolicyName

CreateTime

public Timestamp CreateTime { get; set; }

Output only. The timestamp when the resource was created.

Property Value
TypeDescription
Timestamp

Description

public string Description { get; set; }

Optional. Free-text description of the resource.

Property Value
TypeDescription
String

Labels

public MapField<string, string> Labels { get; }

Optional. Set of label tags associated with the AuthorizationPolicy resource.

Property Value
TypeDescription
MapField<String, String>

Name

public string Name { get; set; }

Required. Name of the AuthorizationPolicy resource. It matches pattern projects/{project}/locations/{location}/authorizationPolicies/&lt;authorization_policy>.

Property Value
TypeDescription
String

Rules

public RepeatedField<AuthorizationPolicy.Types.Rule> Rules { get; }

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.

Property Value
TypeDescription
RepeatedField<AuthorizationPolicy.Types.Rule>

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. The timestamp when the resource was updated.

Property Value
TypeDescription
Timestamp