| Package | Description | 
|---|---|
| com.google.api.services.compute | |
| com.google.api.services.compute.model | 
| Modifier and Type | Method and Description | 
|---|---|
| Compute.SecurityPolicies.Insert | Compute.SecurityPolicies. insert(String project,
      SecurityPolicy content)Creates a new policy in the specified project using the data included in the request. | 
| Compute.SecurityPolicies.Patch | Compute.SecurityPolicies. patch(String project,
     String securityPolicy,
     SecurityPolicy content)Patches the specified policy with the data included in the request. | 
| Constructor and Description | 
|---|
| Insert(String project,
      SecurityPolicy content)Creates a new policy in the specified project using the data included in the request. | 
| Patch(String project,
     String securityPolicy,
     SecurityPolicy content)Patches the specified policy with the data included in the request. | 
| Modifier and Type | Method and Description | 
|---|---|
| SecurityPolicy | SecurityPolicy. clone() | 
| SecurityPolicy | SecurityPolicy. encodeFingerprint(byte[] fingerprint)Specifies a fingerprint for this resource, which is essentially a hash of the metadata's
 contents and used for optimistic locking. | 
| SecurityPolicy | SecurityPolicy. set(String fieldName,
   Object value) | 
| SecurityPolicy | SecurityPolicy. setAdvancedOptionsConfig(SecurityPolicyAdvancedOptionsConfig advancedOptionsConfig) | 
| SecurityPolicy | SecurityPolicy. setCreationTimestamp(String creationTimestamp)[Output Only] Creation timestamp in RFC3339 text format. | 
| SecurityPolicy | SecurityPolicy. setDescription(String description)An optional description of this resource. | 
| SecurityPolicy | SecurityPolicy. setFingerprint(String fingerprint)Specifies a fingerprint for this resource, which is essentially a hash of the metadata's
 contents and used for optimistic locking. | 
| SecurityPolicy | SecurityPolicy. setId(BigInteger id)[Output Only] The unique identifier for the resource. | 
| SecurityPolicy | SecurityPolicy. setKind(String kind)[Output only] Type of the resource. | 
| SecurityPolicy | SecurityPolicy. setName(String name)Name of the resource. | 
| SecurityPolicy | SecurityPolicy. setRules(List<SecurityPolicyRule> rules)A list of rules that belong to this policy. | 
| SecurityPolicy | SecurityPolicy. setSelfLink(String selfLink)[Output Only] Server-defined URL for the resource. | 
| Modifier and Type | Method and Description | 
|---|---|
| List<SecurityPolicy> | SecurityPolicyList. getItems()A list of SecurityPolicy resources. | 
| Modifier and Type | Method and Description | 
|---|---|
| SecurityPolicyList | SecurityPolicyList. setItems(List<SecurityPolicy> items)A list of SecurityPolicy resources. | 
Copyright © 2011–2021 Google. All rights reserved.