public final class GoogleCloudApigeeV1Credential
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 Apigee 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 |
|---|
GoogleCloudApigeeV1Credential() |
| Modifier and Type | Method and Description |
|---|---|
GoogleCloudApigeeV1Credential |
clone() |
List<GoogleCloudApigeeV1ApiProductRef> |
getApiProducts()
List of API products this credential can be used for.
|
List<GoogleCloudApigeeV1Attribute> |
getAttributes()
List of attributes associated with this credential.
|
String |
getConsumerKey()
Consumer key.
|
String |
getConsumerSecret()
Secret key.
|
Long |
getExpiresAt()
Time the credential will expire in milliseconds since epoch.
|
Long |
getIssuedAt()
Time the credential was issued in milliseconds since epoch.
|
List<String> |
getScopes()
List of scopes to apply to the app.
|
String |
getStatus()
Status of the credential.
|
GoogleCloudApigeeV1Credential |
set(String fieldName,
Object value) |
GoogleCloudApigeeV1Credential |
setApiProducts(List<GoogleCloudApigeeV1ApiProductRef> apiProducts)
List of API products this credential can be used for.
|
GoogleCloudApigeeV1Credential |
setAttributes(List<GoogleCloudApigeeV1Attribute> attributes)
List of attributes associated with this credential.
|
GoogleCloudApigeeV1Credential |
setConsumerKey(String consumerKey)
Consumer key.
|
GoogleCloudApigeeV1Credential |
setConsumerSecret(String consumerSecret)
Secret key.
|
GoogleCloudApigeeV1Credential |
setExpiresAt(Long expiresAt)
Time the credential will expire in milliseconds since epoch.
|
GoogleCloudApigeeV1Credential |
setIssuedAt(Long issuedAt)
Time the credential was issued in milliseconds since epoch.
|
GoogleCloudApigeeV1Credential |
setScopes(List<String> scopes)
List of scopes to apply to the app.
|
GoogleCloudApigeeV1Credential |
setStatus(String status)
Status of the credential.
|
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 List<GoogleCloudApigeeV1ApiProductRef> getApiProducts()
null for nonepublic GoogleCloudApigeeV1Credential setApiProducts(List<GoogleCloudApigeeV1ApiProductRef> apiProducts)
apiProducts - apiProducts or null for nonepublic List<GoogleCloudApigeeV1Attribute> getAttributes()
null for nonepublic GoogleCloudApigeeV1Credential setAttributes(List<GoogleCloudApigeeV1Attribute> attributes)
attributes - attributes or null for nonepublic String getConsumerKey()
null for nonepublic GoogleCloudApigeeV1Credential setConsumerKey(String consumerKey)
consumerKey - consumerKey or null for nonepublic String getConsumerSecret()
null for nonepublic GoogleCloudApigeeV1Credential setConsumerSecret(String consumerSecret)
consumerSecret - consumerSecret or null for nonepublic Long getExpiresAt()
null for nonepublic GoogleCloudApigeeV1Credential setExpiresAt(Long expiresAt)
expiresAt - expiresAt or null for nonepublic Long getIssuedAt()
null for nonepublic GoogleCloudApigeeV1Credential setIssuedAt(Long issuedAt)
issuedAt - issuedAt or null for nonepublic List<String> getScopes()
null for nonepublic GoogleCloudApigeeV1Credential setScopes(List<String> scopes)
scopes - scopes or null for nonepublic String getStatus()
null for nonepublic GoogleCloudApigeeV1Credential setStatus(String status)
status - status or null for nonepublic GoogleCloudApigeeV1Credential set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic GoogleCloudApigeeV1Credential clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.