public static interface GoogleAnalyticsConnectorProfileCredentials.Builder extends SdkPojo, CopyableBuilder<GoogleAnalyticsConnectorProfileCredentials.Builder,GoogleAnalyticsConnectorProfileCredentials>
| Modifier and Type | Method and Description |
|---|---|
GoogleAnalyticsConnectorProfileCredentials.Builder |
accessToken(String accessToken)
The credentials used to access protected Google Analytics resources.
|
GoogleAnalyticsConnectorProfileCredentials.Builder |
clientId(String clientId)
The identifier for the desired client.
|
GoogleAnalyticsConnectorProfileCredentials.Builder |
clientSecret(String clientSecret)
The client secret used by the OAuth client to authenticate to the authorization server.
|
GoogleAnalyticsConnectorProfileCredentials.Builder |
oAuthRequest(ConnectorOAuthRequest oAuthRequest)
The OAuth requirement needed to request security tokens from the connector endpoint.
|
default GoogleAnalyticsConnectorProfileCredentials.Builder |
oAuthRequest(Consumer<ConnectorOAuthRequest.Builder> oAuthRequest)
The OAuth requirement needed to request security tokens from the connector endpoint.
|
GoogleAnalyticsConnectorProfileCredentials.Builder |
refreshToken(String refreshToken)
The credentials used to acquire new access tokens.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildGoogleAnalyticsConnectorProfileCredentials.Builder clientId(String clientId)
The identifier for the desired client.
clientId - The identifier for the desired client.GoogleAnalyticsConnectorProfileCredentials.Builder clientSecret(String clientSecret)
The client secret used by the OAuth client to authenticate to the authorization server.
clientSecret - The client secret used by the OAuth client to authenticate to the authorization server.GoogleAnalyticsConnectorProfileCredentials.Builder accessToken(String accessToken)
The credentials used to access protected Google Analytics resources.
accessToken - The credentials used to access protected Google Analytics resources.GoogleAnalyticsConnectorProfileCredentials.Builder refreshToken(String refreshToken)
The credentials used to acquire new access tokens. This is required only for OAuth2 access tokens, and is not required for OAuth1 access tokens.
refreshToken - The credentials used to acquire new access tokens. This is required only for OAuth2 access tokens, and
is not required for OAuth1 access tokens.GoogleAnalyticsConnectorProfileCredentials.Builder oAuthRequest(ConnectorOAuthRequest oAuthRequest)
The OAuth requirement needed to request security tokens from the connector endpoint.
oAuthRequest - The OAuth requirement needed to request security tokens from the connector endpoint.default GoogleAnalyticsConnectorProfileCredentials.Builder oAuthRequest(Consumer<ConnectorOAuthRequest.Builder> oAuthRequest)
The OAuth requirement needed to request security tokens from the connector endpoint.
This is a convenience method that creates an instance of theConnectorOAuthRequest.Builder avoiding
the need to create one manually via ConnectorOAuthRequest.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to oAuthRequest(ConnectorOAuthRequest).
oAuthRequest - a consumer that will call methods on ConnectorOAuthRequest.BuilderoAuthRequest(ConnectorOAuthRequest)Copyright © 2023. All rights reserved.