Documentation

Overview

    Package internaloption contains options used internally by Google client code.

    Index

    Constants

    This section is empty.

    Variables

    This section is empty.

    Functions

    func EnableDirectPath

    func EnableDirectPath(dp bool) option.ClientOption

      EnableDirectPath returns a ClientOption that overrides the default attempt to use DirectPath.

      It should only be used internally by generated clients. This is an EXPERIMENTAL API and may be changed or removed in the future.

      func SkipDialSettingsValidation

      func SkipDialSettingsValidation() option.ClientOption

        SkipDialSettingsValidation bypasses validation on ClientOptions.

        It should only be used internally.

        func WithDefaultAudience

        func WithDefaultAudience(audience string) option.ClientOption

          WithDefaultAudience returns a ClientOption that specifies a default audience to be used as the audience field ("aud") for the JWT token authentication.

          It should only be used internally by generated clients.

          func WithDefaultEndpoint

          func WithDefaultEndpoint(url string) option.ClientOption

            WithDefaultEndpoint is an option that indicates the default endpoint.

            It should only be used internally by generated clients.

            This is similar to WithEndpoint, but allows us to determine whether the user has overridden the default endpoint.

            func WithDefaultMTLSEndpoint

            func WithDefaultMTLSEndpoint(url string) option.ClientOption

              WithDefaultMTLSEndpoint is an option that indicates the default mTLS endpoint.

              It should only be used internally by generated clients.

              func WithDefaultScopes

              func WithDefaultScopes(scope ...string) option.ClientOption

                WithDefaultScopes returns a ClientOption that overrides the default OAuth2 scopes to be used for a service.

                It should only be used internally by generated clients.

                Types

                This section is empty.