GcpOptions (Google Cloud Dataflow SDK 1.9.1 API)

Google Cloud Dataflow SDK for Java, version 1.9.1

com.google.cloud.dataflow.sdk.options

Interface GcpOptions

    • Method Detail

      • setProject

        void setProject(String value)
      • getServiceAccountKeyfile

        String getServiceAccountKeyfile()
        This option controls which file to use when attempting to create the credentials using the service account method.

        This option if specified, needs be combined with the serviceAccountName.

      • setServiceAccountKeyfile

        void setServiceAccountKeyfile(String value)
      • getServiceAccountName

        String getServiceAccountName()
        This option controls which service account to use when attempting to create the credentials using the service account method.

        This option if specified, needs be combined with the serviceAccountKeyfile.

      • setServiceAccountName

        void setServiceAccountName(String value)
      • getSecretsFile

        String getSecretsFile()
        This option controls which file to use when attempting to create the credentials using the OAuth 2 webflow. After the OAuth2 webflow, the credentials will be stored within credentialDir.
      • setSecretsFile

        void setSecretsFile(String value)
      • getCredentialId

        @Default.String(value="cloud_dataflow")
        String getCredentialId()
        This option controls which credential store to use when creating the credentials using the OAuth 2 webflow.
      • setCredentialId

        void setCredentialId(String value)
      • setCredentialDir

        void setCredentialDir(String value)
      • getCredentialFactoryClass

        @Default.Class(value=com.google.cloud.dataflow.sdk.util.GcpCredentialFactory.class)
        Class<? extends com.google.cloud.dataflow.sdk.util.CredentialFactory> getCredentialFactoryClass()
        The class of the credential factory that should be created and used to create credentials. If gcpCredential has not been set explicitly, an instance of this class will be constructed and used as a credential factory.
      • setCredentialFactoryClass

        void setCredentialFactoryClass(Class<? extends com.google.cloud.dataflow.sdk.util.CredentialFactory> credentialFactoryClass)
      • setGcpCredential

        void setGcpCredential(Credential value)
      • getTokenServerUrl

        @Default.String(value="https://accounts.google.com/o/oauth2/token")
         @Hidden
        String getTokenServerUrl()
        The token server URL to use for OAuth 2 authentication. Normally, the default is sufficient, but some specialized use cases may want to override this value.
      • setTokenServerUrl

        void setTokenServerUrl(String value)
      • getAuthorizationServerEncodedUrl

        @Default.String(value="https://accounts.google.com/o/oauth2/auth")
         @Hidden
        String getAuthorizationServerEncodedUrl()
        The authorization server URL to use for OAuth 2 authentication. Normally, the default is sufficient, but some specialized use cases may want to override this value.
      • setAuthorizationServerEncodedUrl

        void setAuthorizationServerEncodedUrl(String value)


Was this page helpful? Let us know how we did:

Send feedback about...

Cloud Dataflow
Need help? Visit our support page.