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)


이 페이지가 도움이 되었나요? 평가를 부탁드립니다.

다음에 대한 의견 보내기...

도움이 필요하시나요? 지원 페이지를 방문하세요.