Reference documentation and code samples for the Compute V1 Client class SecurityPolicyAssociation.
Generated from protobuf message google.cloud.compute.v1.SecurityPolicyAssociation
Namespace
Google \ Cloud \ Compute \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ attachment_id
string
The resource that the security policy is attached to.
↳ display_name
string
[Output Only] The display name of the security policy of the association.
↳ excluded_folders
array
A list of folders to exclude from the security policy.
↳ excluded_projects
array
A list of projects to exclude from the security policy.
↳ name
string
The name for an association.
↳ security_policy_id
string
[Output Only] The security policy ID of the association.
↳ short_name
string
[Output Only] The short name of the security policy of the association.
getAttachmentId
The resource that the security policy is attached to.
string
hasAttachmentId
clearAttachmentId
setAttachmentId
The resource that the security policy is attached to.
var
string
$this
getDisplayName
[Output Only] The display name of the security policy of the association.
string
hasDisplayName
clearDisplayName
setDisplayName
[Output Only] The display name of the security policy of the association.
var
string
$this
getExcludedFolders
A list of folders to exclude from the security policy.
setExcludedFolders
A list of folders to exclude from the security policy.
var
string[]
$this
getExcludedProjects
A list of projects to exclude from the security policy.
setExcludedProjects
A list of projects to exclude from the security policy.
var
string[]
$this
getName
The name for an association.
string
hasName
clearName
setName
The name for an association.
var
string
$this
getSecurityPolicyId
[Output Only] The security policy ID of the association.
string
hasSecurityPolicyId
clearSecurityPolicyId
setSecurityPolicyId
[Output Only] The security policy ID of the association.
var
string
$this
getShortName
[Output Only] The short name of the security policy of the association.
string
hasShortName
clearShortName
setShortName
[Output Only] The short name of the security policy of the association.
var
string
$this

