code: func (d *Driver) SetConfigFromFlags(flags drivers.DriverOptions) error {
  	d.Project = flags.String("google-project")
  	if d.Project == "" {
  		return errors.New("no Google Cloud Project name specified (--google-project)")
  	}
  
  	d.Zone = flags.String("google-zone")
  	d.UseExisting = flags.Bool("google-use-existing")
  	if !d.UseExisting {
  		d.MachineType = flags.String("google-machine-type")
  		d.MachineImage = flags.String("google-machine-image")
  		d.MachineImage = strings.TrimPrefix(d.MachineImage, "https://www.googleapis.com/compute/v1/projects/")
  		d.DiskSize = flags.Int("google-disk-size")
  		d.DiskType = flags.String("google-disk-type")
  		d.Address = flags.String("google-address")
  		d.Network = flags.String("google-network")
  		d.Subnetwork = flags.String("google-subnetwork")
  		d.Preemptible = flags.Bool("google-preemptible")
  		d.UseInternalIP = flags.Bool("google-use-internal-ip") || flags.Bool("google-use-internal-ip-only")
  		d.UseInternalIPOnly = flags.Bool("google-use-internal-ip-only")
  		d.ServiceAccount = flags.String("google-service-account")
  		d.Scopes = flags.String("google-scopes")
  		d.Tags = flags.String("google-tags")
  		d.OpenPorts = flags.StringSlice("google-open-port")
  	}
  	d.SSHUser = flags.String("google-username")
  	d.SSHPort = 22
  	d.SetSwarmConfigFromFlags(flags)
  
  	return nil
  }
docs: // SetConfigFromFlags initializes the driver based on the command line flags.