@Generated(value="by GAPIC") @BetaApi public final class SecurityPolicy extends Object implements com.google.api.gax.httpjson.ApiMessage
Modifier and Type | Class and Description |
---|---|
static class |
SecurityPolicy.Builder |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
com.google.api.gax.httpjson.ApiMessage |
getApiMessageRequestBody() |
String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
static SecurityPolicy |
getDefaultInstance() |
String |
getDescription()
An optional description of this resource.
|
List<String> |
getFieldMask() |
Object |
getFieldValue(String fieldName) |
String |
getFingerprint()
Specifies a fingerprint for this resource, which is essentially a hash of the metadata's
contents and used for optimistic locking.
|
String |
getId()
[Output Only] The unique identifier for the resource.
|
String |
getKind()
[Output only] Type of the resource.
|
String |
getName()
Name of the resource.
|
List<SecurityPolicyRule> |
getRulesList()
A list of rules that belong to this policy.
|
String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
int |
hashCode() |
static SecurityPolicy.Builder |
newBuilder() |
static SecurityPolicy.Builder |
newBuilder(SecurityPolicy prototype) |
SecurityPolicy.Builder |
toBuilder() |
String |
toString() |
public Object getFieldValue(String fieldName)
getFieldValue
in interface com.google.api.gax.httpjson.ApiMessage
@Nullable public com.google.api.gax.httpjson.ApiMessage getApiMessageRequestBody()
getApiMessageRequestBody
in interface com.google.api.gax.httpjson.ApiMessage
@Nullable public List<String> getFieldMask()
getFieldMask
in interface com.google.api.gax.httpjson.ApiMessage
public String getCreationTimestamp()
public String getDescription()
public String getFingerprint()
To see the latest fingerprint, make get() request to the security policy.
public String getId()
public String getKind()
public String getName()
public List<SecurityPolicyRule> getRulesList()
public String getSelfLink()
public static SecurityPolicy.Builder newBuilder()
public static SecurityPolicy.Builder newBuilder(SecurityPolicy prototype)
public SecurityPolicy.Builder toBuilder()
public static SecurityPolicy getDefaultInstance()
Copyright © 2019 Google LLC. All rights reserved.