public final class GatewayConfig
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 IoT 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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
GatewayConfig() |
| Modifier and Type | Method and Description |
|---|---|
GatewayConfig |
clone() |
String |
getGatewayAuthMethod()
Indicates how to authorize and/or authenticate devices to access the gateway.
|
String |
getGatewayType()
Indicates whether the device is a gateway.
|
String |
getLastAccessedGatewayId()
[Output only] The ID of the gateway the device accessed most recently.
|
String |
getLastAccessedGatewayTime()
[Output only] The most recent time at which the device accessed the gateway specified in
`last_accessed_gateway`.
|
GatewayConfig |
set(String fieldName,
Object value) |
GatewayConfig |
setGatewayAuthMethod(String gatewayAuthMethod)
Indicates how to authorize and/or authenticate devices to access the gateway.
|
GatewayConfig |
setGatewayType(String gatewayType)
Indicates whether the device is a gateway.
|
GatewayConfig |
setLastAccessedGatewayId(String lastAccessedGatewayId)
[Output only] The ID of the gateway the device accessed most recently.
|
GatewayConfig |
setLastAccessedGatewayTime(String lastAccessedGatewayTime)
[Output only] The most recent time at which the device accessed the gateway specified in
`last_accessed_gateway`.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getGatewayAuthMethod()
null for nonepublic GatewayConfig setGatewayAuthMethod(String gatewayAuthMethod)
gatewayAuthMethod - gatewayAuthMethod or null for nonepublic String getGatewayType()
null for nonepublic GatewayConfig setGatewayType(String gatewayType)
gatewayType - gatewayType or null for nonepublic String getLastAccessedGatewayId()
null for nonepublic GatewayConfig setLastAccessedGatewayId(String lastAccessedGatewayId)
lastAccessedGatewayId - lastAccessedGatewayId or null for nonepublic String getLastAccessedGatewayTime()
null for nonepublic GatewayConfig setLastAccessedGatewayTime(String lastAccessedGatewayTime)
lastAccessedGatewayTime - lastAccessedGatewayTime or null for nonepublic GatewayConfig set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic GatewayConfig clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2023 Google. All rights reserved.