@Generated(value="by GAPIC") @BetaApi public final class ResourcePolicy extends Object implements com.google.api.gax.httpjson.ApiMessage
Modifier and Type | Class and Description |
---|---|
static class |
ResourcePolicy.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 ResourcePolicy |
getDefaultInstance() |
String |
getDescription() |
List<String> |
getFieldMask() |
Object |
getFieldValue(String fieldName) |
String |
getId()
[Output Only] The unique identifier for the resource.
|
String |
getKind()
[Output Only] Type of the resource.
|
String |
getName()
The name of the resource, provided by the client when initially creating the resource.
|
String |
getRegion() |
String |
getSelfLink()
[Output Only] Server-defined fully-qualified URL for this resource.
|
ResourcePolicySnapshotSchedulePolicy |
getSnapshotSchedulePolicy()
Resource policy for persistent disks for creating snapshots.
|
String |
getStatus()
[Output Only] The status of resource policy creation.
|
int |
hashCode() |
static ResourcePolicy.Builder |
newBuilder() |
static ResourcePolicy.Builder |
newBuilder(ResourcePolicy prototype) |
ResourcePolicy.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 getId()
public String getKind()
public String getName()
public String getRegion()
public String getSelfLink()
public ResourcePolicySnapshotSchedulePolicy getSnapshotSchedulePolicy()
public String getStatus()
public static ResourcePolicy.Builder newBuilder()
public static ResourcePolicy.Builder newBuilder(ResourcePolicy prototype)
public ResourcePolicy.Builder toBuilder()
public static ResourcePolicy getDefaultInstance()
Copyright © 2019 Google LLC. All rights reserved.