public final class Asset
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 Google Maps 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 |
|---|
Asset() |
| Modifier and Type | Method and Description |
|---|---|
Asset |
clone() |
java.util.List<java.lang.Double> |
getBbox()
A rectangular bounding box which contains all of the data in this asset.
|
com.google.api.client.util.DateTime |
getCreationTime()
The creation time of this asset.
|
java.lang.String |
getCreatorEmail()
The email address of the creator of this asset.
|
java.lang.String |
getDescription()
The asset's description.
|
java.lang.String |
getEtag()
The ETag, used to refer to the current version of the asset.
|
java.lang.String |
getId()
The asset's globally unique ID.
|
com.google.api.client.util.DateTime |
getLastModifiedTime()
The last modified time of this asset.
|
java.lang.String |
getLastModifierEmail()
The email address of the last modifier of this asset.
|
java.lang.String |
getName()
The asset's name.
|
java.lang.String |
getProjectId()
The ID of the project to which the asset belongs.
|
java.lang.String |
getResource()
The URL to query to retrieve the asset's complete object.
|
java.util.List<java.lang.String> |
getTags()
An array of text strings, with each string representing a tag.
|
java.lang.String |
getType()
The type of asset.
|
java.lang.Boolean |
getWritersCanEditPermissions()
If true, WRITERs of the asset are able to edit the asset permissions.
|
Asset |
set(java.lang.String fieldName,
java.lang.Object value) |
Asset |
setBbox(java.util.List<java.lang.Double> bbox)
A rectangular bounding box which contains all of the data in this asset.
|
Asset |
setCreationTime(com.google.api.client.util.DateTime creationTime)
The creation time of this asset.
|
Asset |
setCreatorEmail(java.lang.String creatorEmail)
The email address of the creator of this asset.
|
Asset |
setDescription(java.lang.String description)
The asset's description.
|
Asset |
setEtag(java.lang.String etag)
The ETag, used to refer to the current version of the asset.
|
Asset |
setId(java.lang.String id)
The asset's globally unique ID.
|
Asset |
setLastModifiedTime(com.google.api.client.util.DateTime lastModifiedTime)
The last modified time of this asset.
|
Asset |
setLastModifierEmail(java.lang.String lastModifierEmail)
The email address of the last modifier of this asset.
|
Asset |
setName(java.lang.String name)
The asset's name.
|
Asset |
setProjectId(java.lang.String projectId)
The ID of the project to which the asset belongs.
|
Asset |
setResource(java.lang.String resource)
The URL to query to retrieve the asset's complete object.
|
Asset |
setTags(java.util.List<java.lang.String> tags)
An array of text strings, with each string representing a tag.
|
Asset |
setType(java.lang.String type)
The type of asset.
|
Asset |
setWritersCanEditPermissions(java.lang.Boolean writersCanEditPermissions)
If true, WRITERs of the asset are able to edit the asset permissions.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.util.List<java.lang.Double> getBbox()
null for nonepublic Asset setBbox(java.util.List<java.lang.Double> bbox)
bbox - bbox or null for nonepublic com.google.api.client.util.DateTime getCreationTime()
null for nonepublic Asset setCreationTime(com.google.api.client.util.DateTime creationTime)
creationTime - creationTime or null for nonepublic java.lang.String getCreatorEmail()
null for nonepublic Asset setCreatorEmail(java.lang.String creatorEmail)
creatorEmail - creatorEmail or null for nonepublic java.lang.String getDescription()
null for nonepublic Asset setDescription(java.lang.String description)
description - description or null for nonepublic java.lang.String getEtag()
null for nonepublic Asset setEtag(java.lang.String etag)
etag - etag or null for nonepublic java.lang.String getId()
null for nonepublic Asset setId(java.lang.String id)
id - id or null for nonepublic com.google.api.client.util.DateTime getLastModifiedTime()
null for nonepublic Asset setLastModifiedTime(com.google.api.client.util.DateTime lastModifiedTime)
lastModifiedTime - lastModifiedTime or null for nonepublic java.lang.String getLastModifierEmail()
null for nonepublic Asset setLastModifierEmail(java.lang.String lastModifierEmail)
lastModifierEmail - lastModifierEmail or null for nonepublic java.lang.String getName()
null for nonepublic Asset setName(java.lang.String name)
name - name or null for nonepublic java.lang.String getProjectId()
null for nonepublic Asset setProjectId(java.lang.String projectId)
projectId - projectId or null for nonepublic java.lang.String getResource()
null for nonepublic Asset setResource(java.lang.String resource)
resource - resource or null for nonepublic java.util.List<java.lang.String> getTags()
null for nonepublic Asset setTags(java.util.List<java.lang.String> tags)
tags - tags or null for nonepublic java.lang.String getType()
null for nonepublic Asset setType(java.lang.String type)
type - type or null for nonepublic java.lang.Boolean getWritersCanEditPermissions()
null for nonepublic Asset setWritersCanEditPermissions(java.lang.Boolean writersCanEditPermissions)
writersCanEditPermissions - writersCanEditPermissions or null for nonepublic Asset set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic Asset clone()
clone in class com.google.api.client.json.GenericJson