Compute Engine v1 API - Class SecurityPolicyAssociation (3.18.0)

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

Inheritance

object > SecurityPolicyAssociation

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

SecurityPolicyAssociation()

public SecurityPolicyAssociation()

SecurityPolicyAssociation(SecurityPolicyAssociation)

public SecurityPolicyAssociation(SecurityPolicyAssociation other)
Parameter
Name Description
other SecurityPolicyAssociation

Properties

AttachmentId

public string AttachmentId { get; set; }

The resource that the security policy is attached to.

Property Value
Type Description
string

DisplayName

public string DisplayName { get; set; }

[Output Only] The display name of the security policy of the association.

Property Value
Type Description
string

ExcludedFolders

public RepeatedField<string> ExcludedFolders { get; }

A list of folders to exclude from the security policy.

Property Value
Type Description
RepeatedFieldstring

ExcludedProjects

public RepeatedField<string> ExcludedProjects { get; }

A list of projects to exclude from the security policy.

Property Value
Type Description
RepeatedFieldstring

HasAttachmentId

public bool HasAttachmentId { get; }

Gets whether the "attachment_id" field is set

Property Value
Type Description
bool

HasDisplayName

public bool HasDisplayName { get; }

Gets whether the "display_name" field is set

Property Value
Type Description
bool

HasName

public bool HasName { get; }

Gets whether the "name" field is set

Property Value
Type Description
bool

HasSecurityPolicyId

public bool HasSecurityPolicyId { get; }

Gets whether the "security_policy_id" field is set

Property Value
Type Description
bool

HasShortName

public bool HasShortName { get; }

Gets whether the "short_name" field is set

Property Value
Type Description
bool

Name

public string Name { get; set; }

The name for an association.

Property Value
Type Description
string

SecurityPolicyId

public string SecurityPolicyId { get; set; }

[Output Only] The security policy ID of the association.

Property Value
Type Description
string

ShortName

public string ShortName { get; set; }

[Output Only] The short name of the security policy of the association.

Property Value
Type Description
string