public final class Environment
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 |
---|
Environment() |
Modifier and Type | Method and Description |
---|---|
Environment |
clone() |
EnvironmentConfig |
getConfig()
Configuration parameters for this environment.
|
java.lang.String |
getCreateTime()
Output only.
|
java.util.Map<java.lang.String,java.lang.String> |
getLabels()
Optional.
|
java.lang.String |
getName()
The resource name of the environment, in the form:
"projects/{projectId}/locations/{locationId}/environments/{environmentId}"
EnvironmentId must start with a lowercase letter followed by up to 63 lowercase letters,
numbers, or hyphens, and cannot end with a hyphen.
|
java.lang.String |
getState()
The current state of the environment.
|
java.lang.String |
getUpdateTime()
Output only.
|
java.lang.String |
getUuid()
Output only.
|
Environment |
set(java.lang.String fieldName,
java.lang.Object value) |
Environment |
setConfig(EnvironmentConfig config)
Configuration parameters for this environment.
|
Environment |
setCreateTime(java.lang.String createTime)
Output only.
|
Environment |
setLabels(java.util.Map<java.lang.String,java.lang.String> labels)
Optional.
|
Environment |
setName(java.lang.String name)
The resource name of the environment, in the form:
"projects/{projectId}/locations/{locationId}/environments/{environmentId}"
EnvironmentId must start with a lowercase letter followed by up to 63 lowercase letters,
numbers, or hyphens, and cannot end with a hyphen.
|
Environment |
setState(java.lang.String state)
The current state of the environment.
|
Environment |
setUpdateTime(java.lang.String updateTime)
Output only.
|
Environment |
setUuid(java.lang.String uuid)
Output only.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public EnvironmentConfig getConfig()
null
for nonepublic Environment setConfig(EnvironmentConfig config)
config
- config or null
for nonepublic java.lang.String getCreateTime()
null
for nonepublic Environment setCreateTime(java.lang.String createTime)
createTime
- createTime or null
for nonepublic java.util.Map<java.lang.String,java.lang.String> getLabels()
null
for nonepublic Environment setLabels(java.util.Map<java.lang.String,java.lang.String> labels)
labels
- labels or null
for nonepublic java.lang.String getName()
null
for nonepublic Environment setName(java.lang.String name)
name
- name or null
for nonepublic java.lang.String getState()
null
for nonepublic Environment setState(java.lang.String state)
state
- state or null
for nonepublic java.lang.String getUpdateTime()
null
for nonepublic Environment setUpdateTime(java.lang.String updateTime)
updateTime
- updateTime or null
for nonepublic java.lang.String getUuid()
null
for nonepublic Environment setUuid(java.lang.String uuid)
uuid
- uuid or null
for nonepublic Environment set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public Environment clone()
clone
in class com.google.api.client.json.GenericJson