code: func (s *WebSessionV1) V2() *WebSessionV2 {
  	return &WebSessionV2{
  		Kind:    KindWebSession,
  		Version: V2,
  		Metadata: Metadata{
  			Name:      s.ID,
  			Namespace: defaults.Namespace,
  		},
  		Spec: WebSessionSpecV2{
  			Pub:                s.Pub,
  			Priv:               s.Priv,
  			BearerToken:        s.BearerToken,
  			Expires:            s.Expires,
  			BearerTokenExpires: s.Expires,
  		},
  	}
  }
docs: // V2 returns V2 version of the resource