Skip to content

Directpath support on non prod environments #14246

Description

@danielduhh

Issue Details

Directpath does not work unless a google universe domain is in the URL. However, there are cases where directpath can be used in non-prod environments.

https://github.com/googleapis/google-cloud-java/blob/main/sdk-platform-java/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/InstantiatingGrpcChannelProvider.java#L877.

Can we override this check with a option or environment variable so DP is available in non-prod?

See https://b.corp.google.com/issues/479544840#comment6 for details

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions