public final class License
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| Constructor and Description |
|---|
License() |
| Modifier and Type | Method and Description |
|---|---|
License |
clone() |
java.lang.Boolean |
getChargesUseFee()
[Output Only] Deprecated.
|
java.lang.String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
java.lang.String |
getDescription()
An optional textual description of the resource; provided by the client when the resource is
created.
|
java.math.BigInteger |
getId()
[Output Only] The unique identifier for the resource.
|
java.lang.String |
getKind()
[Output Only] Type of resource.
|
java.math.BigInteger |
getLicenseCode()
[Output Only] The unique code used to attach this license to images, snapshots, and disks.
|
java.lang.String |
getName()
Name of the resource.
|
LicenseResourceRequirements |
getResourceRequirements() |
java.lang.String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
java.lang.String |
getSelfLinkWithId()
[Output Only] Server-defined URL for this resource with the resource id.
|
java.lang.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.
|
License |
set(java.lang.String fieldName,
java.lang.Object value) |
License |
setChargesUseFee(java.lang.Boolean chargesUseFee)
[Output Only] Deprecated.
|
License |
setCreationTimestamp(java.lang.String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format.
|
License |
setDescription(java.lang.String description)
An optional textual description of the resource; provided by the client when the resource is
created.
|
License |
setId(java.math.BigInteger id)
[Output Only] The unique identifier for the resource.
|
License |
setKind(java.lang.String kind)
[Output Only] Type of resource.
|
License |
setLicenseCode(java.math.BigInteger licenseCode)
[Output Only] The unique code used to attach this license to images, snapshots, and disks.
|
License |
setName(java.lang.String name)
Name of the resource.
|
License |
setResourceRequirements(LicenseResourceRequirements resourceRequirements) |
License |
setSelfLink(java.lang.String selfLink)
[Output Only] Server-defined URL for the resource.
|
License |
setSelfLinkWithId(java.lang.String selfLinkWithId)
[Output Only] Server-defined URL for this resource with the resource id.
|
License |
setTransferable(java.lang.Boolean transferable)
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.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.lang.Boolean getChargesUseFee()
null for nonepublic License setChargesUseFee(java.lang.Boolean chargesUseFee)
chargesUseFee - chargesUseFee or null for nonepublic java.lang.String getCreationTimestamp()
null for nonepublic License setCreationTimestamp(java.lang.String creationTimestamp)
creationTimestamp - creationTimestamp or null for nonepublic java.lang.String getDescription()
null for nonepublic License setDescription(java.lang.String description)
description - description or null for nonepublic java.math.BigInteger getId()
null for nonepublic License setId(java.math.BigInteger id)
id - id or null for nonepublic java.lang.String getKind()
null for nonepublic License setKind(java.lang.String kind)
kind - kind or null for nonepublic java.math.BigInteger getLicenseCode()
null for nonepublic License setLicenseCode(java.math.BigInteger licenseCode)
licenseCode - licenseCode or null for nonepublic java.lang.String getName()
null for nonepublic License setName(java.lang.String name)
name - name or null for nonepublic LicenseResourceRequirements getResourceRequirements()
null for nonepublic License setResourceRequirements(LicenseResourceRequirements resourceRequirements)
resourceRequirements - resourceRequirements or null for nonepublic java.lang.String getSelfLink()
null for nonepublic License setSelfLink(java.lang.String selfLink)
selfLink - selfLink or null for nonepublic java.lang.String getSelfLinkWithId()
null for nonepublic License setSelfLinkWithId(java.lang.String selfLinkWithId)
selfLinkWithId - selfLinkWithId or null for nonepublic java.lang.Boolean getTransferable()
null for nonepublic License setTransferable(java.lang.Boolean transferable)
transferable - transferable or null for nonepublic License set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic License clone()
clone in class com.google.api.client.json.GenericJson