target.apidocs.com.google.api.services.integrations.v1alpha.Integrations.Projects.Locations.AuthConfigs.Create.html Maven / Gradle / Ivy
Integrations.Projects.Locations.AuthConfigs.Create (Application Integration API v1alpha-rev20230117-2.0.0)
com.google.api.services.integrations.v1alpha
Class Integrations.Projects.Locations.AuthConfigs.Create
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.googleapis.services.AbstractGoogleClientRequest<T>
-
- com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest<T>
-
- com.google.api.services.integrations.v1alpha.IntegrationsRequest<GoogleCloudIntegrationsV1alphaAuthConfig>
-
- com.google.api.services.integrations.v1alpha.Integrations.Projects.Locations.AuthConfigs.Create
-
- Enclosing class:
- Integrations.Projects.Locations.AuthConfigs
public class Integrations.Projects.Locations.AuthConfigs.Create
extends IntegrationsRequest<GoogleCloudIntegrationsV1alphaAuthConfig>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Modifier
Constructor and Description
protected
Create(String parent,
GoogleCloudIntegrationsV1alphaAuthConfig content)
Creates an auth config record.
-
Method Summary
-
Methods inherited from class com.google.api.services.integrations.v1alpha.IntegrationsRequest
get$Xgafv, getAbstractGoogleClient, getAccessToken, getAlt, getCallback, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadProtocol, getUploadType, setDisableGZipContent, setRequestHeaders
-
Methods inherited from class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest
getJsonContent, newExceptionOnError, queue
-
Methods inherited from class com.google.api.client.googleapis.services.AbstractGoogleClientRequest
buildHttpRequest, buildHttpRequestUrl, buildHttpRequestUsingHead, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, executeUsingHead, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getReturnRawInputSteam, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue, setReturnRawInputStream
-
Methods inherited from class com.google.api.client.util.GenericData
clone, entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys, toString
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Constructor Detail
-
Create
protected Create(String parent,
GoogleCloudIntegrationsV1alphaAuthConfig content)
Creates an auth config record. Fetch corresponding credentials for specific auth types, e.g.
access token for OAuth 2.0, JWT token for JWT. Encrypt the auth config with Cloud KMS and store
the encrypted credentials in Spanner. Returns the encrypted auth config.
Create a request for the method "authConfigs.create".
This request holds the parameters needed by the the integrations server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
Integrations.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest) must
be called to initialize this instance immediately after invoking the constructor.
- Parameters:
parent - Required. "projects/{project}/locations/{location}" format.
content - the GoogleCloudIntegrationsV1alphaAuthConfig
- Since:
- 1.13
-
Method Detail
-
set$Xgafv
public Integrations.Projects.Locations.AuthConfigs.Create set$Xgafv(String $Xgafv)
Description copied from class: IntegrationsRequest
V1 error format.
- Overrides:
set$Xgafv in class IntegrationsRequest<GoogleCloudIntegrationsV1alphaAuthConfig>
-
setAccessToken
public Integrations.Projects.Locations.AuthConfigs.Create setAccessToken(String accessToken)
Description copied from class: IntegrationsRequest
OAuth access token.
- Overrides:
setAccessToken in class IntegrationsRequest<GoogleCloudIntegrationsV1alphaAuthConfig>
-
setAlt
public Integrations.Projects.Locations.AuthConfigs.Create setAlt(String alt)
Description copied from class: IntegrationsRequest
Data format for response.
- Overrides:
setAlt in class IntegrationsRequest<GoogleCloudIntegrationsV1alphaAuthConfig>
-
setCallback
public Integrations.Projects.Locations.AuthConfigs.Create setCallback(String callback)
Description copied from class: IntegrationsRequest
JSONP
- Overrides:
setCallback in class IntegrationsRequest<GoogleCloudIntegrationsV1alphaAuthConfig>
-
setFields
public Integrations.Projects.Locations.AuthConfigs.Create setFields(String fields)
Description copied from class: IntegrationsRequest
Selector specifying which fields to include in a partial response.
- Overrides:
setFields in class IntegrationsRequest<GoogleCloudIntegrationsV1alphaAuthConfig>
-
setKey
public Integrations.Projects.Locations.AuthConfigs.Create setKey(String key)
Description copied from class: IntegrationsRequest
API key. Your API key identifies your project and provides you with API access, quota, and
reports. Required unless you provide an OAuth 2.0 token.
- Overrides:
setKey in class IntegrationsRequest<GoogleCloudIntegrationsV1alphaAuthConfig>
-
setOauthToken
public Integrations.Projects.Locations.AuthConfigs.Create setOauthToken(String oauthToken)
Description copied from class: IntegrationsRequest
OAuth 2.0 token for the current user.
- Overrides:
setOauthToken in class IntegrationsRequest<GoogleCloudIntegrationsV1alphaAuthConfig>
-
setPrettyPrint
public Integrations.Projects.Locations.AuthConfigs.Create setPrettyPrint(Boolean prettyPrint)
Description copied from class: IntegrationsRequest
Returns response with indentations and line breaks.
- Overrides:
setPrettyPrint in class IntegrationsRequest<GoogleCloudIntegrationsV1alphaAuthConfig>
-
setQuotaUser
public Integrations.Projects.Locations.AuthConfigs.Create setQuotaUser(String quotaUser)
Description copied from class: IntegrationsRequest
Available to use for quota purposes for server-side applications. Can be any arbitrary string
assigned to a user, but should not exceed 40 characters.
- Overrides:
setQuotaUser in class IntegrationsRequest<GoogleCloudIntegrationsV1alphaAuthConfig>
-
setUploadType
public Integrations.Projects.Locations.AuthConfigs.Create setUploadType(String uploadType)
Description copied from class: IntegrationsRequest
Legacy upload protocol for media (e.g. "media", "multipart").
- Overrides:
setUploadType in class IntegrationsRequest<GoogleCloudIntegrationsV1alphaAuthConfig>
-
setUploadProtocol
public Integrations.Projects.Locations.AuthConfigs.Create setUploadProtocol(String uploadProtocol)
Description copied from class: IntegrationsRequest
Upload protocol for media (e.g. "raw", "multipart").
- Overrides:
setUploadProtocol in class IntegrationsRequest<GoogleCloudIntegrationsV1alphaAuthConfig>
-
getParent
public String getParent()
Required. "projects/{project}/locations/{location}" format.
-
setParent
public Integrations.Projects.Locations.AuthConfigs.Create setParent(String parent)
Required. "projects/{project}/locations/{location}" format.
-
getClientCertificateEncryptedPrivateKey
public String getClientCertificateEncryptedPrivateKey()
The ssl certificate encoded in PEM format. This string must include the begin header and end footer
lines. For example, -----BEGIN CERTIFICATE-----
MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV
BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw
MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET
MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1
JzY2+eqBmbGl4/sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB
xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P
AQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB
Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey
Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW
JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr
5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H wQW6M0H7Zt8claGRla4fKkg= -----END
CERTIFICATE-----
-
setClientCertificateEncryptedPrivateKey
public Integrations.Projects.Locations.AuthConfigs.Create setClientCertificateEncryptedPrivateKey(String clientCertificateEncryptedPrivateKey)
The ssl certificate encoded in PEM format. This string must include the begin header
and end footer lines. For example, -----BEGIN CERTIFICATE-----
MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV
BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw
MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET
MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1
JzY2+eqBmbGl4/sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB
xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P
AQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB
Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey
Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW
JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr
5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H
wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----
-
getClientCertificatePassphrase
public String getClientCertificatePassphrase()
' passphrase' should be left unset if private key is not encrypted. Note that 'passphrase' is not
' the password for web server, but an extra layer of security to protected private key.
'
-
setClientCertificatePassphrase
public Integrations.Projects.Locations.AuthConfigs.Create setClientCertificatePassphrase(String clientCertificatePassphrase)
'passphrase' should be left unset if private key is not encrypted. Note that
'passphrase' is not the password for web server, but an extra layer of security to
protected private key.
-
getClientCertificateSslCertificate
public String getClientCertificateSslCertificate()
The ssl certificate encoded in PEM format. This string must include the begin header and end footer
lines. For example, -----BEGIN CERTIFICATE-----
MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV
BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw
MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET
MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1
JzY2+eqBmbGl4/sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB
xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P
AQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB
Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey
Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW
JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr
5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H wQW6M0H7Zt8claGRla4fKkg= -----END
CERTIFICATE-----
-
setClientCertificateSslCertificate
public Integrations.Projects.Locations.AuthConfigs.Create setClientCertificateSslCertificate(String clientCertificateSslCertificate)
The ssl certificate encoded in PEM format. This string must include the begin header
and end footer lines. For example, -----BEGIN CERTIFICATE-----
MIICTTCCAbagAwIBAgIJAPT0tSKNxan/MA0GCSqGSIb3DQEBCwUAMCoxFzAVBgNV
BAoTDkdvb2dsZSBURVNUSU5HMQ8wDQYDVQQDEwZ0ZXN0Q0EwHhcNMTUwMTAxMDAw
MDAwWhcNMjUwMTAxMDAwMDAwWjAuMRcwFQYDVQQKEw5Hb29nbGUgVEVTVElORzET
MBEGA1UEAwwKam9lQGJhbmFuYTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA
vDYFgMgxi5W488d9J7UpCInl0NXmZQpJDEHE4hvkaRlH7pnC71H0DLt0/3zATRP1
JzY2+eqBmbGl4/sgZKYv8UrLnNyQNUTsNx1iZAfPUflf5FwgVsai8BM0pUciq1NB
xD429VFcrGZNucvFLh72RuRFIKH8WUpiK/iZNFkWhZ0CAwEAAaN3MHUwDgYDVR0P
AQH/BAQDAgWgMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMB
Af8EAjAAMBkGA1UdDgQSBBCVgnFBCWgL/iwCqnGrhTPQMBsGA1UdIwQUMBKAEKey
Um2o4k2WiEVA0ldQvNYwDQYJKoZIhvcNAQELBQADgYEAYK986R4E3L1v+Q6esBtW
JrUwA9UmJRSQr0N5w3o9XzarU37/bkjOP0Fw0k/A6Vv1n3vlciYfBFaBIam1qRHr
5dMsYf4CZS6w50r7hyzqyrwDoyNxkLnd2PdcHT/sym1QmflsjEs7pejtnohO6N2H
wQW6M0H7Zt8claGRla4fKkg= -----END CERTIFICATE-----
-
set
public Integrations.Projects.Locations.AuthConfigs.Create set(String parameterName,
Object value)
- Overrides:
set in class IntegrationsRequest<GoogleCloudIntegrationsV1alphaAuthConfig>
Copyright © 2011–2023 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy