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.Flags
AbstractMap.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, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public 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.GenericJson
public Credential clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.