code: public static base_response add(nitro_service client, gslbsite resource) throws Exception {
  		gslbsite addresource = new gslbsite();
  		addresource.sitename = resource.sitename;
  		addresource.sitetype = resource.sitetype;
  		addresource.siteipaddress = resource.siteipaddress;
  		addresource.publicip = resource.publicip;
  		addresource.metricexchange = resource.metricexchange;
  		addresource.nwmetricexchange = resource.nwmetricexchange;
  		addresource.sessionexchange = resource.sessionexchange;
  		addresource.triggermonitor = resource.triggermonitor;
  		addresource.parentsite = resource.parentsite;
  		return addresource.add_resource(client);
  	}
docs: Use this API to add gslbsite.