@Generated(value="by GAPIC") @BetaApi public final class License extends Object implements ApiMessage
Modifier and Type | Class and Description |
---|---|
static class |
License.Builder |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
ApiMessage |
getApiMessageRequestBody() |
Boolean |
getChargesUseFee()
[Output Only] Deprecated.
|
String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
static License |
getDefaultInstance() |
String |
getDescription()
An optional textual description of the resource; provided by the client when the resource is
created.
|
List<String> |
getFieldMask() |
Object |
getFieldValue(String fieldName) |
String |
getId()
[Output Only] The unique identifier for the resource.
|
String |
getKind()
[Output Only] Type of resource.
|
String |
getLicenseCode()
[Output Only] The unique code used to attach this license to images, snapshots, and disks.
|
String |
getName()
Name of the resource.
|
LicenseResourceRequirements |
getResourceRequirements() |
String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
Boolean |
getTransferable()
If false, licenses will not be copied from the source resource when creating an image from a
disk, disk from snapshot, or snapshot from disk.
|
int |
hashCode() |
static License.Builder |
newBuilder() |
static License.Builder |
newBuilder(License prototype) |
License.Builder |
toBuilder() |
String |
toString() |
public Object getFieldValue(String fieldName)
getFieldValue
in interface ApiMessage
@Nullable public ApiMessage getApiMessageRequestBody()
getApiMessageRequestBody
in interface ApiMessage
@Nullable public List<String> getFieldMask()
getFieldMask
in interface ApiMessage
public Boolean getChargesUseFee()
public String getCreationTimestamp()
public String getDescription()
public String getId()
public String getKind()
public String getLicenseCode()
public String getName()
public LicenseResourceRequirements getResourceRequirements()
public String getSelfLink()
public Boolean getTransferable()
public static License.Builder newBuilder()
public static License.Builder newBuilder(License prototype)
public License.Builder toBuilder()
public static License getDefaultInstance()
Copyright © 2019 Google LLC. All rights reserved.