func (g *GcpLocation) LocalityType() string {
	return "gcp_jwt"
}
LocalityType Returns the locality-type for GCP environment.
package gps
import (
	"encoding/base64"
	"encoding/json"
	"fmt"
	"io/ioutil"
	"net"
	"net/http"
	"path/filepath"
	"time"
	"github.com/pkg/errors"
)
type Locator interface {
	SdlCloudName() string
	Region() (string, error)
	Locality() (string, error)
	LocalityType() string
}
type GcpLocation struct{}
func (g *GcpLocation) SdlCloudName() string {
	return "gs"
}
func (g *GcpLocation) Region() (string, error) {
	region, err := resolveGcpZone()
	if err != nil {
		return "", err
	}
	return region, nil
}
func (g *GcpLocation) Locality() (string, error) {
	token, err := retrieveGCPInstanceToken()
	if err != nil {
		return "", err
	}
	return string(token), nil
}