From 9a84077014f9a37335d29132e373b92adf49f904 Mon Sep 17 00:00:00 2001 From: Cody Oss <6331106+codyoss@users.noreply.github.com> Date: Wed, 31 Aug 2022 10:41:55 -0500 Subject: [PATCH] feat(option): officially deprecate ImpersonateCredentials (#1683) This option has been soft deprecated for a long time now. Lets make it official to help more users migrate. --- option/option.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/option/option.go b/option/option.go index eb478aacdca..f56a8c1d906 100644 --- a/option/option.go +++ b/option/option.go @@ -308,9 +308,9 @@ func (w withClientCertSource) Apply(o *internal.DialSettings) { // // This is an EXPERIMENTAL API and may be changed or removed in the future. // -// This option has been replaced by `impersonate` package: +// Deprecated: This option has been replaced by `impersonate` package: // `google.golang.org/api/impersonate`. Please use the `impersonate` package -// instead. +// instead with the WithTokenSource option. func ImpersonateCredentials(target string, delegates ...string) ClientOption { return impersonateServiceAccount{ target: target,