code: public static base_response update(nitro_service client, snmpoption resource) throws Exception {
  		snmpoption updateresource = new snmpoption();
  		updateresource.snmpset = resource.snmpset;
  		updateresource.snmptraplogging = resource.snmptraplogging;
  		return updateresource.update_resource(client);
  	}
docs: Use this API to update snmpoption.