Class GoogleAdWordsLinkedService
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.models.LinkedService
-
- com.azure.resourcemanager.datafactory.models.GoogleAdWordsLinkedService
-
public final class GoogleAdWordsLinkedService extends LinkedService
Google AdWords service linked service.
-
-
Constructor Summary
Constructors Constructor Description GoogleAdWordsLinkedService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GoogleAdWordsAuthenticationTypeauthenticationType()Get the authenticationType property: The OAuth 2.0 authentication mechanism used for authentication.ObjectclientCustomerId()Get the clientCustomerId property: The Client customer ID of the AdWords account that you want to fetch report data for.ObjectclientId()Get the clientId property: The client id of the google application used to acquire the refresh token.SecretBaseclientSecret()Get the clientSecret property: The client secret of the google application used to acquire the refresh token.ObjectconnectionProperties()Get the connectionProperties property: Properties used to connect to GoogleAds.SecretBasedeveloperToken()Get the developerToken property: The developer token associated with the manager account that you use to grant access to the AdWords API.Objectemail()Get the email property: The service account email ID that is used for ServiceAuthentication and can only be used on self-hosted IR.ObjectencryptedCredential()Get the encryptedCredential property: The encrypted credential used for authentication.ObjectkeyFilePath()Get the keyFilePath property: The full path to the .p12 key file that is used to authenticate the service account email address and can only be used on self-hosted IR.SecretBaserefreshToken()Get the refreshToken property: The refresh token obtained from Google for authorizing access to AdWords for UserAuthentication.ObjecttrustedCertPath()Get the trustedCertPath property: The full path of the .pem file containing trusted CA certificates for verifying the server when connecting over SSL.ObjectuseSystemTrustStore()Get the useSystemTrustStore property: Specifies whether to use a CA certificate from the system trust store or from a specified PEM file.voidvalidate()Validates the instance.GoogleAdWordsLinkedServicewithAnnotations(List<Object> annotations)Set the annotations property: List of tags that can be used for describing the linked service.GoogleAdWordsLinkedServicewithAuthenticationType(GoogleAdWordsAuthenticationType authenticationType)Set the authenticationType property: The OAuth 2.0 authentication mechanism used for authentication.GoogleAdWordsLinkedServicewithClientCustomerId(Object clientCustomerId)Set the clientCustomerId property: The Client customer ID of the AdWords account that you want to fetch report data for.GoogleAdWordsLinkedServicewithClientId(Object clientId)Set the clientId property: The client id of the google application used to acquire the refresh token.GoogleAdWordsLinkedServicewithClientSecret(SecretBase clientSecret)Set the clientSecret property: The client secret of the google application used to acquire the refresh token.GoogleAdWordsLinkedServicewithConnectionProperties(Object connectionProperties)Set the connectionProperties property: Properties used to connect to GoogleAds.GoogleAdWordsLinkedServicewithConnectVia(IntegrationRuntimeReference connectVia)Set the connectVia property: The integration runtime reference.GoogleAdWordsLinkedServicewithDescription(String description)Set the description property: Linked service description.GoogleAdWordsLinkedServicewithDeveloperToken(SecretBase developerToken)Set the developerToken property: The developer token associated with the manager account that you use to grant access to the AdWords API.GoogleAdWordsLinkedServicewithEmail(Object email)Set the email property: The service account email ID that is used for ServiceAuthentication and can only be used on self-hosted IR.GoogleAdWordsLinkedServicewithEncryptedCredential(Object encryptedCredential)Set the encryptedCredential property: The encrypted credential used for authentication.GoogleAdWordsLinkedServicewithKeyFilePath(Object keyFilePath)Set the keyFilePath property: The full path to the .p12 key file that is used to authenticate the service account email address and can only be used on self-hosted IR.GoogleAdWordsLinkedServicewithParameters(Map<String,ParameterSpecification> parameters)Set the parameters property: Parameters for linked service.GoogleAdWordsLinkedServicewithRefreshToken(SecretBase refreshToken)Set the refreshToken property: The refresh token obtained from Google for authorizing access to AdWords for UserAuthentication.GoogleAdWordsLinkedServicewithTrustedCertPath(Object trustedCertPath)Set the trustedCertPath property: The full path of the .pem file containing trusted CA certificates for verifying the server when connecting over SSL.GoogleAdWordsLinkedServicewithUseSystemTrustStore(Object useSystemTrustStore)Set the useSystemTrustStore property: Specifies whether to use a CA certificate from the system trust store or from a specified PEM file.-
Methods inherited from class com.azure.resourcemanager.datafactory.models.LinkedService
additionalProperties, annotations, connectVia, description, parameters, withAdditionalProperties
-
-
-
-
Method Detail
-
withConnectVia
public GoogleAdWordsLinkedService withConnectVia(IntegrationRuntimeReference connectVia)
Set the connectVia property: The integration runtime reference.- Overrides:
withConnectViain classLinkedService- Parameters:
connectVia- the connectVia value to set.- Returns:
- the LinkedService object itself.
-
withDescription
public GoogleAdWordsLinkedService withDescription(String description)
Set the description property: Linked service description.- Overrides:
withDescriptionin classLinkedService- Parameters:
description- the description value to set.- Returns:
- the LinkedService object itself.
-
withParameters
public GoogleAdWordsLinkedService withParameters(Map<String,ParameterSpecification> parameters)
Set the parameters property: Parameters for linked service.- Overrides:
withParametersin classLinkedService- Parameters:
parameters- the parameters value to set.- Returns:
- the LinkedService object itself.
-
withAnnotations
public GoogleAdWordsLinkedService withAnnotations(List<Object> annotations)
Set the annotations property: List of tags that can be used for describing the linked service.- Overrides:
withAnnotationsin classLinkedService- Parameters:
annotations- the annotations value to set.- Returns:
- the LinkedService object itself.
-
connectionProperties
public Object connectionProperties()
Get the connectionProperties property: Properties used to connect to GoogleAds. It is mutually exclusive with any other properties in the linked service. Type: object.- Returns:
- the connectionProperties value.
-
withConnectionProperties
public GoogleAdWordsLinkedService withConnectionProperties(Object connectionProperties)
Set the connectionProperties property: Properties used to connect to GoogleAds. It is mutually exclusive with any other properties in the linked service. Type: object.- Parameters:
connectionProperties- the connectionProperties value to set.- Returns:
- the GoogleAdWordsLinkedService object itself.
-
clientCustomerId
public Object clientCustomerId()
Get the clientCustomerId property: The Client customer ID of the AdWords account that you want to fetch report data for.- Returns:
- the clientCustomerId value.
-
withClientCustomerId
public GoogleAdWordsLinkedService withClientCustomerId(Object clientCustomerId)
Set the clientCustomerId property: The Client customer ID of the AdWords account that you want to fetch report data for.- Parameters:
clientCustomerId- the clientCustomerId value to set.- Returns:
- the GoogleAdWordsLinkedService object itself.
-
developerToken
public SecretBase developerToken()
Get the developerToken property: The developer token associated with the manager account that you use to grant access to the AdWords API.- Returns:
- the developerToken value.
-
withDeveloperToken
public GoogleAdWordsLinkedService withDeveloperToken(SecretBase developerToken)
Set the developerToken property: The developer token associated with the manager account that you use to grant access to the AdWords API.- Parameters:
developerToken- the developerToken value to set.- Returns:
- the GoogleAdWordsLinkedService object itself.
-
authenticationType
public GoogleAdWordsAuthenticationType authenticationType()
Get the authenticationType property: The OAuth 2.0 authentication mechanism used for authentication. ServiceAuthentication can only be used on self-hosted IR.- Returns:
- the authenticationType value.
-
withAuthenticationType
public GoogleAdWordsLinkedService withAuthenticationType(GoogleAdWordsAuthenticationType authenticationType)
Set the authenticationType property: The OAuth 2.0 authentication mechanism used for authentication. ServiceAuthentication can only be used on self-hosted IR.- Parameters:
authenticationType- the authenticationType value to set.- Returns:
- the GoogleAdWordsLinkedService object itself.
-
refreshToken
public SecretBase refreshToken()
Get the refreshToken property: The refresh token obtained from Google for authorizing access to AdWords for UserAuthentication.- Returns:
- the refreshToken value.
-
withRefreshToken
public GoogleAdWordsLinkedService withRefreshToken(SecretBase refreshToken)
Set the refreshToken property: The refresh token obtained from Google for authorizing access to AdWords for UserAuthentication.- Parameters:
refreshToken- the refreshToken value to set.- Returns:
- the GoogleAdWordsLinkedService object itself.
-
clientId
public Object clientId()
Get the clientId property: The client id of the google application used to acquire the refresh token. Type: string (or Expression with resultType string).- Returns:
- the clientId value.
-
withClientId
public GoogleAdWordsLinkedService withClientId(Object clientId)
Set the clientId property: The client id of the google application used to acquire the refresh token. Type: string (or Expression with resultType string).- Parameters:
clientId- the clientId value to set.- Returns:
- the GoogleAdWordsLinkedService object itself.
-
clientSecret
public SecretBase clientSecret()
Get the clientSecret property: The client secret of the google application used to acquire the refresh token.- Returns:
- the clientSecret value.
-
withClientSecret
public GoogleAdWordsLinkedService withClientSecret(SecretBase clientSecret)
Set the clientSecret property: The client secret of the google application used to acquire the refresh token.- Parameters:
clientSecret- the clientSecret value to set.- Returns:
- the GoogleAdWordsLinkedService object itself.
-
email
public Object email()
Get the email property: The service account email ID that is used for ServiceAuthentication and can only be used on self-hosted IR.- Returns:
- the email value.
-
withEmail
public GoogleAdWordsLinkedService withEmail(Object email)
Set the email property: The service account email ID that is used for ServiceAuthentication and can only be used on self-hosted IR.- Parameters:
email- the email value to set.- Returns:
- the GoogleAdWordsLinkedService object itself.
-
keyFilePath
public Object keyFilePath()
Get the keyFilePath property: The full path to the .p12 key file that is used to authenticate the service account email address and can only be used on self-hosted IR.- Returns:
- the keyFilePath value.
-
withKeyFilePath
public GoogleAdWordsLinkedService withKeyFilePath(Object keyFilePath)
Set the keyFilePath property: The full path to the .p12 key file that is used to authenticate the service account email address and can only be used on self-hosted IR.- Parameters:
keyFilePath- the keyFilePath value to set.- Returns:
- the GoogleAdWordsLinkedService object itself.
-
trustedCertPath
public Object trustedCertPath()
Get the trustedCertPath property: The full path of the .pem file containing trusted CA certificates for verifying the server when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The default value is the cacerts.pem file installed with the IR.- Returns:
- the trustedCertPath value.
-
withTrustedCertPath
public GoogleAdWordsLinkedService withTrustedCertPath(Object trustedCertPath)
Set the trustedCertPath property: The full path of the .pem file containing trusted CA certificates for verifying the server when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The default value is the cacerts.pem file installed with the IR.- Parameters:
trustedCertPath- the trustedCertPath value to set.- Returns:
- the GoogleAdWordsLinkedService object itself.
-
useSystemTrustStore
public Object useSystemTrustStore()
Get the useSystemTrustStore property: Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default value is false.- Returns:
- the useSystemTrustStore value.
-
withUseSystemTrustStore
public GoogleAdWordsLinkedService withUseSystemTrustStore(Object useSystemTrustStore)
Set the useSystemTrustStore property: Specifies whether to use a CA certificate from the system trust store or from a specified PEM file. The default value is false.- Parameters:
useSystemTrustStore- the useSystemTrustStore value to set.- Returns:
- the GoogleAdWordsLinkedService object itself.
-
encryptedCredential
public Object encryptedCredential()
Get the encryptedCredential property: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).- Returns:
- the encryptedCredential value.
-
withEncryptedCredential
public GoogleAdWordsLinkedService withEncryptedCredential(Object encryptedCredential)
Set the encryptedCredential property: The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).- Parameters:
encryptedCredential- the encryptedCredential value to set.- Returns:
- the GoogleAdWordsLinkedService object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classLinkedService- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-