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 Cloud Asset 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.lang.String |
getAssetType()
Type of the asset.
|
Policy |
getIamPolicy()
Representation of the actual Cloud IAM policy set on a cloud resource.
|
java.lang.String |
getName()
The full name of the asset.
|
Resource |
getResource()
Representation of the resource.
|
Asset |
set(java.lang.String fieldName,
java.lang.Object value) |
Asset |
setAssetType(java.lang.String assetType)
Type of the asset.
|
Asset |
setIamPolicy(Policy iamPolicy)
Representation of the actual Cloud IAM policy set on a cloud resource.
|
Asset |
setName(java.lang.String name)
The full name of the asset.
|
Asset |
setResource(Resource resource)
Representation of the resource.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.lang.String getAssetType()
null for nonepublic Asset setAssetType(java.lang.String assetType)
assetType - assetType or null for nonepublic Policy getIamPolicy()
null for nonepublic Asset setIamPolicy(Policy iamPolicy)
iamPolicy - iamPolicy or null for nonepublic java.lang.String getName()
null for nonepublic Asset setName(java.lang.String name)
name - name or null for nonepublic Resource getResource()
null for nonepublic Asset setResource(Resource resource)
resource - resource 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