Network Security v1beta1 API - Class AuthorizationPolicy (2.0.0-beta05)

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

Reference documentation and code samples for the Network Security v1beta1 API class AuthorizationPolicy.

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
Name Description
other AuthorizationPolicy

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
Type Description
AuthorizationPolicyTypesAction

AuthorizationPolicyName

public AuthorizationPolicyName AuthorizationPolicyName { get; set; }

AuthorizationPolicyName-typed view over the Name resource name property.

Property Value
Type Description
AuthorizationPolicyName

CreateTime

public Timestamp CreateTime { get; set; }

Output only. The timestamp when the resource was created.

Property Value
Type Description
Timestamp

Description

public string Description { get; set; }

Optional. Free-text description of the resource.

Property Value
Type Description
string

Labels

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

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

Property Value
Type Description
MapFieldstringstring

Name

public string Name { get; set; }

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

Property Value
Type Description
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
Type Description
RepeatedFieldAuthorizationPolicyTypesRule

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. The timestamp when the resource was updated.

Property Value
Type Description
Timestamp