public final class ImageVersion
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 Composer 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 |
---|
ImageVersion() |
Modifier and Type | Method and Description |
---|---|
ImageVersion |
clone() |
java.lang.String |
getImageVersionId()
The string identifier of the ImageVersion, in the form: "composer-x.y.z-airflow-a.b(.c)"
|
java.lang.Boolean |
getIsDefault()
Whether this is the default ImageVersion used by Composer during environment creation if no
input ImageVersion is specified.
|
java.util.List<java.lang.String> |
getSupportedPythonVersions()
supported python versions
|
ImageVersion |
set(java.lang.String fieldName,
java.lang.Object value) |
ImageVersion |
setImageVersionId(java.lang.String imageVersionId)
The string identifier of the ImageVersion, in the form: "composer-x.y.z-airflow-a.b(.c)"
|
ImageVersion |
setIsDefault(java.lang.Boolean isDefault)
Whether this is the default ImageVersion used by Composer during environment creation if no
input ImageVersion is specified.
|
ImageVersion |
setSupportedPythonVersions(java.util.List<java.lang.String> supportedPythonVersions)
supported python versions
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getImageVersionId()
null
for nonepublic ImageVersion setImageVersionId(java.lang.String imageVersionId)
imageVersionId
- imageVersionId or null
for nonepublic java.lang.Boolean getIsDefault()
null
for nonepublic ImageVersion setIsDefault(java.lang.Boolean isDefault)
isDefault
- isDefault or null
for nonepublic java.util.List<java.lang.String> getSupportedPythonVersions()
null
for nonepublic ImageVersion setSupportedPythonVersions(java.util.List<java.lang.String> supportedPythonVersions)
supportedPythonVersions
- supportedPythonVersions or null
for nonepublic ImageVersion set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public ImageVersion clone()
clone
in class com.google.api.client.json.GenericJson