Capacitor Google Maps API

Hi guys, I added a polygon to capacitor google map:

let p: Polygon = {
        //map: this.gMap,
        paths: this.circleToSquare(bounds.center, 10000),
        editable: true,
        draggable: true,
        fillColor: '#00ff00',
        fillOpacity: 0.25,
        strokeColor: '#009900',
        strokeWeight: 2,
        geodesic: true
      }

      this.gMap.addPolygons([p]);

I can edit and move the polygon on the map. How can I get paths of the edited/moved polygon?