public final class SecurityPolicyAssociation
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Compute Engine API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
SecurityPolicyAssociation() |
Modifier and Type | Method and Description |
---|---|
SecurityPolicyAssociation |
clone() |
String |
getAttachmentId()
The resource that the security policy is attached to.
|
String |
getDisplayName()
[Output Only] The display name of the security policy of the association.
|
List<String> |
getExcludedFolders()
A list of folders to exclude from the security policy.
|
List<String> |
getExcludedProjects()
A list of projects to exclude from the security policy.
|
String |
getName()
The name for an association.
|
String |
getSecurityPolicyId()
[Output Only] The security policy ID of the association.
|
String |
getShortName()
[Output Only] The short name of the security policy of the association.
|
SecurityPolicyAssociation |
set(String fieldName,
Object value) |
SecurityPolicyAssociation |
setAttachmentId(String attachmentId)
The resource that the security policy is attached to.
|
SecurityPolicyAssociation |
setDisplayName(String displayName)
[Output Only] The display name of the security policy of the association.
|
SecurityPolicyAssociation |
setExcludedFolders(List<String> excludedFolders)
A list of folders to exclude from the security policy.
|
SecurityPolicyAssociation |
setExcludedProjects(List<String> excludedProjects)
A list of projects to exclude from the security policy.
|
SecurityPolicyAssociation |
setName(String name)
The name for an association.
|
SecurityPolicyAssociation |
setSecurityPolicyId(String securityPolicyId)
[Output Only] The security policy ID of the association.
|
SecurityPolicyAssociation |
setShortName(String shortName)
[Output Only] The short name of the security policy of the association.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getAttachmentId()
null
for nonepublic SecurityPolicyAssociation setAttachmentId(String attachmentId)
attachmentId
- attachmentId or null
for nonepublic String getDisplayName()
null
for nonepublic SecurityPolicyAssociation setDisplayName(String displayName)
displayName
- displayName or null
for nonepublic List<String> getExcludedFolders()
null
for nonepublic SecurityPolicyAssociation setExcludedFolders(List<String> excludedFolders)
excludedFolders
- excludedFolders or null
for nonepublic List<String> getExcludedProjects()
null
for nonepublic SecurityPolicyAssociation setExcludedProjects(List<String> excludedProjects)
excludedProjects
- excludedProjects or null
for nonepublic String getName()
null
for nonepublic SecurityPolicyAssociation setName(String name)
name
- name or null
for nonepublic String getSecurityPolicyId()
null
for nonepublic SecurityPolicyAssociation setSecurityPolicyId(String securityPolicyId)
securityPolicyId
- securityPolicyId or null
for nonepublic String getShortName()
null
for nonepublic SecurityPolicyAssociation setShortName(String shortName)
shortName
- shortName or null
for nonepublic SecurityPolicyAssociation set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public SecurityPolicyAssociation clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.