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.
Implements
IMessage<AuthorizationPolicy>, IEquatable<AuthorizationPolicy>, IDeepCloneable<AuthorizationPolicy>, IBufferMessage, IMessageNamespace
Google.Cloud.NetworkSecurity.V1Beta1Assembly
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 |
AuthorizationPolicy.Types.Action |
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 |
MapField<String, String> |
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 |
RepeatedField<AuthorizationPolicy.Types.Rule> |
UpdateTime
public Timestamp UpdateTime { get; set; }
Output only. The timestamp when the resource was updated.
Property Value | |
---|---|
Type | Description |
Timestamp |