public final class Credential
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 Deployment Manager V2 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 |
|---|
Credential() |
| Modifier and Type | Method and Description |
|---|---|
Credential |
clone() |
BasicAuth |
getBasicAuth()
Basic Auth Credential, only used by TypeProvider.
|
ServiceAccount |
getServiceAccount()
Service Account Credential, only used by Deployment.
|
Boolean |
getUseProjectDefault()
Specify to use the project default credential, only supported by Deployment.
|
Credential |
set(String fieldName,
Object value) |
Credential |
setBasicAuth(BasicAuth basicAuth)
Basic Auth Credential, only used by TypeProvider.
|
Credential |
setServiceAccount(ServiceAccount serviceAccount)
Service Account Credential, only used by Deployment.
|
Credential |
setUseProjectDefault(Boolean useProjectDefault)
Specify to use the project default credential, only supported by Deployment.
|
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 BasicAuth getBasicAuth()
null for nonepublic Credential setBasicAuth(BasicAuth basicAuth)
basicAuth - basicAuth or null for nonepublic ServiceAccount getServiceAccount()
null for nonepublic Credential setServiceAccount(ServiceAccount serviceAccount)
serviceAccount - serviceAccount or null for nonepublic Boolean getUseProjectDefault()
null for nonepublic Credential setUseProjectDefault(Boolean useProjectDefault)
useProjectDefault - useProjectDefault or null for nonepublic Credential set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic Credential clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.